Andrey Breslav
8dc9aecbf8
DescriptorSearchRule removed
2014-02-05 18:12:01 +04:00
Andrey Breslav
aa0dde3a78
Old implementation of JavaDescriptorResolver deleted
2014-02-05 18:12:01 +04:00
Andrey Breslav
9f918d48b5
JavaDescriptorResolver always uses lazy mode
2014-02-05 18:12:01 +04:00
Andrey Breslav
76c722b81c
Utilities moved closer to their usages and rewritten to Kotlin
2014-02-05 18:12:00 +04:00
Andrey Breslav
e119ca27ca
AnnotationLoadingUtil created. Relevant code/constants moved there
2014-02-05 18:11:51 +04:00
Andrey Breslav
aed1ccf771
getKotlinBuiltinClassDescriptor() moved to DescriptorResolverUtils
2014-02-05 18:07:35 +04:00
Andrey Breslav
3d1f2c25e2
resolveCompileTimeConstantValue() rewritten to Kotlin
2014-02-05 18:07:35 +04:00
Andrey Breslav
6aca05023a
OBJECT_FQ_NAME moved to DescriptorResolverUtils
2014-02-05 18:07:35 +04:00
Andrey Breslav
ab3b8d63df
ExternalAnnotationResolver is enough to look for external annotations
2014-02-05 18:07:35 +04:00
Pavel V. Talanov
6c96d235ec
Tests: add complex tests for references to libraries
...
These tests check that that complex references (var p by delegate, for in collection, array[index]) are resolved correctly when target descriptors have type parameters
See 41f9dcba91
#KT-4505 Fixed
2014-02-05 17:15:14 +04:00
Alexey Sedunov
7e1c9194f1
Implement navigation to references from Call Hierarchy view
...
#KT-4518 Fixed
2014-02-05 16:28:16 +04:00
Pavel V. Talanov
c6c1389144
Imports on copy/paste UI: do not show misleading icon in dialog
2014-02-05 12:42:19 +04:00
Pavel V. Talanov
ccaf87bc17
Imports on copy/paste: Check whether import is needed before showing the user
...
Minor: rename ImportInsertHelper.doNeedImport -> needImport
2014-02-05 11:43:05 +04:00
Pavel V. Talanov
61153c87e0
Insert imports on copy/paste
...
Introduce KotlinCopyPasteReferenceProcessor
2014-02-04 20:19:52 +04:00
Pavel V. Talanov
2f55959578
Refactor: rewrite JetReferenceContributor to kotlin
...
Add additional utilities to track what psi elements are capable of holding references
2014-02-04 17:09:45 +04:00
Pavel V. Talanov
41f9dcba91
Refactor: unite two hierarchies or reference, use common code across all references
...
Jet*Reference#getTargetDescriptors() no longer returns nullable value (convention is dropped)
Use ResolvedCall#getCandidateDescriptor() instead of ResolvedCall#getResultingDescriptor() because unsubstituted descriptors are expected
Add JetReference#resolveMap() function
2014-02-04 17:09:44 +04:00
Pavel V. Talanov
f06cef684e
Refactor: introduce JetReference, rename: JetPsiReference -> AbstractJetReference
...
Add resolveToDescriptors() to JetReference trait
Rewrite JetPsiReference to kotlin
2014-02-04 17:09:43 +04:00
Pavel V. Talanov
cdc6e1b5ba
Refactor: move utilities to a separate file
2014-02-04 17:09:42 +04:00
Pavel V. Talanov
8e19ba9851
Fix JetSimpleNameExpression#getReceiver
...
Correct behaviour for unary, binary expressions and type references
Add instanceof checks in TipsManager so it's clear it only takes care of certain types of JetSimpleNameExpression
2014-02-04 17:09:41 +04:00
Pavel V. Talanov
b7e6717936
Kotlin code style: keywords on new line
2014-02-04 17:09:40 +04:00
Pavel V. Talanov
11c1e29287
Copy paste: annotations for IDEA classes and corresponding changes in ConvertJavaCopyPastePostProcessor
2014-02-04 17:09:39 +04:00
Pavel V. Talanov
7daf7374f8
Minor: JavaCopyPastePostProcessor -> ConvertJavaCopyPastePostProcessor for clarity
2014-02-04 17:09:38 +04:00
Pavel V. Talanov
4638806d11
Shorten references: Do not lookup packages when searching for conflicting declarations
...
Minor: use JetTreeVisitor
2014-02-04 17:09:37 +04:00
Andrey Breslav
30f49f3c9a
Invalidate per-file cache on exceptions
2014-02-04 15:24:27 +04:00
Andrey Breslav
e60bd514fa
StorageManager&ExceptionTracker delivered where needed
...
- GlobalContext introduced to group the two
- Caches track exceptions
2014-02-04 15:24:27 +04:00
Andrey Breslav
364182e3f0
Unneeded public parameters made private
2014-02-04 15:23:15 +04:00
Andrey Breslav
2da51a49dc
Invalidate ResolveElementCache on exceptions from storage manager
2014-02-04 15:23:15 +04:00
Andrey Breslav
a90dbc48ef
Information about LockBasedStorageManager instances added to assertions
2014-02-04 15:23:14 +04:00
Alexey Sedunov
950e8d521b
Remove unjustified assertion
2014-02-04 14:42:39 +04:00
Alexey Sedunov
2ea1a89e4c
Specify type explicitly: Add tests
2014-02-04 14:42:37 +04:00
Alexey Sedunov
c251e2dfcb
Use lazy analysis in DataFlowValueRenderingTest
2014-02-04 14:42:35 +04:00
Alexey Sedunov
2d72f60f04
Use lazy analysis in live templates
2014-02-04 14:42:34 +04:00
Alexey Sedunov
60fb461842
Go to Super: Use lazy analysis
2014-02-04 14:42:32 +04:00
Alexey Sedunov
7c1e28a748
Override/Implement methods: Use lazy analysis
2014-02-04 14:42:31 +04:00
Alexey Sedunov
bfbcaba0b0
Use lazy analysis in intention actions
2014-02-04 12:59:23 +04:00
Alexey Sedunov
a43404d7eb
Change Signature: Use lazy analysis
2014-02-04 12:59:21 +04:00
Alexey Sedunov
ac984b0566
Fix warnings
2014-02-04 12:59:16 +04:00
Alexey Sedunov
ec4c83dc91
Introduce Variable: Use lazy analysis
...
#KT-3651 Fixed
2014-02-04 12:59:14 +04:00
Alexey Sedunov
a4d6fd9cd5
Call Hierarchy: Use lazy analysis
...
#KT-4492 Fixed
2014-02-04 12:59:12 +04:00
Alexey Sedunov
0ee950f428
Use lazy analysis in usage type provider
2014-02-04 12:45:57 +04:00
Alexey Sedunov
bfa2b9ba35
Use lazy analysis in Safe Delete
2014-02-04 12:45:56 +04:00
Nikolay Krasko
f526129ca4
Refactoring: use injector for creating lazy resolve session
2014-02-04 12:31:38 +04:00
Nikolay Krasko
b8ddb658fb
Refactoring: hide fact of using injector inside lazy resolve session
2014-02-04 12:31:38 +04:00
Nikolay Krasko
36d5e580b4
Refactoring: remove unnecessary constructors (prepare for injectors)
2014-02-04 12:31:37 +04:00
Nikolay Krasko
9aac846798
Refactoring: remove unused jvmInternalName from KotlinPackageLightClassData
2014-02-04 12:31:37 +04:00
Nikolay Krasko
45be6b081d
Minor: add public modifier
2014-02-04 12:31:36 +04:00
Nikolay Krasko
5f71511788
Test for "KT-3769 Find usages gives no result for overrides"
...
#KT-3769 Obsolete
2014-02-04 12:31:36 +04:00
Alexander Udalov
540a06d45d
Add -ea to java invocations in build.xml
...
Also fail if "builtins" target failed to complete successfully
2014-02-03 20:45:20 +04:00
Evgeny Gerashchenko
284124569d
Fixed super signature generation when JetObject is explicit.
...
#KT-4485 fixed
2014-02-03 17:53:07 +04:00
Alexander Udalov
640dac834f
Suppress "nothing to override" on equals, hashCode, toString
...
This is needed to smoothly make equals, hashCode and toString members of Any
instead of being extensions, as they are now: according to our bootstrapping
process, the same compiler code will be built twice, by old compiler (with
extensions) and by new compiler (with members). In the resulting code
'override' should be on all these members in all classes, so the old compiler
should be able to compile such code
2014-02-03 16:26:17 +04:00