Commit Graph

15918 Commits

Author SHA1 Message Date
Evgeny Gerashchenko c7318b3880 Added slashes in generated tests when they are invoked on directory.
This makes it easier to find directory for test using IDEA's go to file/search everywhere features.
2014-06-06 14:33:21 +04:00
Pavel V. Talanov a10085efe9 Update to IDEA EAP 135.1019 2014-06-05 22:51:04 +04:00
Evgeny Gerashchenko 2568bf6091 Don't report Kotlin JPS versions for modules without Kotlin. 2014-06-05 20:59:07 +04:00
Evgeny Gerashchenko 3a2a3e7cd5 Saving module XMLs in temp directory instead of output. 2014-06-05 20:59:06 +04:00
Pavel V. Talanov 7d9742417f JDR: Remove LazyJavaClassResolver#resolveClassByFqName() 2014-06-05 18:17:07 +04:00
Pavel V. Talanov 53df12598d JDR: Eliminate another usage of LazyJavaClassResolver#resolveClassByFqName()
Refactor Java scopes:
Use abstract functions instead of "is" checks in LazyJavaMemberScope
Move some code to derived classes
2014-06-05 18:17:07 +04:00
Pavel V. Talanov b69ab12db7 JDR: Use module to resolve special classes 2014-06-05 18:17:06 +04:00
Pavel V. Talanov ccae693ed2 JDR: Remove some usages of JavaClassResolver#resolveClassByFqName in LazyJavaAnnotationDescriptor 2014-06-05 18:17:05 +04:00
Nikolay Krasko 2d72b5afc7 Render short type names in quick documentation and navigation 2014-06-05 17:47:58 +04:00
Natalia Ukhorskaya 57fc2c8301 Android tests: exclude reflection tests 2014-06-05 10:10:30 +04:00
Svetlana Isakova bc2d2fc2d4 KT-5099 "Remove explicit type arguments" should highlight only type arguments
#KT-5099 Fixed
2014-06-04 22:10:30 +04:00
Svetlana Isakova 1665ef7a00 KT-5028 "remove explicit type arguments" intention shouldn't be applicable
#KT-5028 Fixed
2014-06-04 22:10:29 +04:00
Svetlana Isakova ae9d2d015e Record 'a!!', 'a ?: b' special calls by operation reference 2014-06-04 22:10:29 +04:00
Svetlana Isakova cf81a44e02 Added 'getCorrespondingCall' utility function 2014-06-04 22:10:29 +04:00
Svetlana Isakova 8a91ec7964 Record CALL for all invocations, not only for resolved ones 2014-06-04 22:10:29 +04:00
Nikolay Krasko 432eabdbcb Don't process val and var keywords in lambda parameters forever (KT-5170)
#KT-5170 Fixed
2014-06-04 18:53:59 +04:00
Evgeny Gerashchenko 8f6c2b96f3 Extracted method to util class and replaced parameter to Project. 2014-06-04 15:34:19 +04:00
Evgeny Gerashchenko aad719d809 Minor. Rearranged code. 2014-06-04 15:34:18 +04:00
Evgeny Gerashchenko aaebce2683 Got rid of ModuleChunk (it makes no sense now). 2014-06-04 15:34:18 +04:00
Evgeny Gerashchenko 601a691e18 Corrected and simplified compilation of module chunk. 2014-06-04 15:34:17 +04:00
Evgeny Gerashchenko ad8affe07c Renamed and refactored test. 2014-06-04 11:36:42 +04:00
max-kammerer 010776fe08 Merge pull request #480 from nskvortsov/master
fix DSL in Android plugin
2014-06-04 10:16:22 +04:00
Alexey Sedunov 4463c67e28 Extract Function: Fix replacement of type references and constructor references 2014-06-03 18:17:14 +04:00
Alexey Sedunov 3d6fc6e015 Extract Function: Fix replacement of references with class receivers (objects, class objects, enum classes) 2014-06-03 18:17:13 +04:00
Alexey Sedunov 240f033f4f Extract Function: Fix NPE caused by unmatched offset-to-reference maps
#KT-5001 Fixed
2014-06-03 18:17:12 +04:00
Alexey Sedunov f4c21d3a28 Extract Function: Treat multi declarations as local variables
#KT-5054 Fixed
2014-06-03 18:17:10 +04:00
Alexey Sedunov 3a75aa27f0 Extract Function: Fix extraction of reference to class object property
#KT-5053 Fixed
2014-06-03 18:17:10 +04:00
Alexey Sedunov 1a7e6eab61 Extract Function: Utilize pseudo-value usage for return type inference 2014-06-03 18:17:09 +04:00
Alexey Sedunov 164338d6f5 Remove unused field 2014-06-03 18:17:08 +04:00
Alexey Sedunov 4a5d2e6728 Add tests for element -> pseudo-value mapping 2014-06-03 18:17:07 +04:00
Alexey Sedunov d2c055e9da Pseudocode: Introduce pseudo-value analysis 2014-06-03 18:17:05 +04:00
Valentin Kipyatkov 3ce96671d9 Java to Kotlin conversion: minor 2014-06-03 17:29:01 +04:00
Valentin Kipyatkov b47c5975b2 Java to Kotlin conversion: fixed test data 2014-06-03 17:29:01 +04:00
Valentin Kipyatkov 6604af0bdf Java to Kotlin conversion: dropped "NOT_OPEN" pseudo-modifier 2014-06-03 17:29:01 +04:00
Valentin Kipyatkov 66a83a4322 Java to Kotlin conversion: artificial constructors (when no primary detected) use var/val parameters 2014-06-03 17:29:01 +04:00
Valentin Kipyatkov 1be836a956 Java to Kotlin conversion: artificial constructor (when no primary detected) is generated private 2014-06-03 17:29:00 +04:00
Valentin Kipyatkov ebcb04b73b Java to Kotlin conversion: keep constructor access modifier 2014-06-03 17:29:00 +04:00
Valentin Kipyatkov ffa3ff3bbd Generating test output when file is missing: removing trailing whitespaces 2014-06-03 17:29:00 +04:00
Valentin Kipyatkov 86d718de29 Java to Kotlin convertor: no empty class body 2014-06-03 17:29:00 +04:00
Valentin Kipyatkov abfd2d68b9 Java to Kotlin convertor: generating of val/var constructor parameters when possible 2014-06-03 17:29:00 +04:00
Valentin Kipyatkov 846f2d9954 Java to Kotlin convertor: more code improvements 2014-06-03 17:29:00 +04:00
Valentin Kipyatkov aa8b968756 Java to Kotlin convertor: improving code related to primary constructors 2014-06-03 17:29:00 +04:00
Valentin Kipyatkov 1e39021bd3 Java to Kotlin convertor: making code more "Kolin-like" + numerous micro refactorings 2014-06-03 17:29:00 +04:00
Nikita Skvortsov 6df803ce2f fix DSL in Android plugin 2014-06-03 16:09:30 +04:00
Andrey Breslav 37532e8d02 Compare return types when structurally comparing callables 2014-06-02 22:05:34 +04:00
Andrey Breslav 7f60ccf663 Support equalityAxioms in isSubtypeOf() 2014-06-02 22:05:33 +04:00
Andrey Breslav 9cfbfd2806 Overridability and overloadability checks separated 2014-06-02 22:05:33 +04:00
Andrey Breslav 3f151a022e Checking return value supported in OverridingUtil 2014-06-02 22:05:32 +04:00
Andrey Breslav e50a17e668 Do not compare local classes by FqNames 2014-06-02 22:05:32 +04:00
Andrey Breslav 93031c1245 OverridingUtil parameterized with equalityAxioms 2014-06-02 22:05:30 +04:00