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
Pavel V. Talanov
02543295f9
Refactor: Make LightMemberOrigin an interface, extract one implementation
2016-03-30 21:35:21 +03:00
Alexey Sedunov
95f6acdddf
[REVERTED] 8c72b02 Alexey Sedunov on 3/21/2016 at 19:14 (committed on 3/24/2016 at 18:42)
...
Light Classes: Constant expression evaluator for light annotation arguments
2016-03-29 19:17:05 +03:00
Alexey Sedunov
4896d90c79
[REVERTED] 28b8cfc Alexey Sedunov on 3/22/2016 at 21:26 (committed on 3/24/2016 at 18:42)
...
Spring Support: Show Spring line markers for Kotlin classes
2016-03-29 19:17:04 +03:00
Alexey Sedunov
1970582dd8
[REVERTED] 2692a7d Alexey Sedunov on 2/21/2016 at 00:50 (committed on 3/24/2016 at 18:42)
...
Spring Support: Inspection for Spring configuration
2016-03-29 19:17:00 +03:00
Valentin Kipyatkov
03d7c5764d
Moved confusing utility from KtPsiUtil (but the code in KtLightClassForExplicitDeclaration is still incorrect!)
2016-03-25 18:11:34 +03:00
Alexey Sedunov
2692a7d35c
Spring Support: Inspection for Spring configuration
2016-03-24 17:42:13 +03:00
Alexey Sedunov
28b8cfc3d5
Spring Support: Show Spring line markers for Kotlin classes
...
#KT-3741 Fixed
2016-03-24 17:42:11 +03:00
Alexey Sedunov
8c72b02c9b
Light Classes: Constant expression evaluator for light annotation arguments
2016-03-24 17:42:10 +03:00
Alexey Sedunov
d76e8f2d67
Light Classes: Generate light wrappers for name identifiers
2016-03-24 17:42:01 +03:00
Alexey Sedunov
fefa0baeee
Light Classes: Generate light wrappers for annotation entries
2016-03-24 17:41:58 +03:00
Alexey Sedunov
4debf0cc45
Java To Kotlin: KtLightModifierList
2016-03-24 17:41:57 +03:00
Alexey Sedunov
19850ffb86
Java To Kotlin: KtLightModifierList.java (rename to .kt)
2016-03-24 17:41:56 +03:00
Pavel V. Talanov
4246c7f326
Refactor: Provide API to create KtLightClassForFacade by synthetic file
2016-03-10 19:41:57 +03:00
Pavel V. Talanov
725f128b64
Minor: remove obsolete properties from KtLightClassForFacade
2016-03-10 19:41:55 +03:00
Valentin Kipyatkov
05dc4c1c48
ResolutionFacade for synthetic files should be invalidated on changes in these synthetic files
...
Fixed EA-77017
2016-03-04 16:30:24 +03:00
Pavel V. Talanov
f12c653aed
KtLightClassForFacade is not valid if any of the files it was built for doesn't have top level callables
...
#KT-9434 Fixed
2016-02-08 16:45:47 +03:00
Pavel V. Talanov
f59a4c537e
Minor: remove some dead code
2016-02-08 16:45:46 +03:00
Pavel V. Talanov
abcdae8e69
Prevent recursion when computing parameter list of KtLightMethod (part 2)
...
Use ClsWrapperStubPsiFactory when building light classes for decompiled kotlin classes
2016-02-04 12:55:19 +03:00
Alexey Sedunov
48b538cebf
Light Classes: Provide backing fields (if any) as one of property's light elements
2016-02-04 12:26:15 +03:00
Pavel V. Talanov
c5be8ce1d3
Prevent recursion when computing parameter list of KtLightMethod
...
#KT-10890 Fixed
#KT-10851 Fixed
2016-02-03 16:08:05 +03:00
Michael Bogdanov
71c2a6e792
Generate package private visibility in bytecode for private classes
2016-02-03 10:32:41 +03:00
Nikolay Krasko
6ac73eb760
Remove blocking cache in Kotlin JavaElementFinder (KT-9811)
...
Attempt to remove cache completely. There's now cache in JavaPsiFacadeImpl.findClass() that probably solves the original problem.
2016-01-25 17:08:22 +03:00