Alexander Udalov
596a74d288
Code cleanup in reflection.jvm, generator scripts
2015-11-09 22:24:41 +03:00
Alexander Udalov
75bb15a9fc
Do not wrap callable references when a special option is enabled
2015-11-09 22:24:41 +03:00
Alexander Udalov
1576160390
Improve implementation of callable reference superclasses
...
Previously to use reflection on them, you had to wrap an already created object
with a "Reflection.function" or "Reflection.propertyN" call, which the JVM
back-end was doing. This was not optimal in several senses and current solution
fixes that
2015-11-09 22:24:40 +03:00
Alexander Udalov
7d32524754
Do not fail with type cast when not needed in reflection.jvm
2015-11-09 22:24:40 +03:00
Alexander Udalov
1c889c4e67
Support equals, hashCode, toString for ::-references without reflection
2015-11-09 22:24:39 +03:00
Alexander Udalov
baa28de865
Add factory methods to create class references with internal names
...
Will be used in future versions to support references to mapped mutable
collections
2015-11-09 22:24:39 +03:00
Dmitry Jemerov
e64a270d1a
more renames to get rid of "Jet" in class and method names
2015-11-09 19:07:11 +01:00
Michael Nedzelsky
a3241637ce
#fix KT-9881 Incorrect error re: internal visibility
...
#KT-9881 Fixed
2015-11-09 17:41:00 +03:00
Mikhail Glukhikh
b468d5b0c6
No smart casts to Nothing?
2015-11-09 16:36:37 +03:00
Mikhail Glukhikh
2d9fbf5696
Always null detection
2015-11-09 16:36:34 +03:00
Dmitry Jemerov
ed1c94d0f9
remove incorrect and unnecessary TextConsoleBuilder initialization
2015-11-09 14:16:31 +01:00
Michael Bogdanov
7147c84396
Fix for KT-9897: Cannot pop operand off an empty stack" with -= on ArrayList element
...
#KT-9897 Fixed
2015-11-09 16:17:24 +03:00
Valentin Kipyatkov
4943a9fb35
Minor changes on code review
2015-11-09 15:45:38 +03:00
Valentin Kipyatkov
9968345845
Renames
2015-11-09 15:37:48 +03:00
Valentin Kipyatkov
d44b1eeb7e
KT-9884 Completion in Evaluate Expression crashes
...
#KT-9884 Fixed
2015-11-09 15:37:48 +03:00
Valentin Kipyatkov
ac4cf540a4
Removed wrong TODO
2015-11-09 15:37:48 +03:00
Valentin Kipyatkov
80a1d94515
Non-imported top-level functions completion does not require second press
2015-11-09 15:37:48 +03:00
Valentin Kipyatkov
4c5d5ed18f
Do not show "assertFailsWith" in any smart completion
2015-11-09 15:37:47 +03:00
Valentin Kipyatkov
63b5966212
Top-level callables are added one by one
2015-11-09 15:37:47 +03:00
Valentin Kipyatkov
5d56339aba
More efficient getting of top-level callables
2015-11-09 15:37:47 +03:00
Valentin Kipyatkov
ae9482a36c
Add static members into the list one by one
2015-11-09 15:37:47 +03:00
Valentin Kipyatkov
c38039144f
Added checkCanceled
2015-11-09 15:37:47 +03:00
Valentin Kipyatkov
10e8455279
More safe
2015-11-09 15:37:46 +03:00
Valentin Kipyatkov
4da6a3cd50
No members from anonymous objects etc
2015-11-09 15:37:46 +03:00
Valentin Kipyatkov
97ca5f0389
Refactored
2015-11-09 15:37:46 +03:00
Valentin Kipyatkov
0ac60701fc
Reused code
2015-11-09 15:37:46 +03:00
Valentin Kipyatkov
0c93ff5f1d
Moved method
2015-11-09 15:37:46 +03:00
Valentin Kipyatkov
55612757cf
More correct API
2015-11-09 15:37:46 +03:00
Valentin Kipyatkov
3cda866af0
Static members completion works in smart completion + fixed incorrect finding of java method descriptor that caused duplicated items
2015-11-09 15:37:45 +03:00
Valentin Kipyatkov
1283f5f4e1
Refactoring in smart completion
2015-11-09 15:37:45 +03:00
Valentin Kipyatkov
576b79de0a
Removed unused parameter
2015-11-09 15:37:45 +03:00
Valentin Kipyatkov
4a182ac6e2
Fixing class names after rebase
2015-11-09 15:37:45 +03:00
Valentin Kipyatkov
7198b897ab
Ordering of static members in completion
2015-11-09 15:37:45 +03:00
Valentin Kipyatkov
3bd508ca84
Static members completion includes SAM-adapters
2015-11-09 15:37:44 +03:00
Valentin Kipyatkov
ea804ed76e
Makes no sense to return method names from PsiShortNamesCache if methods by name are not returned
2015-11-09 15:37:44 +03:00
Valentin Kipyatkov
06812aed11
Better completion for static members: special behavior in case of imports from same class exist
2015-11-09 15:37:44 +03:00
Valentin Kipyatkov
ca437e51c4
Initial implementation of KT-8209 Support static member completion without writing the class name
2015-11-09 15:37:44 +03:00
Nikolay Krasko
7be9699263
Make it possible to generate getTestsRoot() method with the test directory
...
Method can be used in setUp()
2015-11-07 01:27:35 +03:00
Nikolay Krasko
178aba54dd
Test it's safe to call PsiElement methods on Kotlin light elements
2015-11-07 01:27:34 +03:00
Alexey Tsvetkov
7c752c1463
Minor: generate tests
2015-11-06 20:29:31 +03:00
Alexey Tsvetkov
8f43714c49
Fix minor issues after review
2015-11-06 16:46:40 +03:00
Alexey Tsvetkov
7d104d02dd
Generate tests
2015-11-06 16:44:52 +03:00
Alexey Tsvetkov
ce7d1eb8e2
Add incremental compilation tests with lookup cache enabled
2015-11-06 16:44:52 +03:00
Alexey Tsvetkov
a3aa91551c
Extract LookupStorage from LookupTrackerImpl
2015-11-06 16:44:52 +03:00
Alexey Tsvetkov
8b4d0ea077
Minor: rename file LookupTrackerImpl.kt -> LookupStorage.kt
2015-11-06 16:44:52 +03:00
Alexey Tsvetkov
322815c7de
Fix minor naming/formatting issues after review
2015-11-06 16:44:51 +03:00
Alexey Tsvetkov
67878fe13a
Use new lookup tracker only when experimental incremental compilation is enabled
2015-11-06 16:44:51 +03:00
Alexey Tsvetkov
7ebc58c690
Hash files without collisions
2015-11-06 16:44:51 +03:00
Alexey Tsvetkov
7572fb47d3
Remove entries when files are removed
2015-11-06 16:44:51 +03:00
Alexey Tsvetkov
87d836cd67
Hash file names
2015-11-06 16:44:51 +03:00