Igor Yakovlev
b742a475ff
[FIR IDE] Initial FIR LightClass implementation
2020-11-11 21:02:18 +03:00
Vyacheslav Gerasimov
3feff16a77
Cleanup 193 compatibility fixes
2020-11-11 14:28:54 +03:00
Dmitriy Novozhilov
7380abac13
Split AsmUtils to descriptors dependent and independent parts
2020-09-24 16:51:05 +03:00
Dmitriy Novozhilov
d215c413cc
Move TypeMappingMode to :core:compiler.common.jvm
2020-09-24 16:51:05 +03:00
Igor Yakovlev
e08763f3dd
[ULC] Add annotations for PsiTypes in UltraLight classes
...
WIP on KT-41148, KT-41406, KT-41420
2020-09-11 12:49:05 +03:00
Igor Yakovlev
b82d8cd4f4
[ULC] Fixed invalid access to lightclass infrastructure from UL
2020-09-11 12:49:05 +03:00
Igor Yakovlev
8fc94ddb8c
[UCL] Minor fixes
2020-09-11 12:49:05 +03:00
Igor Yakovlev
97ac86273a
[ULC] Add support of const fields to multifile facade
2020-09-11 12:49:05 +03:00
Igor Yakovlev
c70383cc70
[ULC] Add compiler flag -Xdisable-ultra-light-classes to fallback to light implementation in CLI
2020-09-11 12:49:04 +03:00
Nicolay Mitropolsky
e53db4c771
Uast: fixing WrappedUAnnotation identifiers
2020-09-11 12:49:04 +03:00
Igor Yakovlev
4b8f1bb362
[ULC] Add LanguageVersionSettings to CliLightClassGenerationSupport
...
+ refactoring
2020-09-11 12:49:04 +03:00
Igor Yakovlev
31b4a021a9
[ULC] Add JvmDeclarationOriginKind.DELEGATION to DeclarationOriginKindForOrigin of delegated methods
2020-09-11 12:49:03 +03:00
Igor Yakovlev
b263e1c924
[ULC] Remove nullability annotation for UL backing fields of private props
2020-09-11 12:49:03 +03:00
Igor Yakovlev
a36d53e086
[ULC] Skip nullability annotation for backing field of lateinit property
2020-09-11 12:49:03 +03:00
Igor Yakovlev
cd32cf7828
[ULC] Add PsiElement overrides for UL elements with source
2020-09-11 12:49:03 +03:00
Igor Yakovlev
131c14626c
[ULC] Fix invalid alias search for UL classes
2020-09-11 12:49:03 +03:00
Igor Yakovlev
2c16ae968d
[ULC] Add support @receiver annotation site to UL classes
2020-09-11 12:49:02 +03:00
Igor Yakovlev
dbb4337ac4
[ULC] Fix invalid annotation resolve for KtUltraLightParameterForSetterParameter
2020-09-11 12:49:02 +03:00
Igor Yakovlev
db6aa9140d
[ULC] Refactor for lightAnnotations classes
2020-09-11 12:49:02 +03:00
Igor Yakovlev
c4cee35cca
[ULC] Fixed invalid UL facade annotations
...
1) Hide annotations for MultiFile class
2) Remove nullability for private fields
2020-09-11 12:49:01 +03:00
Igor Yakovlev
6542ea9ba1
[ULC] Add constant evaluation to light classes service
2020-09-11 12:49:01 +03:00
Igor Yakovlev
55bb8f24e3
[ULC] Move UltraLightSupport to service provided bridge
2020-09-11 12:49:01 +03:00
Igor Yakovlev
7b0eb51f8d
[ULC] Add annotation support for UL facades
2020-09-11 12:49:01 +03:00
Igor Yakovlev
a5e304f520
[ULC] Better nullability annotations for light classes
2020-09-11 12:49:00 +03:00
Igor Yakovlev
c3810dc223
[ULC] Fixed UL backing field initializers
2020-09-11 12:49:00 +03:00
Igor Yakovlev
129979b0ff
[ULC] Improve UL facades for private properties without accessors
2020-09-11 12:49:00 +03:00
Igor Yakovlev
025e2f2fe9
[ULC] Better support for UL MultifileFacade classes
2020-09-11 12:49:00 +03:00
Igor Yakovlev
bc12fb0d6b
[ULC] Enable UL for script classes
2020-09-11 12:49:00 +03:00
Igor Yakovlev
236e41e024
[ULC] Fixed invalid super type for UL scripts
2020-09-11 12:48:59 +03:00
Igor Yakovlev
6accc8fcf9
[ULC] Fixed invalid constructor parameter list for UL script
2020-09-11 12:48:59 +03:00
Vladimir Ilmov
12ebd429bc
Revert "Light classes support for declarations in multipart classes."
...
This reverts commit 3ea51a982c .
2020-09-09 19:46:03 +02:00
Vladimir Ilmov
3ea51a982c
Light classes support for declarations in multipart classes.
...
relates to #KT-39196
2020-09-09 15:01:55 +02:00
Alexander Udalov
7fb7dc0210
Fix deprecation warnings related to Project extensions
2020-09-08 20:26:20 +02:00
Vladimir Dolzhenko
127257aa27
Provide setter-method for LC for private property setter
...
^KT-41694 Fixed
2020-09-07 09:36:28 +00:00
Dmitriy Novozhilov
d1fd1da56f
Rename Visibility to DescriptorVisibility
2020-09-04 11:07:42 +03:00
Dmitriy Novozhilov
a764732020
Rename KotlinBuiltInsNames to StandardNames
2020-08-25 10:41:33 +03:00
Dmitriy Novozhilov
7a7fe77b8e
Move static constants with builtin names to :core:descriptors.common module
2020-08-25 10:31:36 +03:00
Alexander Udalov
0ef4b22cf3
Remove deprecated usages of ContainerUtil
2020-08-20 20:30:34 +02:00
Vladimir Dolzhenko
e2a12602a3
Fixed getPsiMethodWrappers for KtLightMethodForDecompiledDeclaration
...
#KT-40960 Fixed
2020-08-18 08:23:01 +00:00
Vladimir Dolzhenko
ee0250bd35
Reformat file
...
Relates to #KT-40960
2020-08-18 08:23:00 +00:00
Alexander Udalov
a21f273570
Fix compiler warnings in compiler code
2020-08-17 21:18:20 +02:00
Mikhail Zarechenskiy
0f2c96c64d
Don't perform additional lookups for DeprecatedSinceKotlin annotation
...
There is no need to check it as `DeprecatedSinceKotlin` can be used
only along with `Deprecated` annotation
2020-06-29 14:23:22 +03:00
Alexander Udalov
0aaf29c045
Introduce DeprecatedSinceKotlin annotation
...
This annotation will be used in the standard library to prevent the new
compiler from reporting deprecation diagnostics in case an older API
version is used (where the declaration was not deprecated yet).
#KT-23575 Fixed
2020-06-29 14:22:29 +03:00
Igor Yakovlev
27c139926c
LightClass improved isInheritor check for cases when resolve is failed
...
Fixed #KT-37210
2020-06-25 23:17:09 +03:00
Vladimir Ilmov
d6483ace94
(UltraLightClasses) fix for processing stubs for Deprecation.HIDDEN annotation fast-path
2020-06-25 00:39:34 +02:00
Igor Yakovlev
b21cabe671
Separate decompiled declarations light representations from LightClasses
...
Fixed #KT-39457
2020-06-22 21:17:12 +03:00
Vladimir Ilmov
40ec794c66
(UltraLightClasses) fast-path for Deprecated.HIDDEN annotation
2020-06-22 15:58:25 +02:00
Dmitry Petrov
e9231b5624
JVM: Generate object and companion object INSTANCE fields as @NotNull
2020-06-22 16:28:00 +03:00
Vladimir Ilmov
db0788c68f
(LightClass) KotlinShortNamesCacheTest fix for methods, referenced from companions and classes
2020-06-06 23:48:15 +02:00
Vladimir Ilmov
3634cbe3cb
(LightClasses) resolve of annotations fast-path
2020-06-05 13:27:10 +02:00