Valentin Kipyatkov
c0bfca4f89
A::class and A::class.java supported in smart completion too
2015-10-03 10:40:51 +03:00
Valentin Kipyatkov
ec5d1d3a52
Support for A::class and A::class.java in basic completion (but not in smart)
2015-10-03 10:40:51 +03:00
Valentin Kipyatkov
ebf649a681
Support for callable references in smart completion
2015-10-03 10:40:50 +03:00
Valentin Kipyatkov
3f64b25df3
Renamed tests
2015-10-03 10:40:50 +03:00
Valentin Kipyatkov
5fddefbf4d
Corrected and restored test
2015-10-03 10:40:50 +03:00
Valentin Kipyatkov
1e21b0201c
Renamed test folder
2015-10-03 10:40:50 +03:00
Valentin Kipyatkov
ce05434a0c
Fixed extension functions being grayed in import statement completion
...
#KT-5627 Fixed
2015-10-03 10:40:50 +03:00
Valentin Kipyatkov
e41732e572
No callable references to synthetic extensions (and ones for get/set)
2015-10-03 10:40:50 +03:00
Valentin Kipyatkov
2471647952
Minor refactoring
2015-10-03 10:40:49 +03:00
Valentin Kipyatkov
eaec9795e5
Workaround for compiler bug
2015-10-03 10:40:49 +03:00
Valentin Kipyatkov
2760b0bdb9
Refactoring to make receiver type safe
2015-10-03 10:40:49 +03:00
Valentin Kipyatkov
c12520da7f
Move
2015-10-03 10:40:49 +03:00
Valentin Kipyatkov
56bb8adfd0
Refactoring to add CallType.IMPORT_DIRECTIVE and CallType.PACKAGE_DIRECTIVE
2015-10-03 10:40:49 +03:00
Valentin Kipyatkov
d38ceb50b6
Initial support for KT-7090 Completion for callable references
...
#KT-7090 Fixed
2015-10-03 10:40:49 +03:00
Valentin Kipyatkov
7ee65bf41a
Minor
2015-10-03 10:38:31 +03:00
Valentin Kipyatkov
72a5a68769
Dropped support for backing fields (with '$') completion
2015-10-03 10:38:31 +03:00
Alexander Udalov
012a2971ff
Quick-fix to add type to LHS of incorrect callable references
2015-10-03 04:37:05 +03:00
Alexander Udalov
661f4efc68
Forbid callable references to members and extensions with empty LHS
...
This syntax is reserved to be likely used in the future as a shorthand for
"this::foo" where the resulting expression doesn't take the receiver as a
parameter but has "this" already bound to it
2015-10-03 04:37:04 +03:00
Alexander Udalov
bdd69d9e46
Use internal names in multifile class metadata
...
To reuse the strings already existing in the constant pool of the class file
2015-10-03 00:59:34 +03:00
Alexander Udalov
8c0a86617a
Write JVM signatures to new protobuf messages
2015-10-03 00:59:33 +03:00
Alexander Udalov
06a7ca5571
Minor, use existing utility for getting implClassName
2015-10-03 00:59:33 +03:00
Alexander Udalov
4f21caecc4
Simplify AnnotationAndConstantLoader, use NameResolver from ProtoContainer
2015-10-03 00:59:32 +03:00
Alexander Udalov
3a7a48a079
Minor, add nameResolver to ProtoContainer
2015-10-03 00:59:32 +03:00
Alexander Udalov
ad735cd788
Split ProtoBuf.Callable to three messages: constructor, function, property
...
Serialize both at the moment, will drop the old one after bootstrap
2015-10-03 00:59:30 +03:00
Alexander Udalov
041af28166
Deprecate and don't write KotlinClass$Kind, to be removed later
2015-10-03 00:59:30 +03:00
Alexander Udalov
056bb3f833
Deprecate and don't write KotlinSyntheticClass$Kind, to be removed later
2015-10-03 00:59:28 +03:00
Alexander Udalov
5bb47c8365
Write KotlinInterfaceDefaultImpls annotation to DefaultImpls classes
...
Instead of KotlinSyntheticClass with kind = TRAIT_IMPL
2015-10-03 00:58:52 +03:00
Alexander Udalov
e4090d3f30
Cleanup descriptors.proto, regenerate
...
- move enums and messages nested in Callable to top level, since they're likely
to be reused in other messages soon
- delete obsolete comments: some did not any value, some became obsolete with
custom options ("id in StringTable" -> name_id_in_table)
2015-10-02 20:30:55 +03:00
Dmitry Jemerov
4ee1b4da84
fix compilation
2015-10-01 20:04:07 +02:00
Dmitry Jemerov
7bc3161e2f
"Rename" quickfix for underscore identifiers
2015-10-01 19:19:23 +02:00
Dmitry Jemerov
983de529ed
add missing read actions to overriders search
...
#KT-9147 Fixed
2015-10-01 19:17:24 +02:00
Dmitry Jemerov
4070ba13cd
when getting a descriptor for a PsiMethod, also check that it has a valid name (KT-9174)
...
#KT-9174 Fixed
2015-10-01 19:17:24 +02:00
Dmitry Jemerov
e70f88c67f
don't create editor in air if we can't find an editor for the element (EA-72968 - TDDE: TraceableDisposable.throwDisposalError)
2015-10-01 19:17:23 +02:00
Dmitry Jemerov
4f56821101
Java sometimes asks us to find usages of a method with no containing class; don't crash on this (EA-73362 - assert: JavaMemberImpl.getContainingClass)
2015-10-01 19:17:23 +02:00
Dmitry Jemerov
49eace61c9
don't report exception if trying to update jar to the same file (this can happen if the version of the plugin is different from the version of the runtime it bundles; in that case, we've already messed up and there is no value in spamming EA with exceptions) (EA-73451 - IAE: KotlinRuntimeLibraryUtil.replaceFile)
2015-10-01 19:17:22 +02:00
Dmitry Jemerov
5c93e25e67
remove dead code
2015-10-01 19:17:21 +02:00
Dmitry Jemerov
9c6f206606
don't try to get the parent of an empty FQ name (EA-73459 - ISE: FqName.parent)
...
#KT-9162 Fixed
2015-10-01 19:17:21 +02:00
Pavel V. Talanov
c19b8353d0
Minor, tests: remove some static accesses to builtIns
2015-10-01 17:53:20 +03:00
Pavel V. Talanov
41c0895abb
JetExtractionTest: adjust test data
...
after making some of builtin types serializable
2015-10-01 17:53:17 +03:00
Pavel V. Talanov
76029ee9b2
Introduce JvmBuiltIns and DefaultBuiltIns, different instances of KotlinBuiltIns
...
Make KotlinBuiltIns an abstract class
JsPlatform has DefaultBuiltIns
2015-10-01 17:53:14 +03:00
Pavel V. Talanov
0ae842a05d
'descriptors' module exports 'deserialization', not the other way around
...
Also remove some of redundantly specified dependencies
2015-10-01 17:53:13 +03:00
Pavel V. Talanov
22e3e192ee
ModuleDescriptorImpl: remove KBI as default parameter
2015-10-01 17:53:12 +03:00
Pavel V. Talanov
767950fea3
Tests: Replace some usages of KotlinBuiltIns.getInstance()
...
In cases where platform is either unimportant or predefined in test code
2015-10-01 17:53:11 +03:00
Pavel V. Talanov
af3bb80a54
JetChangeSignatureTest: Drop usages of KotlinBuiltIns.getInstance()
2015-10-01 17:53:11 +03:00
Pavel V. Talanov
64d8baee1d
DeserializerForDecompilerBase depends on TargetPlatform
2015-10-01 17:53:07 +03:00
Pavel V. Talanov
bb3028b6c9
JetSourceNavigationHelper: drop usage of KotlinBuiltIns.getInstance()
2015-10-01 17:53:07 +03:00
Pavel V. Talanov
f28a8a60c1
AllClassesCompletion: drop usage of KotlinBuiltIns.getInstance()
2015-10-01 17:53:06 +03:00
Pavel V. Talanov
3963c8b833
MemberMatching: drop usage of KotlinBuiltIns.getInstance()
2015-10-01 17:53:06 +03:00
Pavel V. Talanov
36fee381c3
BuiltInsReferenceResolver: drop usage of KotlinBuiltIns.getInstance()
2015-10-01 17:53:05 +03:00
Pavel V. Talanov
e4c0d93224
idea: Use platform extension to eliminate other usages of KotlinBuiltIns
2015-10-01 17:53:04 +03:00