Nikolay Krasko
7b60c016f9
EA-36390 Guard rewriting constructor in slice
2012-09-27 18:52:55 +04:00
Evgeny Gerashchenko
0d7544c6a9
Using JetValueParameterAnnotation factory method instead of constructor.
...
Made constructor private.
2012-09-27 18:27:30 +04:00
Evgeny Gerashchenko
0012dd49da
Minor.
2012-09-27 18:27:30 +04:00
Evgeny Gerashchenko
7aaffd4037
Private constructors.
2012-09-27 18:27:30 +04:00
Evgeny Gerashchenko
6be9fb1017
EA-39553 - NPE: AlternativeSignatureData.<init>
2012-09-27 18:27:30 +04:00
Evgeny Gerashchenko
0d116be2cc
Separated 'initialized' and 'flags' fields to avoid confusing.
2012-09-27 18:27:30 +04:00
Evgeny Gerashchenko
44c1eb0594
Added @NotNull annotations.
2012-09-27 18:27:30 +04:00
Evgeny Gerashchenko
292af9eea1
Allowed changing variance from 'invariant' to 'in' and 'out' in alternative signatures.
2012-09-27 18:27:29 +04:00
Evgeny Gerashchenko
8c7d1b5dd0
Added test checking that all IDEA's @NotNull external annotations for JDK are reflected in Kotlin's annotations.
...
#KT-2778 fixed
2012-09-27 18:27:29 +04:00
Evgeny Gerashchenko
128e5580c4
Minor. @Nullable/@NotNull annotations.
2012-09-27 18:27:29 +04:00
Evgeny Gerashchenko
4b3364508b
Added test checking that external annotations for JDK don't contain errors.
...
#KT-2778 in progress
2012-09-27 18:27:29 +04:00
Evgeny Gerashchenko
4033c9f835
Saving alternative signature parsing errors to binding trace.
2012-09-27 18:27:29 +04:00
Alexander Udalov
38a42bdb79
Do not wrap built-in function in JetLightClass (EA-38770)
...
Built-in top-level functions are located in jet.namespace class.
JetStandardClasses.isStandardClass() now checks that a given fqName starts with
"jet.", instead of searching it in the standard scope, to prevent this kind of
errors in the future
2012-09-27 16:30:59 +04:00
Alexander Udalov
acf8702ccf
KT-2822 Can't make a super call from an object literal
...
#KT-2822 Fixed
2012-09-27 16:30:58 +04:00
Alex Tkachman
57c27bdd37
jdk annotations for some java.sql methods, related cleanup in stdlib & tests
2012-09-27 12:01:54 +02:00
Alex Tkachman
e2d514907a
annotations for j.u.c.locks + related fixes of tests
2012-09-26 18:52:46 +02:00
Alex Tkachman
7ed2126ebb
tests should not ignore jdk-annotation dir
2012-09-26 18:48:53 +02:00
Svetlana Isakova
0c89c57a10
optimize imports in injectors rollback
2012-09-26 15:23:59 +04:00
Svetlana Isakova
67ec48eaa6
KT-2829 Local variables used only in multi-declaration are marked as unused
...
#KT-2829 fixed
2012-09-26 15:17:26 +04:00
Andrey Breslav
92ac865c72
KT-2819 Duplicate toString() method generated in data class
...
#KT-2819 Fixed
2012-09-26 12:32:16 +04:00
Kirill Berezin
cfa8b36d24
KT-2477 generate fake overrides for members with wider access level first #KT-2477 Fixed
2012-09-25 19:18:35 +04:00
Kirill Berezin
194ef38ba3
KT-2477 fake overrides now get INHERITED visibility in order to maximize visibility according to inherited traits\classes
2012-09-25 19:17:55 +04:00
Svetlana Isakova
85f3dbf4fc
added annotations for Collections and Arrays
2012-09-24 14:18:04 +04:00
Natalia.Ukhorskaya
32d707ca9b
Inner Java Enums
...
KT-2691 Fixed
KT-2686 Fixed
2012-09-24 12:33:58 +04:00
Alex Tkachman
ee784eb2fe
some debug print commented
2012-09-23 18:04:14 +02:00
Alex Tkachman
1d5636ea6a
unused fields removed
2012-09-23 17:36:38 +02:00
Alex Tkachman
e2c4b39615
private constructor added
2012-09-23 17:35:52 +02:00
Alex Tkachman
852b7e19cc
constant for annotation-less case introduced
2012-09-23 14:53:30 +02:00
Alex Tkachman
6e95c85041
private constructor added
2012-09-23 14:44:56 +02:00
Alex Tkachman
4768db3b56
cleanup
...
- clean to green
- injectors regenerated
2012-09-23 14:36:29 +02:00
Alex Tkachman
b9c7f607ef
cleanup
...
- aggressive green-ification
- injectors regenerated
2012-09-23 14:13:43 +02:00
Alex Tkachman
a255da1904
cleanup
2012-09-23 13:23:02 +02:00
Alex Tkachman
4600990d52
JetValueParameter.nullable is deprecated as it duplicates info in type field
2012-09-23 13:19:51 +02:00
Alex Tkachman
b70cc84764
introduce constants for cases when annotations not present
2012-09-23 13:04:48 +02:00
Alex Tkachman
edc0bf0b15
returnTypeNullable in flags duplicates info in returnType annotation field
2012-09-23 12:22:57 +02:00
Alex Tkachman
1ec32810f4
- small optimizations of JavaDescriptorResolver
...
- kind of method encoded in flags
- nullable return type encoded in flags
2012-09-23 12:08:55 +02:00
Alex Tkachman
56232266fd
removed duplicating implementation of isCollective
2012-09-22 18:31:09 +03:00
Alex Tkachman
95489c4444
common superclass introduced for (Namespace/ClassBody/Script)Codegen
2012-09-21 16:41:50 +03:00
Alex Tkachman
bc1a4a1fe9
massive refactoring of CodegenUtil
...
- generation method names standartized on genXXX
- many methods moved to newly created AsmUtil
- some methods moved to CodegenContext
- got rid of almost trivial StubCodegen
2012-09-20 20:19:26 +03:00
Alex Tkachman
a2ebc27a6a
noClassObjectForJavaClass excluded from android build
2012-09-20 19:11:32 +03:00
Alex Tkachman
be09227569
generation of inner classes inside object literal. #KT-2607 fixed
...
on the way ClassCodegen and MemberCodegen refactored out and injectors regenerated
2012-09-20 17:57:07 +03:00
Alex Tkachman
00d7a0a8ae
test case for KT-2655 which duplicates KT-2786
2012-09-20 17:54:40 +03:00
Alex Tkachman
242ee38606
generic signatures for properties #KT2677 fixed
2012-09-20 17:54:40 +03:00
Alex Tkachman
eaf9a79420
correct handling of delegate properties #KT-2786 fixed
2012-09-20 17:54:40 +03:00
Andrey Breslav
936f53fcbf
Don't complain about compareTo returning ERROR type instead of Int
2012-09-20 18:12:57 +04:00
Andrey Breslav
2abe2e581d
AbstractStringBuilder, StringBuilder and java.io.File annotated with nullable/notnull
2012-09-20 18:12:57 +04:00
Alexander Udalov
dadc97d29f
Fix maven build
...
Do not create class objects for classes which come from Java.
2012-09-20 18:10:19 +04:00
Nikolay Krasko
c7af6de16b
KT-1187 Wrong unnecessary completion
...
#KT-1187 Fixed
2012-09-20 16:50:12 +04:00
Alexander Udalov
bce5cb9034
Support inner enums from binaries
...
#KT-2771 Fixed
2012-09-20 15:02:58 +04:00
Alexander Udalov
83fb970066
Write correct inner enum info in codegen
...
#KT-2771 In Progress
writeInnerClasses() now writes correct InnerClasses attribute with respect to
inner enums (see comments in the code).
2012-09-20 15:02:57 +04:00