Denis Zharkov
c9f79c2d05
Adjust testData: get rid of obsolete annotations
2015-06-12 09:23:31 +03:00
Dmitry Jemerov
1188e57597
rename @overloads annotation to @jvmOverloads
2015-05-27 12:23:08 +02:00
Evgeny Gerashchenko
0498bd7739
KT-7587 Overloads are not generated during partial compilation of package
...
#KT-7587 fixed
2015-05-14 21:51:08 +03:00
Dmitry Jemerov
4bdf598bfe
compiler testdata: s/trait/interface
2015-05-12 19:43:17 +02:00
Alexander Udalov
24bad39e76
Don't use external annotations in compiler
...
External annotations will be re-enabled in the IDE later.
This fixes LazyJavaAnnotations which was breaking the contract of Annotations:
findAnnotation(FqName) was looking for external annotations, while iterator()
did not. This resulted in some inconsistencies in the compiler and IDE tests.
The other way, i.e. making iterator() look up external annotations, would have
been too costly for the compiler and with no clear benefit at the moment.
2015-04-29 01:03:57 +03:00
Dmitry Jemerov
9434e4bee9
mark wrapper methods that pass default values of parameters as synthetic
...
#KT-7314 Fixed
2015-04-13 15:26:20 +02:00
Dmitry Jemerov
39828bfd32
Implement kotlin.jvm.overloads annotation for generating all overloads of a method that has default parameter values.
...
#KT-2095 Fixed
fix backend-side issues with kotlin.jvm.overloads: support the annotation on constructors, generate nullablity annotations on parameters, generate generic signatures, add various tests
2015-04-02 20:30:26 +02:00
Pavel V. Talanov
06916d98c6
default -> companion: replace all mentions of default and default object
2015-03-17 15:47:39 +03:00
Alexander Udalov
8af6ca5279
Delete kotlin.jvm.internal.KObject
...
It was supposed to be used in reflection but the benefits do not outweigh the
cost of KT-6951
#KT-3223 Fixed
#KT-6951 Fixed
2015-03-12 23:15:38 +03:00
Pavel V. Talanov
59f192ef90
Replace 'class object' with 'default object' in renderers and test data
...
Includes changes to decompiled text
Old syntax is used in builtins and project code for now
2015-03-06 19:36:54 +03:00
Pavel V. Talanov
ed5e2a21d1
Restore some of the tests for deprecated OBJECT$ field
2015-02-16 15:38:45 +03:00
Pavel V. Talanov
a1f4c06a49
Update test data that mentioned old JvmAbi constants
2015-02-16 15:38:34 +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
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
3a8ad45dec
Append newline to EOF for .txt test data files
...
Reverts and fixes 102f0d3
2014-10-21 03:18:27 +04:00
Alexander Udalov
102f0d3470
Regenerate .txt testData
...
Add newline to EOF, trim trailing spaces
2014-10-21 00:16:08 +04:00
Nikolay Krasko
f5ee68064f
Don't generate ValueParameter annotations in light class mode
2014-09-22 14:02:02 +04:00
Alexander Udalov
226bfe65f0
Don't make traits and annotations inherit from KObject
...
#KT-5609 Fixed
2014-08-13 17:19:56 +04:00
Alexander Udalov
de0f751207
Replace object$ -> OBJECT$, instance$ -> INSTANCE$ in the project
2014-07-26 00:21:05 +04:00
Alexander Udalov
a07909bb52
Don't generate unnecessary accessors for private class properties
2014-07-17 19:18:05 +04:00
Denis Zharkov
3fa5fc7b11
Tests updated after integration with optimization subsystem
2014-07-15 21:23:50 +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
Evgeny Gerashchenko
d62bc07437
Partial compilation of package (only functions supported).
2014-03-25 14:31:38 +04:00
Alexander Udalov
6b0fce8cd5
Unsorted replacements "jet" -> "kotlin"
...
#KT-2896 Fixed
2014-03-02 19:55:15 +04:00
Alexander Udalov
0da92e22a2
Move jet.JetObject -> kotlin.jvm.internal.KObject
...
Don't use JetObject as a marker class in KotlinRuntimeLibraryUtil anymore,
since there are other classes for this purpose (KotlinPackage, Unit)
2014-03-02 19:54:58 +04:00
Natalia Ukhorskaya
9f3b73986a
Update to IDEA 13.1 (134.1007)
2014-02-17 10:45:48 +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
4936b66626
Do not hide annotations on light classes
2014-01-20 22:35:01 +04:00
Andrey Breslav
0c1c0e0099
Always generate local variable table to preserve parameter names
2013-11-15 19:41:25 +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
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
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
3851de11f7
Test data fixed for generic bounds
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
05cf9041af
Tests to make sure that light classes compute the data properly
2013-01-15 15:32:06 +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