ULC: output update (annotation on enum entry)

Input has `// CHECK_BY_JAVA_FILE`
and thus ULC output as .java file should be updated too
when input was changed to add annotation on enum entry
(at commit c5916e1d)
Tested by UltraLightClassLoadingTestGenerated in IntelliJ
This commit is contained in:
Jinseong Jeon
2022-09-23 00:09:03 -07:00
committed by Ilya Kirillov
parent 2fdedf8251
commit a58e0803fb
+13 -13
View File
@@ -3,7 +3,7 @@ public abstract @interface Some /* Some*/ {
}
public enum Direction /* Direction*/ {
NORTH,
@Some() NORTH,
SOUTH,
WEST,
EAST;
@@ -41,14 +41,14 @@ public enum Color /* Color*/ {
public enum ProtocolState /* ProtocolState*/ {
WAITING {
WAITING();// .ctor()
WAITING();// .ctor()
@org.jetbrains.annotations.NotNull()
public ProtocolState signal();// signal()
},
TALKING {
TALKING();// .ctor()
TALKING();// .ctor()
@org.jetbrains.annotations.NotNull()
public ProtocolState signal();// signal()
@@ -70,12 +70,12 @@ public enum ProtocolState /* ProtocolState*/ {
class TALKING ...
class WAITING ...
class WAITING ...
}
}
public static final class WAITING /* ProtocolState.WAITING*/ extends ProtocolState {
WAITING();// .ctor()
WAITING();// .ctor()
@org.jetbrains.annotations.NotNull()
public ProtocolState signal();// signal()
@@ -83,7 +83,7 @@ public static final class WAITING /* ProtocolState.WAITING*/ extends ProtocolSta
}
public static final class TALKING /* ProtocolState.TALKING*/ extends ProtocolState {
TALKING();// .ctor()
TALKING();// .ctor()
@org.jetbrains.annotations.NotNull()
public ProtocolState signal();// signal()
@@ -92,14 +92,14 @@ public static final class TALKING /* ProtocolState.TALKING*/ extends ProtocolSta
public enum IntArithmetics /* IntArithmetics*/ implements java.util.function.BinaryOperator<java.lang.Integer>, java.util.function.IntBinaryOperator {
PLUS {
PLUS();// .ctor()
PLUS();// .ctor()
@org.jetbrains.annotations.NotNull()
public java.lang.Integer apply(int, int);// apply(int, int)
},
TIMES {
TIMES();// .ctor()
TIMES();// .ctor()
@org.jetbrains.annotations.NotNull()
public java.lang.Integer apply(int, int);// apply(int, int)
@@ -120,12 +120,12 @@ public enum IntArithmetics /* IntArithmetics*/ implements java.util.function.Bin
class PLUS ...
class TIMES ...
class TIMES ...
}
}
public static final class PLUS /* IntArithmetics.PLUS*/ extends IntArithmetics {
PLUS();// .ctor()
PLUS();// .ctor()
@org.jetbrains.annotations.NotNull()
public java.lang.Integer apply(int, int);// apply(int, int)
@@ -133,7 +133,7 @@ public static final class PLUS /* IntArithmetics.PLUS*/ extends IntArithmetics {
}
public static final class TIMES /* IntArithmetics.TIMES*/ extends IntArithmetics {
TIMES();// .ctor()
TIMES();// .ctor()
@org.jetbrains.annotations.NotNull()
public java.lang.Integer apply(int, int);// apply(int, int)