Alexander Udalov
7f90dc3934
Regenerate tests
2015-01-03 00:20:28 +03:00
Pavel V. Talanov
56e3983dc9
Move and rename JavaElementFinderMultiFileTest
...
It is now relevant for IDE only
2014-12-21 14:23:30 +03:00
Zalim Bashorov
99745dfa90
Drop platform parameter in diagnostic tests(partial revert of 2a334fc).
2014-12-01 15:27:38 +03:00
Zalim Bashorov
e6b69e48d9
Minor: fix JetCoreEnvironment#(createForProduction, createForTests) call sites for JVM.
2014-12-01 15:27:33 +03:00
Andrey Breslav
2a334fc8f5
Support JS-targeted diagnostic tests
2014-11-25 18:45:43 +03:00
Alexey Sedunov
a6479bfc90
Light Classes: Do not add "final" modifier to enum light classes
2014-11-18 13:24:56 +03:00
Andrey Breslav
8dcd81e0b3
KT-6178 False "Overriden methods are not annotated" when using delegation
...
#KT-6178 Fixed
2014-11-10 17:24:07 +02:00
Andrey Breslav
f16dcdd8a9
Do not annotate Kotlin members returning platform types as @Nullable
...
This leads to pointless warning in Java code
2014-11-10 17:24:06 +02:00
Nikolay Krasko
ea69f5a9a6
Fix for KT-6106: Using platformStatic crashes intellisense (but not Compiler)
...
#KT-6106 Fixed
2014-10-24 10:04:43 +04:00
Alexander Udalov
f8be39b26b
Regenerate tests
...
After recent changes to Printer and TestGenerator
2014-10-21 00:16:08 +04:00
Nikolay Krasko
041d009b9a
Regenerate tests
2014-09-09 14:28:24 +04:00
Andrey Breslav
32c8d3a96d
Tests regenerated
2014-09-08 19:57:41 +04:00
Alexander Udalov
087eec4521
Regenerate tests after recent generator improvements
2014-08-25 19:00:09 +04:00
Andrey Breslav
38d4ca5469
Do not generate @NotNull annotations on void- or primitive-returning methods
...
#KT-4834 Fixed
#KT-5255 Fixed
2014-06-24 15:54:11 +04:00
Andrey Breslav
8e4954ab67
Generate @NotNull annotations on delegated functions
2014-06-19 22:11:52 +04:00
Andrey Breslav
afca70eb41
Test for nullability annotations generalized and generated
2014-06-19 22:10:57 +04:00
Andrey Breslav
6617a884e4
Minor. Test class renamed
2014-06-19 22:10:57 +04:00
Andrey Breslav
9229062926
Do not annotate bare type parameters as @Nullable
...
This is to account for the case of, say
class Function<R> { fun invoke(): R }
it would be a shame to put @Nullable on the return type of the function, and force all callers to check for null,
so we put no annotations
2014-02-07 16:41:12 -08:00
Andrey Breslav
04b47439bd
Use findAnnotation() instead of iterating through all annotations
2014-01-22 19:04:43 +04:00
Andrey Breslav
4936b66626
Do not hide annotations on light classes
2014-01-20 22:35:01 +04:00
Andrey Breslav
2b6f688a52
Annotate fields from traits' class object properties
2013-11-11 17:20:16 +04:00
Andrey Breslav
1f574a9feb
Do not annotate private members and their parameters (to save space)
2013-11-11 17:20:15 +04:00
Andrey Breslav
0959f7e37c
Don't mark primitive types as @NotNull
2013-11-11 17:20:15 +04:00
Andrey Breslav
f3901d2844
visitAnnotation() could return null for light classes
2013-11-11 17:20:15 +04:00
Andrey Breslav
2873f74932
Generate @Nullable/@NotNull annotations on Kotlin declarations (for IDEA interop)
2013-11-11 17:20:15 +04:00
Andrey Breslav
1d540181b0
Produciton code uses a shared application between many projects.
...
Tests always dispose the application together with JetCoreEnvironment
2013-10-15 15:28:28 +04:00
Pavel V. Talanov
61d5d43e15
Do not generate KotlinClass/Package annotation when not in ClassBuilderMode.FULL
...
#KT-3967 Fixed
2013-09-05 21:32:48 +04:00
Andrey Breslav
53b2bbad68
Discover class objects for light class generation in the compiler
...
#KT-3337 In Progress
LightClasses: class object's property getter unresolved in Java, but compiles OK
2013-02-18 16:05:41 +04:00
Alexander Udalov
cfce055b37
Introduce fake light class for file of package
...
Fixes problems related to not working breakpoints (see comment at the top of
the class)
#KT-3291 Fixed
2013-01-31 20:43:47 +04:00
Evgeny Gerashchenko
52b7ee6447
Happy new year 2013!
2013-01-28 18:58:08 +04:00
Andrey Breslav
3e02764603
Supporting FqNames with spaces/comments inside them for deprecated
2013-01-23 18:58:38 +04:00
Andrey Breslav
a7531926a4
Properly compute STATIC for light classes
2013-01-23 18:54:04 +04:00
Andrey Breslav
3e13ca3fd1
Warning suppressed
2013-01-23 13:10:35 +04:00
Andrey Breslav
dd15b0e222
Package class name computation changed
2013-01-23 13:10:35 +04:00
Andrey Breslav
fe170f383a
Tests fixed for [deprecated]
2013-01-23 13:10:34 +04:00
Andrey Breslav
9b0092190a
Test: Report all errors, not just the first one
2013-01-23 13:10:34 +04:00
Andrey Breslav
20b6eae88c
Annotations are also interfaces
2013-01-23 13:10:34 +04:00
Andrey Breslav
dad59b20ba
Interfaces are always abstract
2013-01-23 13:10:34 +04:00
Andrey Breslav
4549ad0a5e
Kotlin does not support static nested classes so far
2013-01-23 13:10:34 +04:00
Andrey Breslav
3bbc1e342a
Checking that light classes agree with their delegates
2013-01-23 13:10:34 +04:00
Andrey Breslav
7668141f85
Base class for tests introduced
2013-01-23 13:10:34 +04:00
Andrey Breslav
1441f6d591
Enable temporarily disabled tests
2013-01-23 13:07:02 +04:00
Nikolay Krasko
731f2d51f6
Free memory in tearDown()
2013-01-22 15:53:31 +04:00
Natalia.Ukhorskaya
47abdcf565
Rename namespace class to {package.name}Package
...
Conflicts:
compiler/jet.as.java.psi/src/org/jetbrains/jet/asJava/JavaElementFinder.java
2013-01-15 19:45:06 +04:00
Andrey Breslav
9e45eb7326
Temporarily disable failing tests
2013-01-15 16:39:31 +04:00
Andrey Breslav
05cf9041af
Tests to make sure that light classes compute the data properly
2013-01-15 15:32:06 +04:00
Andrey Breslav
effaebdd26
Resolution helpers in tests fixed
2013-01-14 20:20:29 +04:00
Andrey Breslav
2c3a955074
Retrieve JavaElementFinder from Project's extensions
2013-01-14 20:20:10 +04:00
Evgeny Gerashchenko
e03eaf6dde
Removed @author javadocs from code.
2012-12-28 17:44:31 +04:00
Nikolay Krasko
22794cbf64
Fix for EA-38626 - can't find class delegate for JetLightClass constructed for kotlin enum entry.
2012-08-28 19:32:46 +04:00