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
Alexey Sedunov
64ae0c0036
Find Usages: Add file grouping to test data
2015-06-11 13:52:43 +03:00
Evgeny Gerashchenko
0488229a61
KT-7693 Unused constructor parameter is not detected if class is constructed with named argument
...
#KT-7693 fixed
2015-05-25 18:33:08 +03:00
Alexey Sedunov
b2201026d1
Java Resolver: Substitute original element when resolving PsiMethod to FunctionDescriptor
...
#KT-7353 Fixed
2015-05-22 20:51:25 +03:00
Evgeny Gerashchenko
e50de5d94d
KT-7730 Find Usages causes 100% CPU usage, UI blocked, never returned
...
KT-7623 Renaming val constructor parameter of a data class is very slow
#KT-7730 fixed
#KT-7730 fixed
2015-05-22 14:33:11 +03:00
Mikhail Glukhikh
cf741cb868
Enum parsing changed: first entries, then members. Grammar fixed accordingly.
...
A set of compiler tests and some plugin tests changed accordingly.
Compiler Kotlin code changed accordingly.
2015-05-15 16:13:27 +03:00
Evgeny Gerashchenko
533935f2c0
KT-7472 function of anonymous class is never used
...
#KT-7472 fixed
2015-05-14 21:51:07 +03:00
Dmitry Jemerov
625096466e
IDE testdata: s/trait/interface
2015-05-13 16:13:13 +02:00
Dmitry Jemerov
f93eeeb563
fix tests by adding missing 'init' keywords to testdata
2015-04-29 14:07:05 +02:00
Denis Zharkov
37d7327482
Implement visitPrimaryConstructor in LazyDeclarationResolver
...
It's need to prevent exception when trying to analyze each declaration
node within class
#KT-7279 Fixed
#KT-7315 Fixed
2015-04-07 19:31:30 +03:00
Alexey Sedunov
11675322ee
Find Usages: Fix exception in the search of class with default parameters in primary constructor
2015-03-30 21:10:24 +03:00
Alexey Sedunov
d19e6337a3
Find Usages: Support of secondary constructors and delegation calls
2015-03-21 03:29:03 +03:00
Evgeny Gerashchenko
c652cc16dc
Classified usages as type parameters correctly.
...
#KT-7047 fixed
2015-03-20 19:34:18 +03:00
Evgeny Gerashchenko
51fb4910a1
Classified usages in up casts correctly.
...
#KT-7047 fixed
2015-03-20 19:34:18 +03:00
Evgeny Gerashchenko
e752dd0a80
Classified usages in "is" of when entry correctly.
...
#KT-7047 fixed
2015-03-20 19:34:17 +03:00