Dmitry Gridin
e58b98bb5c
[lc] KotlinAsJavaSupportBase: implement getLightClassForScript
...
^KT-50241
2022-09-08 13:47:39 +00:00
Dmitry Gridin
46548e5443
[lc] KotlinAsJavaSupportBase: implement getLightClass
...
add more caching
^KT-50241
2022-09-08 13:47:38 +00:00
Dmitry Gridin
924dd38144
[lc] introduce KotlinAsJavaSupportBase with new common facade logic
...
^KT-53543
2022-08-29 11:51:42 +00:00
Dmitry Gridin
0ea041a1eb
[lc] move SymbolLightClassForDecompiledFacade to common decompiled part
...
^KT-53543
2022-08-29 11:51:42 +00:00
Jinseong Jeon
ed92cc43c7
AA: introduce eq checker to handle ambiguous PSI from binary module
2022-08-17 13:35:29 +02:00
Mikhail Glukhikh
41b73abc49
Analysis API FIR: fix exception in LC support for Enum.entries property
2022-08-12 09:35:30 +00:00
Ilya Kirillov
8856977c78
[Symbol LC] add test for declaration parents
2022-08-10 22:49:12 +02:00
Jinseong Jeon
b173b1fe24
AA: use package part info (if available) when searching for PSI from binary module
2022-08-10 17:34:48 +02:00
Dmitry Gridin
434872c5a9
[slc] mark SymbolFakeFile as internal
...
^KT-50241
2022-08-09 21:08:43 +02:00
Dmitry Gridin
74ad591dcb
[slc] rename fir to symbol
...
^KT-50241
2022-08-09 12:09:00 +02:00
Dmitry Gridin
c0d6a64a8a
[slc] rename fir to symbol
...
^KT-50241
2022-08-08 19:08:46 +00:00
Dmitry Gridin
4ceb170917
regenerate tests
2022-08-05 14:12:41 +02:00
Dmitry Gridin
a925b6b47d
[slc] reformat code
...
^KT-50241
2022-08-05 14:12:40 +02:00
Dmitry Gridin
4c3090e476
[slc] update copyright
...
^KT-50241
2022-08-05 14:12:40 +02:00
Dmitry Gridin
4419d7cd9e
[slc] fix packages
...
^KT-50241
2022-08-05 14:12:40 +02:00
Dmitry Gridin
0016973d2e
[slc] add todo
...
^KT-50241
2022-08-05 14:12:40 +02:00
Dmitry Gridin
6f40c097f1
[slc] cleanup code
...
^KT-50241
2022-08-05 14:12:40 +02:00
Jinseong Jeon
009182af63
FIR LC: use the data path from the test base
2022-08-03 08:57:37 +02:00
Jinseong Jeon
fc2f4d814e
FIR LC: test exact annotation owner kind
2022-08-03 08:57:37 +02:00
Jinseong Jeon
91946651d2
FIR LC: fix potentially ignored visit in light parameter
2022-08-03 08:57:37 +02:00
Jinseong Jeon
199219483e
FIR LC: set modifier list as a parent of light annotations
...
^KTIJ-22354 Fixed
2022-08-03 08:57:37 +02:00
Jinseong Jeon
79030c9252
FIR LC: remove redundant util in tests
2022-08-03 08:57:36 +02:00
Dmitry Gridin
1708b4fe48
[light classes] move light-classes-base module to analysis
...
^KT-53097
2022-08-01 13:56:34 +00:00
Ilya Kirillov
d9c4fda521
[Analysis API FIR] implement reference resolve inside KDoc
...
^KTIJ-22324 fixed
2022-07-28 01:37:53 +02:00
Ilya Kirillov
8be019d9bf
[Analysis API] simplify KotlinDeclarationProvider interface
2022-07-26 23:41:11 +02:00
Ilya Kirillov
62c12864f3
[Symbol LC] do not fail in LC on enum subtyping check
2022-07-22 23:13:23 +02:00
Dmitry Gridin
71018d8a6d
[light classes] replace light class dependency from analysis.symbol-light-classes to light-classes-base
...
^KT-53097
2022-07-19 15:42:04 +00:00
Dmitry Gridin
364cc8a65e
[light classes] add mangleInternalName to light-classes-base module
...
^KT-53097
2022-07-19 15:42:03 +00:00
Ilya Kirillov
95744062c1
[Symbol LC] add parents for the local classes
2022-07-13 01:47:36 +02:00
Jaebaek Seo
ef482bb126
FIR find usage: correctly set extendsList of FirLightInterfaceClassSymbol
...
The existing code does not set the list of bases that
FirLightInterfaceClassSymbol extends for "extendsList". It collects only
the set of interfaces for "extendsList" of FirLightInterfaceClassSymbol.
However, interfaces can "extend" other classes and/or interfaces, but
they cannot "implement" other interfaces. Therefore, we have to includes
all interfaces and classes that the child interface extends in
the "extendsList". Additionally, this commit adds `private fun
PsiClass.hasSuper(..): Boolean` to FirLightClassBase that returns
whether one of recursive super classes of the PsiClass is `baseClass`
or not. This commit lets `isInheritor()` method use
`PsiClass.hasSuper()`.
2022-07-08 10:36:55 +02:00
Ilya Kirillov
aca8643262
[Symbol LC] rename analyseForLightClasses -> analyzeForLightClasses
2022-07-01 21:08:18 +02:00
Ilya Kirillov
3dffe828b1
[Symbol LC] get rid of usage of analyzeWithSymbolAsContext for LC
2022-07-01 21:08:18 +02:00
Ilya Kirillov
271ecfbd68
[Analysis] Try to fix randomly failing tests because of unregistered FileAttributeService
...
It should be unregistered with the application by ApplicationEnvironmentDisposer
which is registered in :compiler:tests-common-new
2022-07-01 11:33:21 +02:00
Dmitry Gridin
dd824aacb6
Revert "Revert "[light classes] drop old light classes and backend: iteration #2 ""
...
This reverts commit 43b4df74bc .
2022-06-28 17:57:30 +02:00
Dmitry Gridin
f10c5c28a5
Revert "Revert "[light classes] drop old light classes and backend: iteration #1 ""
...
This reverts commit 57de064251 .
2022-06-28 17:57:29 +02:00
Dmitry Gridin
57de064251
Revert "[light classes] drop old light classes and backend: iteration #1 "
...
This reverts commit 3cb2df9360 .
2022-06-28 13:52:11 +02:00
Dmitry Gridin
43b4df74bc
Revert "[light classes] drop old light classes and backend: iteration #2 "
...
This reverts commit 97ce502cbe .
2022-06-28 13:52:10 +02:00
Dmitry Gridin
97ce502cbe
[light classes] drop old light classes and backend: iteration #2
...
drop javaFileStub and fix tests
^KT-48773
2022-06-28 11:44:39 +00:00
Dmitry Gridin
3cb2df9360
[light classes] drop old light classes and backend: iteration #1
...
drop clsDelegate and related
^KT-48773
2022-06-28 11:44:38 +00:00
Ilya Kirillov
2db73af75e
[analysis api] make KtCallableSymbol to be sealed class
2022-06-22 09:31:39 +02:00
Jinseong Jeon
b18999be82
FIR/LC: filter out scripts for facade creation
...
^KTIJ-22016 Fixed
2022-06-20 17:38:50 +02:00
Ilya Kirillov
314d9b9477
[analysis] move DecompiledPsiDeclarationProvider to symbol light classes module to avoid circular dependencies
2022-05-30 17:48:34 +02:00
Jinseong Jeon
c230a488e2
FIR LC: use the same module name as U/LC tests in IJ
2022-05-25 17:05:15 +02:00
Jinseong Jeon
1fe574f406
FIR LC: mangle internal function names
2022-05-25 17:05:14 +02:00
Jinseong Jeon
c79601e616
FIR LC: utilize effective visibility retrieval for (overridden) members
2022-05-25 17:05:14 +02:00
Jinseong Jeon
e446c988ee
FIR LC: populate default retention policy of annotations
2022-05-24 20:32:56 +02:00
Jinseong Jeon
d196050d9f
FIR LC: remove unnecessary bail-out in annotation util
...
There is another place below that handles the case
where no explicit annotations are bound, and there
unknwon nullability will be handled too.
2022-05-24 20:32:56 +02:00
Jinseong Jeon
58c2433bdd
FIR LC: use unified annotations' ClassId (missed JvmName)
2022-05-24 20:32:55 +02:00
Jinseong Jeon
85388f0c79
FIR LC: correct static modifiers for accessors from companion
2022-05-24 20:32:55 +02:00
Jinseong Jeon
a7a01a1f7e
FIR LC: populate JvmStatic accessors from companion
2022-05-24 20:32:55 +02:00