Alexander Udalov
0b10d3a0e9
Minor, move JavaModuleResolver from frontend.java to frontend.common.jvm
...
To be reused in the K2 checker (KT-60797).
2024-02-21 14:10:44 +00:00
Dmitrii Gridin
072d191306
[compiler] replace Enum values() with entries
...
To fix warnings. Also, use of `Enum.entries` may improve the performance
^KT-48872
2024-02-20 17:56:46 +00:00
Kirill Rakhman
81517a3d29
[FIR] Set targets of annotation classes in FirJavaElementFinder
...
#KT-60504 Fixed
2023-12-07 18:29:45 +00:00
Nikolay Lunyak
ec9cb8beb6
[FIR] Rename JvmNames -> JvmStandardClassIds
...
This is more consistent with the code of
the common compiler checkers.
It would be nice to refactor the contents
of this object further, but it's out
of scope of the current branch.
^KT-54596
2023-09-19 22:14:09 +00:00
Mikhail Glukhikh
5fb38008b7
Switch Kotlin version to 2.0
...
#KT-59171 In Progress
2023-09-19 15:46:26 +00:00
Alexander Udalov
f40fc1b0c6
JVM IR: minor, deduplicate JvmFileClassUtil.manglePartName
2023-08-17 21:43:54 +00:00
Pavel Mikhailovskii
84bf411cc3
Changes in the compiler needed to run KAPT 4 (KT-51982)
2023-07-31 18:07:40 +00:00
Pavel Mikhailovskii
083f54aceb
[KAPT4] Create basic infrastructure for KAPT4
2023-07-07 11:09:16 +00:00
Roman Golyshev
d4cffb8a5a
[213] Switch to 213 platform
...
KTI-1114
2023-04-21 13:19:04 +00:00
Ivan Kylchik
6bce668cac
Introduce language version 2.1
2023-03-21 20:02:42 +00:00
Alexander Udalov
b1ca9a0f05
JVM IR: extract JvmIrDeclarationOrigin
2023-03-13 13:51:52 +01:00
Dmitriy Novozhilov
66544a4e00
Switch kotlin version to 1.9
...
with appropriate fixes in testdata, tests and other
places.
2023-01-30 09:29:55 +00:00
Mikhail Glukhikh
0c4a0360ac
Deserialization/class reading: pass chosen JvmMetadataVersion whenever possible
2023-01-16 18:16:07 +01:00
Mikhail Glukhikh
52ab565cc6
Move LANGUAGE_TO_METADATA_VERSION to compiler:frontend.common.jvm
2023-01-16 18:14:52 +01:00
Dmitriy Novozhilov
d423782fac
[FE 1.0] Remove usages of safeAs and cast from most of FE 1.0 modules:
...
- :core:descriptors
- :core:descriptors.jvm
- :core:deserialization
- :compiler:cli
- :compiler:frontend
- :compiler:frontend:cfg
- :compiler:frontend.java
- :compiler:frontend.common.jvm
- :compiler:psi
- :compiler:resolution
- :compiler:resolution.common
- :compiler:resolution.common.jvm
- :kotlin-reflect-api
2022-10-12 13:58:56 +00:00
Alexander Udalov
b158ece232
Tweak module exclusion filter for -Xjvm-default=all
...
- Remove obsolete exclusion of core & stdlib modules, since they are now
compiled with JVM target 1.8, but leave `:core:descriptors` because of
an issue in Proguard.
- Remove binary-compatibility-validator and update test data instead.
- Replace some "contains" checks with equality for clarity.
- Remove modules from -Werror filter which no longer use the deprecated
compatibility mode.
2022-09-14 14:40:39 +02:00
Dmitry Gridin
924dd38144
[lc] introduce KotlinAsJavaSupportBase with new common facade logic
...
^KT-53543
2022-08-29 11:51:42 +00:00
Dmitry Gridin
81a5b4070d
[light classes] move KtLightMethodImpl to light-classes-base module
...
^KT-53097
2022-07-19 15:42:06 +00:00
Dmitry Gridin
52e0e744af
move JvmFileClassInfo and JvmFileClassUtil to frontend.common.jvm
...
^KT-53097
2022-07-19 15:41:43 +00:00
Dmitry Gridin
232184047b
move PackagePartClassUtils to frontend.common.jvm
...
^KT-53097
2022-07-19 15:41:42 +00:00
Dmitry Gridin
31b89757f7
[light classes] move JvmDeclarationOriginKind to frontend.common.jvm module
...
^KT-53097
2022-07-19 15:41:24 +00:00
Vladimir Dolzhenko
efd5beb49b
IJ file type optimizations based on extension
...
#KTIJ-21668
Merge-request: KT-MR-6288
Merged-by: Vladimir Dolzhenko <Vladimir.Dolzhenko@jetbrains.com >
2022-05-17 14:46:00 +00:00
Stanislav Erokhin
249dc1e1d2
Fix potential AbstractMethodError on KotlinJvmBinaryClass.getContainingLibrary()
...
Compiler supposed to generate such method inside the
LocalFileKotlinClass class, but because of the KT-18489 method
getContainingLibrary is not generated. Because of that we potentially
could get AbstractMethodError. In order to fix that we are adding
explicit ovverride in java super class
2022-04-22 16:21:10 +00:00
Ilya Kirillov
cd3905e400
Fix dependencies to intellij modules after gradle dependency DSL update
2021-12-27 16:23:13 +03:00
Ilya Kirillov
52baf7338e
Move KotlinBinaryClassCache to separate module, so it can be used outside FE1.0
2021-12-27 16:23:08 +03:00