Dmitry Jemerov
bcc3102e05
highlight usages for parameter doesn't look at base declarations
...
#KT-10204 Fixed
2016-02-04 11:35:22 +01:00
Ilya Gorbunov
4d5ec9be3f
Drop identityEquals from builtins, compiler and tests.
2016-01-22 05:54:38 +03:00
Pavel V. Talanov
36d5798a2e
Regression test for old issue
...
#KT-7656 Fixed
2016-01-21 20:47:20 +03:00
Stanislav Erokhin
7521b89b3e
Resolve unaryPlus as plus with error.
2015-12-17 20:21:01 +03:00
Alexander Udalov
239502368a
Update test data for tower resolution algorithm
...
- locals win
- unary calls to plus/minus are not supported in favor of unaryPlus/unaryMinus
- unqualified nested classes are temporarily reported as unresolved
- function without receiver win against extension function
- explicit import win against star import
2015-12-11 17:01:02 +03:00
Yan Zhulanow
9d1af5a17e
Fix tests: "infix modifier required" and "operator modifier required" errors
2015-11-27 15:51:11 +03:00
Yan Zhulanow
a3ff3ffc45
Fix tests: "Placing function type parameters after the function name" error
2015-11-27 15:51:11 +03:00
Dmitry Petrov
9856af48ca
Drop createQualifier: testData update
2015-11-18 14:35:53 +03:00
Dmitry Jemerov
16a8e8f6f0
test fixed
2015-11-03 11:18:14 +01:00
Dmitry Jemerov
736b496f6a
drop deprecated @platformName and @platformStatic annotations
2015-11-02 17:00:44 +01:00
Alexey Sedunov
1de3faf3f5
Codegen: Fix origin of overloaded methods generated for constructors with @JvmOverloads
...
Find Usages: Add tests for declarations annotated with @JvmOverloads
#KT-8534 Fixed
2015-11-02 15:15:34 +03:00
Alexey Sedunov
ad0c12935b
Find Usages: Include super declarations when highliting usages in the current file
2015-10-24 19:50:54 +03:00
Alexey Sedunov
9c360ef05a
Find Usages: Look for as-property usages of Java methods
2015-10-24 19:50:53 +03:00
Dmitry Jemerov
49033e0002
rename Jet* classes to Kt*
2015-10-19 21:35:30 +02:00
Pavel V. Talanov
3a34dc0efe
minor: fixes in test data
...
(cherry picked from commit 6ea4fbd)
2015-10-19 16:03:16 +03:00
Dmitry Petrov
149e70aa07
Dropping package facades:
...
- light classes: do not generate light class for package facade
- drop package facades as multifile classes compilation mode support
- get rid of some additional package facade fqName usages
- update tests for light classes
2015-10-19 16:03:16 +03:00
Valentin Kipyatkov
090ea37a32
Fixed test data to use only annotation syntax with @
2015-10-15 19:20:08 +03:00
Alexander Udalov
6a965c9a06
Update IDE tests to use KProperty instead of PropertyMetadata
2015-10-14 20:45:55 +03:00
Michael Bogdanov
ee6dbac381
Remove synthetic flag from internal members
2015-10-13 10:48:37 +03:00
Dmitry Jemerov
457e40a0b8
fix a few more tests
2015-10-12 11:11:31 +02:00
Yan Zhulanow
1f2b4e20fe
Replace get() and set() to getValue() and setValue() (property delegates)
2015-10-09 22:49:16 +03:00
Pavel V. Talanov
c28107034a
Idea tests: INSTANCE$ -> INSTANCE
2015-10-09 16:25:17 +03:00
Michael Bogdanov
12afbffb09
Copy to interface just companion object public const properties
2015-10-09 16:25:15 +03:00
Alexey Sedunov
5af4101f7d
Resource Bundles: Implement references on Kotlin string literals
...
#KT-6946 In Progress
2015-09-25 17:17:59 +03:00
Ilya Gorbunov
92e66b0d81
Fix deprecations in testData: smart completion and find usages
2015-09-19 04:33:31 +03:00
Dmitry Jemerov
9e6c0e7ee2
code review
2015-09-14 18:05:00 +02:00
Dmitry Jemerov
ab58dc3586
allow returning multiple PsiMethod wrappers for a JetFunction or JetPropertyAccessor; use that for handling Java usages through old-style and new-style facades
...
#KT-9102 Fixed
2015-09-14 18:03:55 +02:00
Dmitry Jemerov
55640ac885
assorted Find Usages fixes: add missing read actions, better cancellation, fix search of componentN() usages for data class primary constructor parameter, remove workaround for usage of IDEA API which is now public
2015-09-04 18:25:36 +02:00
Dmitry Jemerov
fcb8b796c4
change expected testdata
2015-09-04 15:05:11 +02:00
Dmitry Jemerov
37c40c9a23
change the origin of light methods for property accessors to the property itself
2015-08-31 12:18:25 +02:00
Alexey Sedunov
69218e2647
Find Usages: Fix NPE on constructor with missing name
...
#EA-69907 Fixed
2015-08-19 23:26:17 +03:00
Valentin Kipyatkov
4bf20d747a
Changes on code review
2015-08-19 20:46:38 +03:00
Valentin Kipyatkov
4876668716
Correct read/write access detection in case of plusAssign etc
2015-08-19 20:46:38 +03:00
Valentin Kipyatkov
97bf6f820a
Fix in read/write detection
2015-08-19 20:46:38 +03:00
Valentin Kipyatkov
5e97387e8d
Public utility to detect read/write access for an expression
...
Implemented ReadWriteAccessDetector which gives read/write access in Highlight Usages and Find Usages
+ More correct UsageType detection
2015-08-19 20:46:37 +03:00
Evgeny Gerashchenko
799368386b
KT-6877 Wrong unused function inspection on anonymous object member
...
#KT-6877 fixed
2015-08-15 12:29:46 +02:00
Evgeny Gerashchenko
da4be8a0f5
KT-7484 Companion object is marked unused if it's only usages are statically imported from Java
...
#KT-7484 fixed
2015-08-15 12:29:44 +02:00
Evgeny Gerashchenko
3a4010503e
Minor. Renamed test data dir.
2015-08-15 12:29:43 +02:00
Valentin Kipyatkov
c2c6ba59fd
Changes on code review
2015-08-03 16:28:44 +03:00
Valentin Kipyatkov
9bb2fe9a67
Optimization of parameter usages search
2015-08-03 16:28:43 +03:00
Pavel V. Talanov
edc3755b91
Do not build light classes for decompiled enum entries
2015-07-21 20:52:44 +03:00
Valentin Kipyatkov
13f0d3ca23
Initial implementation of usage search for get/set methods in form of synthetic extension
2015-07-16 13:49:16 +03:00
Evgeny Gerashchenko
01b83b3e3e
Minor. Fixed test data.
2015-07-03 19:48:01 +04:00
Evgeny Gerashchenko
aa65eb1055
More proper fix for KT-8137/EA-69470: avoiding failed assertion when searching usages of parameter of local class constructor
...
KT-8137 AE at JetSourceNavigationHelper.convertNamedClassOrObject() on function local class with several constructor parameters
#KT-8137 fixed
#EA-69470 fixed
2015-07-03 16:00:06 +03:00
Alexey Sedunov
efb36f4a49
Find Usages: Use isEquivalenTo for PsiCompiledElement only when matching reference targets #KT-7983 Fixed
2015-06-16 21:15:31 +03:00
Alexey Sedunov
95438c7b5d
Light Classes: Fix ClassCastException for KotlinNoOriginLightField
2015-06-11 13:52:59 +03:00
Alexey Sedunov
2a73247566
Find Usages: Rename test class and move test data
2015-06-11 13:52:54 +03:00
Alexey Sedunov
81440815e1
Light Classes: Retain original declarations for nested decompiled classes
2015-06-11 13:52:53 +03:00
Alexey Sedunov
ca8e2d4956
Navigation: Implement proper getOriginalElement() for Kotlin declarations.
...
Run find usages tests with library for both original and navigation elements. Drop duplicating tests. Simplify test class.
TODO: Some usages are not found yet since light methods built from library files do not retain original declarations
2015-06-11 13:52:52 +03:00
Alexey Sedunov
e2d758463f
Find Usages: Support primary constructors
...
#KT-7881 Fixed
2015-06-11 13:52:49 +03:00