Commit Graph

50 Commits

Author SHA1 Message Date
Evgeny Gerashchenko 6874f41af8 Removed redundant annotation to avoid indeterministic test failing.
It was failing because of duplication of the same annotation in IDEA JDK annotations and Kotlin JDK annotations.
2013-03-26 16:30:28 +04:00
Evgeny Gerashchenko 4e67dc15c9 Added annotation to fix test. 2013-03-26 16:30:25 +04:00
Nikolay Krasko fa0531aeb6 Resort annotation files 2013-02-07 17:20:57 +04:00
Evgeny Gerashchenko 7b71c66fd6 Fixed errors in alternative signatures. 2013-02-04 16:16:08 +04:00
develar c1772685e9 fix duplication 2013-01-21 21:17:02 +04:00
Evgeny Gerashchenko b1fd1d8301 KT-3200 wrong Kotlin signature java.util.concurrent.ThreadFactory java.lang.Thread newThread(java.lang.Runnable)
Added checking for compatibility of IDEA's and Kotlin's JDK annotations.

 #KT-3200 fixed
2013-01-15 19:41:41 +04:00
Evgeny Gerashchenko feb484cccb Fixed JdkAnnotationsSanityTest. 2012-12-10 19:13:18 +04:00
Alexey Sedunov 5ad7be38bc Inferred JDK annotations 2012-12-10 15:33:26 +04:00
Evgeny Gerashchenko 83d5b1e6a0 Supported propagation for subclass of j.u.Collection and similar classes. 2012-12-07 14:06:59 +04:00
Evgeny Gerashchenko 01b3d75374 Removing redundant projections when loading from Java. 2012-12-07 14:02:54 +04:00
Evgeny Gerashchenko 00873b6e8c Reverted loading arrays from java with 'out' projection kind as return value.
#KT-3065
2012-11-29 17:02:43 +04:00
Evgeny Gerashchenko f53f3e17c9 Fixed problems in jdk-annotations. 2012-11-28 15:08:57 +04:00
Evgeny Gerashchenko 41f5c64607 Fixed external annotations for listIterator() of AbstractSequentialList and LinkedList.
Now they return MutableListIterator instead of read-only one.
2012-11-20 17:20:01 +04:00
Evgeny Gerashchenko 21e97b408c Loading java arrays as Array<out T> at method return type position, as well. 2012-11-20 16:16:47 +04:00
Nikolay Krasko df28484726 Add annotation for ArrayList.iterator() overriden in Java 1.7
#KT-2988 Fixed
2012-10-31 19:39:38 +04:00
Evgeny Gerashchenko 1ad2fdac0b Added annotations from new IDEA. 2012-10-29 21:51:02 +04:00
Andrey Breslav 57e6d2a2a5 More annotations for java.util.Arrays 2012-10-19 16:17:51 +04:00
Andrey Breslav ef99474379 Fixing variance in annotations 2012-10-10 16:29:47 +04:00
Andrey Breslav 7068bee3a6 Fix JDK annotations after updating to IntelliJ IDEA EAP 122.519 2012-10-10 15:57:58 +04:00
Evgeny Gerashchenko 543fe8d999 Fixed annotation for Arrays.sort() method and fixed build. 2012-10-08 22:49:17 +04:00
Andrey Breslav 023f714cbf @NotNull for Pattern.compile 2012-09-29 02:26:44 +04:00
Andrey Breslav 2246755488 Fix tests (inconsistency in annotations) 2012-09-28 19:20:15 +04:00
Andrey Breslav 02d9683805 Erroneous annotations fixed/removed 2012-09-28 15:52:48 +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
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 732eb9d145 annotations for
- java.util.concurrent.Executor
- java.util.concurrent.Executors
- java.util.concurrent.ExecutorService
2012-09-26 14:53:17 +02: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 bd22a94907 Add annotations fo java.util.zip 2012-09-24 11:31:32 +04:00
Andrey Breslav e091d9cfe2 Annotations for java.util.Locale 2012-09-21 12:55:34 +04:00
Andrey Breslav d8c53dc7d7 Annotations for java.util.GregorianCalendar 2012-09-21 12:49:43 +04:00
Andrey Breslav 35beac7acf Annotations for java.util.Calendar 2012-09-21 12:41:41 +04:00
Andrey Breslav 30496db184 Annotations for java.util.regex.* 2012-09-21 00:18:26 +04:00
Andrey Breslav d6d96d1fd0 Annotations for java.util.Currency 2012-09-20 21:02:37 +04:00
Andrey Breslav 348b641fe6 Annotations for java.util.BitSet 2012-09-20 20:55:42 +04:00
Andrey Breslav 536f48575a Annotations for java.util.Scanner 2012-09-20 20:47:59 +04:00
Andrey Breslav 5276e8e9ed Annotations for java.util.Random 2012-09-20 20:33:40 +04:00
Andrey Breslav 671679641d Annotations for java.util.Timer 2012-09-20 20:31:45 +04:00
Evgeny Gerashchenko 7b1979ddca KT-2609 Copy @NotNull data from IDEA's JDK annotations
#KT-2609 fixed
2012-09-13 19:41:44 +04:00
Svetlana Isakova bbc5869ed4 changes in Collection interfaces
MutableList returns MutableListIterator
MutableMap returns MutableSet as keySet(), values(), entrySet()
2012-09-13 17:28:30 +04:00
Andrey Breslav 16845f62d6 Correct JDK annotations
Iterator -> MutableIterator
2012-08-28 14:22:31 +04:00
Alexander Udalov a85f46816e KT-937 When loading array types from Java project them so that they are covariant
#KT-937 Fixed
2012-08-01 21:27:57 +04:00
Evgeny Gerashchenko 040d2f8945 Changed "jdk headers" to "jdk annotations" in test and test data directories names. 2012-07-07 23:07:20 +04:00
Evgeny Gerashchenko a8aee841c9 Temporarily added external annotations for ArrayList.clone() method and updated test data. Alternative signature annotations should be parsed for overridden methods, too. 2012-07-03 13:36:58 +04:00
Evgeny Gerashchenko 66021424c1 Removed parameter names in external annotations. They had been added erroneously. 2012-07-03 13:35:53 +04:00
Evgeny Gerashchenko 2420b34469 Compacted jdk-annotations (removed redundant FQ names in alternative signatures). 2012-07-03 13:35:53 +04:00
Evgeny Gerashchenko 9d16c142be Removed redundant external annotations (which don't change signature, actually). 2012-07-03 13:35:53 +04:00
Evgeny Gerashchenko 4480753131 Converted jdk-headers to jdk-annotations. 2012-07-03 13:35:53 +04:00