[KAPT4] KT-51982 Implement generation of @Metadata annotations in Java stubs

Also adds rendering of @Metadata annotations in Kapt3 and Kapt4 tests
(currently disabled for a few tests).

Co-authored-by: Alexander Udalov <alexander.udalov@jetbrains.com>
This commit is contained in:
strangepleasures
2023-07-31 23:09:08 +02:00
committed by Space Team
parent f40fc1b0c6
commit 2423b7b62f
250 changed files with 15438 additions and 81 deletions
@@ -1,4 +1,3 @@
@kotlin.Metadata()
public abstract class BaseClass {
public BaseClass(@org.jetbrains.annotations.NotNull()
@@ -13,14 +12,12 @@ public abstract class BaseClass {
////////////////////
@kotlin.Metadata()
public abstract interface Context {
}
////////////////////
@kotlin.Metadata()
public final class Inheritor extends BaseClass {
public Inheritor(@org.jetbrains.annotations.NotNull()
@@ -38,7 +35,6 @@ public final class Inheritor extends BaseClass {
////////////////////
@kotlin.Metadata()
public enum Result {
/*public static final*/ SUCCESS /* = new Result() */,
/*public static final*/ ERROR /* = new Result() */;