Files
kotlin-fork/plugins/kapt3/kapt3-compiler/testData/converter/invalidFieldName.txt
T
strangepleasures 2423b7b62f [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>
2023-08-17 21:43:54 +00:00

47 lines
863 B
Plaintext
Vendored

@Anno(color = Color.InvalidFieldName)
@java.lang.annotation.Retention(value = java.lang.annotation.RetentionPolicy.RUNTIME)
/**
* public final annotation class Anno : kotlin/Annotation {
*
* // signature: <init>(LColor;)V
* public constructor(color: Color)
*
* // getter: color()LColor;
* public final val color: Color
* public final get
*
* // module name: main
* }
*/
@kotlin.Metadata()
public abstract @interface Anno {
public abstract Color color();
}
////////////////////
/**
* public final enum class Color : kotlin/Enum<Color> {
*
* // signature: <init>(Ljava/lang/String;I)V
* private constructor()
*
* BLACK,
*
* WHI-TE,
*
* // module name: main
*
* // has Enum.entries
* }
*/
@kotlin.Metadata()
public enum Color {
/*public static final*/ BLACK /* = new Color() */;
Color() {
}
}