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
Evgeny Gerashchenko
efccde2c0b
Finding implicit usages of companion object in containing class.
2015-03-20 19:34:15 +03:00
Denis Zharkov
d1308ebf84
Don't report unused symbol if secondary constructor used
...
#KT-6997 Fixed
2015-03-18 10:56:29 +03:00
Pavel V. Talanov
06916d98c6
default -> companion: replace all mentions of default and default object
2015-03-17 15:47:39 +03:00
Evgeny Gerashchenko
22a41e8012
Introduced category for default object usages.
2015-03-16 14:11:41 +03:00
Evgeny Gerashchenko
9bcf9dceef
Supported default objects in class usages.
2015-03-16 14:11:37 +03:00
Pavel V. Talanov
59f192ef90
Replace 'class object' with 'default object' in renderers and test data
...
Includes changes to decompiled text
Old syntax is used in builtins and project code for now
2015-03-06 19:36:54 +03:00
Evgeny Gerashchenko
8ba15937f9
KT-6820 Find usages doesn't find delegated properties when searching get/set/propertyDelegated functions
...
#KT-6820 fixed
2015-03-05 18:42:18 +03:00
Nikolay Krasko
f3919db592
Find usages and reference to delegation origin
2015-02-24 21:52:52 +03:00
Pavel V. Talanov
a1f4c06a49
Update test data that mentioned old JvmAbi constants
2015-02-16 15:38:34 +03:00
Nikolay Krasko
0f3971323f
Go to Declaration does not work on usage of constant from class object in Java (KT-6172)
...
#KT-6172 Fixed
2015-02-13 20:28:51 +03:00
Alexander Udalov
44840d07a8
Rename jet -> kotlin in idea: caches, findUsages, references, stubindex
2015-01-13 01:15:10 +03:00
Alexey Sedunov
c8cb5f8c29
Find Usages: Fix reference matching for declarations located in libraries
...
#KT-5762 Fixed
2015-01-12 22:55:31 +03:00
Alexander Udalov
d384e50a97
Rename jet -> kotlin in frontend: PSI
...
org.jetbrains.jet.lang.psi -> org.jetbrains.kotlin.psi
2015-01-10 15:52:14 +03:00
Alexey Sedunov
dd647416f8
Find Usages: Change .text extension to .txt in test data
2014-12-18 21:06:02 +03:00
Alexey Sedunov
b5fb09b8bc
Find Usages: Support text-file search of Kotlin declarations
2014-12-16 17:24:54 +03:00
Evgeny Gerashchenko
6abe5a425c
Finding usages (which have references) in text when plaint text occurrences are not searched.
2014-12-15 19:24:04 +03:00
Alexey Sedunov
74cdecd829
Find Usages: Restrict search scope of class object private declarations to
...
the containing class
2014-12-08 16:30:00 +03:00
Alexey Sedunov
2ec4494c02
Find Usages: Add tests for enum entries
2014-11-18 13:25:03 +03:00
Alexey Sedunov
b09684024b
Generate light classes for Kotlin inner classes
...
#KT-6237 Fixed
2014-11-13 17:27:33 +03:00
Nikolay Krasko
e8a2039396
Use JetTestUtils.assertEqualsToFile in usages tests to simplify fixing test data
2014-11-12 20:37:45 +03:00
Nikolay Krasko
c2a544d475
Remove syntax error from java files in usage test data
2014-11-12 20:37:43 +03:00
Andrey Breslav
19afb2fcb8
Make candidate resolver force-resolve type arguments on argument count mismatch
2014-11-10 17:24:05 +02:00
Alexey Sedunov
a13f334df2
Find Usages: Restrict search scope for private class members
...
#KT-6124 Fixed
2014-10-28 19:15:03 +03:00
Andrey Breslav
391b57077b
KT-5976 Parser recovery is poor on object with parameters
...
#KT-5976 Fixed
2014-10-15 12:22:35 +04:00