Nikolay Krasko
490ff621b6
Implement isInheritor method with utility method that has special behaviour for anonymous classes
2016-06-16 18:50:40 +03:00
Nikolay Krasko
784fd963cd
Implement copy methods for anonymous and enum entry light classes
2016-06-16 18:50:39 +03:00
Nikolay Krasko
29b94f650c
Make Kotlin light class more like PsiAnonymousClassImpl
...
Avoid delegating to cls delegate in more places
2016-06-16 18:50:39 +03:00
Nikolay Krasko
9359d0aab4
Compare anonymous classes with psi only to avoid counting qualified name
2016-06-16 18:50:38 +03:00
Nikolay Krasko
688c742802
j2k: minor fixes in KtLightClassForAnonymousDeclaration
2016-06-10 14:17:36 +03:00
Nikolay Krasko
4679ae60ab
j2k: actual convert KtLightClassForAnonymousDeclaration
2016-06-10 14:17:35 +03:00
Nikolay Krasko
81b94d0988
j2k: rename KtLightClassForAnonymousDeclaration
2016-06-10 14:17:31 +03:00
Nikolay Krasko
9e9c670ada
Minor: clean up and reformat
2016-06-10 14:17:20 +03:00
Dmitry Jemerov
7e2ce2d4e0
when finding usages of parameter of annotation class primary constructor, search also for light method generated from that parameter
...
#KT-9399 Fixed
2016-06-07 14:50:09 +02:00
Alexey Sedunov
cf8cf37d69
Light Classes: Drop obsolete constraint which prevents generation of light methods for local class members
...
#KT-8892 Fixed
2016-06-02 15:28:34 +03:00
Alexey Sedunov
96132fa61a
Rename: @JvmName support
...
#KT-8044 Fixed
#KT-9432 Fixed
2016-06-02 15:28:27 +03:00
Pavel V. Talanov
3a3e145de2
KtLightMethod: Wrap return type so it resolves to light method's type parameter as opposed to delegate's
...
Affects java type inference in IDEA
#KT-12090 Fixed
#KT-11095 Fixed
2016-05-27 13:13:01 +03:00
Alexey Sedunov
ec0f21c887
Spring Support: Fixed rename of custom-named beans specified with Kotlin annotation
...
#KT-12096 Fixed
2016-05-26 20:59:09 +03:00
Alexey Sedunov
076e31c0f8
Spring Support: Automatic configuration by @Import and @ComponentScan ("basePackages"/"basePackageClasses")
...
#KT-12135 Fixed
#KT-12139 Fixed
2016-05-26 20:59:07 +03:00
Alexey Sedunov
d69140b7fe
Code Insight: Implement package references inside of string literals
...
#KT-12136 In Progress
2016-05-26 20:59:03 +03:00
Alexey Sedunov
d52e62b20d
Light Classes: Consider FakeFileForLightClass instances equivalent if they correspond to the light classes with common KtFile
...
#KT-12117 Fixed
2016-05-26 20:59:01 +03:00
Pavel V. Talanov
710e920df7
lightClassUtils: Fix CCE when trying to obtain KtLightTypeParameter
...
#KT-12259 Fixed
2016-05-25 15:58:11 +03:00
Pavel V. Talanov
62421bbf7b
'const val' are now considered constants by Java in IDEA
...
#KT-12026 Fixed
2016-05-25 15:58:09 +03:00
Pavel V. Talanov
3cb38e7f02
Implement getLanguageLevel for FakeFileForLightClass
...
#KT-12006 Fixed
2016-05-25 15:58:07 +03:00
Pavel V. Talanov
695653c447
Replace usages of blocking lazy to LazyThreadSafetyMode.PUBLICATION in light classes to prevent potential deadlocks
2016-05-25 15:44:19 +03:00
Pavel V. Talanov
65e55f045f
Fix deadlock: synchronized lazy in KtLightModifierListWithExplicitModifiers
2016-05-25 15:44:18 +03:00
Alexander Udalov
f8816b5d67
Pass CompilerConfiguration to GenerationState instead of ton of parameters
2016-05-23 14:49:26 +03:00
Alexey Sedunov
26be254fbe
Spring Support: Show autowiring candidates line markers for @Autowired-annotated constructors and constructor parameters
...
#KT-12120 Fixed
2016-05-19 13:56:12 +03:00
Alexey Sedunov
85d07e5f6d
Spring Support: Implement Spring @Autowired inspection
...
#KT-12278 Fixed
#KT-12147 Fixed
#KT-12366 Fixed
#KT-12122 Fixed
2016-05-19 13:56:06 +03:00
Alexey Sedunov
edb3fd8f00
Spring Support: Replace light elements bound to line markers with their originals
...
#KT-12091 Fixed
2016-05-16 02:52:22 +03:00
Mikhail Glukhikh
733f3e8025
Code cleanup: type parameters can have in / out variance
2016-05-13 17:57:02 +03:00
Alexey Sedunov
df46a8c67a
Spring Support: Implement bean references in @Qualifier annotations
...
#KT-12092 Fixed
2016-05-12 13:03:04 +03:00
Alexey Sedunov
44f565e600
Spring Support: Support "Autowired members defined in invalid Spring bean" inspection on Kotlin declarations
...
#KT-12079 Fixed
2016-05-10 19:41:35 +03:00
Nikolay Krasko
5c1e5b3cdc
Make KtLightModifierList behave like light element and check it in tests
2016-05-10 16:06:00 +03:00
Valentin Kipyatkov
b551886889
Code cleanup: removed redundant semicolons
2016-04-29 11:26:25 +03:00
Mikhail Glukhikh
5a66ef2126
Core & compiler: unnecessary 'val's removed from constructors
2016-04-27 18:41:56 +03:00
Alexey Sedunov
12987de156
Spring Support: Replace accessor name with property name when processing usages in Kotlin files
...
#KT-11880 Fixed
2016-04-26 16:15:32 +03:00
Denis Zharkov
7fe5a9db8d
Remove JavaToKotlinClassMap dependency on built-ins instance
2016-04-25 17:41:08 +03:00
Alexey Sedunov
613a274c90
Safe Delete: Fixed usages search when applied to simple enum entries
...
#KT-11816 Fixed
2016-04-25 10:38:37 +03:00
Alexey Sedunov
b35834dd18
Rename: Fixed rename of Kotlin enum constants/@JvmField properties through Java references
...
#KT-11817 Fixed
2016-04-25 10:38:35 +03:00
Alexey Sedunov
548d0cd4e5
Spring Support: Model diagram support for Kotlin classes
...
#KT-11692 In Progress
2016-04-19 20:27:42 +03:00
Alexey Sedunov
754e7cac52
Light Classes: Replace accessor with property name when renaming KtProperty/KtParameter through its light methods
...
#KT-11880 Fixed
2016-04-19 20:27:28 +03:00
Alexey Sedunov
9bf395a4cd
Light Classes: Skip irrelevant overloads when looking for light parameter
...
#KT-11868 Fixed
2016-04-13 12:20:20 +03:00
Alexey Sedunov
119cf0f0cd
Spring Support: Support Find Usages/Rename (on both declarations and
...
references) of Kotlin declarations referenced in the XML config
#KT-11719 Fixed
#KT-11652 Fixed
2016-04-09 21:13:30 +03:00
Alexey Sedunov
afecb09b6f
Spring Support: Fix renaming of Spring bean declarations via SpEL references
...
#KT-11720 Fixed
#KT-11725 Fixed
2016-04-09 21:13:21 +03:00
Alexey Sedunov
b8905645ae
Light Classes: Navigate to KtFile from light class containing file
...
#KT-11689 Fixed
2016-04-09 21:13:11 +03:00
Alexey Sedunov
eeac739f69
Spring Support: Fixed computation of values in Java annotations referred by Kotlin annotation entries
...
#KT-11702 Fixed
2016-04-09 21:13:07 +03:00
Alexey Sedunov
9aeca98b82
[RESTORED] Spring Support: Inspection for Spring configuration
2016-04-08 21:11:22 +03:00
Alexey Sedunov
a89dbfcfd4
[RESTORED] Spring Support: Show Spring line markers for Kotlin classes
...
#KT-3741 Fixed
2016-04-08 21:11:19 +03:00
Alexey Sedunov
962b312fb7
[RESTORED] Light Classes: Constant expression evaluator for light annotation arguments
2016-04-08 21:11:16 +03:00
Pavel V. Talanov
e46d713bba
KtLightClassForFacade is no longer valid if some of the files have changed their name
...
#KT-11580 Fixed
2016-04-04 21:10:04 +03:00
Dmitry Petrov
92ddbb271a
KT-11410: generate light classes from multifile class parts in binaries
...
if explicitly requested by fqName
2016-04-01 10:13:22 +03:00
Pavel V. Talanov
484167e9d9
KtLightModifierList* is created only for light classes build for sources
...
This is a hacky solution to avoid calling lightMemberOrigin.originalElement inside
Moreover it needs to resolve descriptor for sources inside computeAnnotations and it is used only for kotlin sources so this will have to do for now
2016-03-30 21:35:24 +03:00
Pavel V. Talanov
f9fa365059
LightElements: avoid computation of LightMemberOrigin.originalElement on common api calls
2016-03-30 21:35:23 +03:00
Pavel V. Talanov
f40a04c5a2
Refactor light elements
...
KtLightElement#delegate -> clsDelegate, KtLightElement#origin -> kotlinOrigin and make them properties
KtLightClassForDecompiledDeclaration stores KtClsFile
KtLightField stores LightMemberOrigin
2016-03-30 21:35:22 +03:00