Commit Graph

8068 Commits

Author SHA1 Message Date
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 356565c098 Fixed some annotations to fix test. 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
Evgeny Gerashchenko 52450f0f98 Removed invalid external annotation for non-existing java.util.Iterable class. Annotation for java.lang.Iterable seems to be unnecessary, too, because it is mapped to jet.Iterable. 2012-09-27 18:27:29 +04:00
Evgeny Gerashchenko 318863a79f KT-2666 Remove workaround for CME in IDEA code after updating to IDEA 122.260+
#KT-2666 fixed
2012-09-27 18:27:29 +04:00
Alexander Udalov f71cf83b8e Fix null-check for generated light class in definitions search (EA-39485) 2012-09-27 17:49:18 +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
Andrey Breslav 66359894ee Additional tests for new behavior of getOrElse() and getOrPut() 2012-09-27 14:47:01 +04:00
Andrey Breslav 2a76f6df14 Compilation fixed 2012-09-27 14:35:23 +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
Andrey Breslav c8e711f84b getOrElse() and getOrPut() fixed to respect how maps work with nulls 2012-09-27 13:52:05 +04:00
Alex Tkachman 1b37f13a34 annotations for java.util.ServiceLoader
remove some unnecessary !! from stdlib
2012-09-27 06:43:13 +02:00
Alex Tkachman 804e3769ff remove some unnecessary !! from stdlib 2012-09-26 19:19:44 +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 ca2e21afc5 Pair made covariant 2012-09-26 20:39:29 +04:00
Alex Tkachman c284a7bb70 annotations for java.lang.Runtime 2012-09-26 15:35:40 +02:00
Alex Tkachman 732eb9d145 annotations for
- java.util.concurrent.Executor
- java.util.concurrent.Executors
- java.util.concurrent.ExecutorService
2012-09-26 14:53:17 +02:00
Alex Tkachman fafa4ab8dc more annotations for java.lang.Class 2012-09-26 14:44:22 +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
James Strachan b5145f1a87 allow mapValues() to be used on a Map not just a MutableMap 2012-09-26 09:04:08 +01:00
Alex Tkachman f519913d8a annotations for java.lang.Class 2012-09-26 08:16:40 +02:00
Leonid Shalupov 5d07127ca3 fix CR/LF 2012-09-25 20:48:48 +04:00
Leonid Shalupov 88505dc73f publish maven artifacts script 2012-09-25 20:47:51 +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
Andrey Breslav 2d911f216a Annotations for java.lang.reflect.* 2012-09-24 17:50:00 +04:00
Andrey Breslav 171ecefff4 Annotations for java.lang.annotation.* 2012-09-24 17:50:00 +04:00
Svetlana Isakova a27abfe355 tests fixed 2012-09-24 15:24:21 +04:00
Svetlana Isakova ab55369605 kotlin annotation for 'emptyList'
(returns immutable list)
2012-09-24 14:45:46 +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
Natalia.Ukhorskaya bd22a94907 Add annotations fo java.util.zip 2012-09-24 11:31:32 +04:00
Natalia.Ukhorskaya 8a579a0dff Add explicit message for EA-37463 for clarify exception 2012-09-24 11:31:31 +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