Files
kotlin-fork/plugins/kapt3/testData/converter/enums.txt
T

54 lines
1.1 KiB
Plaintext
Vendored

@java.lang.annotation.Retention(value = java.lang.annotation.RetentionPolicy.RUNTIME)
public abstract @interface Anno1 {
public abstract java.lang.String value();
}
////////////////////
public enum Enum1 {
/*public static final*/ BLACK /* = new BLACK() */,
/*public static final*/ WHITE /* = new WHITE() */;
Enum1() {
}
}
////////////////////
public enum Enum2 {
/*public static final*/ RED /* = new RED(null, 0) */,
/*public static final*/ WHITE /* = new WHITE(null, 0) */;
@org.jetbrains.annotations.NotNull()
private final java.lang.String col = null;
private final int col2 = 0;
@org.jetbrains.annotations.NotNull()
public final java.lang.String color() {
return null;
}
private final void privateEnumFun() {
}
public final void publicEnumFun() {
}
@org.jetbrains.annotations.NotNull()
public final java.lang.String getCol() {
return null;
}
public final int getCol2() {
return 0;
}
Enum2(@org.jetbrains.annotations.NotNull()
@Anno1(value = "first")
java.lang.String col, @Anno1(value = "second")
int col2) {
}
}