SLC: enable enum test case

This commit is contained in:
Jinseong Jeon
2023-04-23 00:50:06 -07:00
committed by Space Team
parent 5763acbd31
commit 8544081c46
3 changed files with 166 additions and 88 deletions
@@ -1,3 +1,76 @@
public final class C /* C*/ {
@org.jetbrains.annotations.Nullable()
private final Direction enumConst;
@org.jetbrains.annotations.Nullable()
public final Direction getEnumConst();// getEnumConst()
public C();// .ctor()
}
public enum Color /* Color*/ {
RED,
GREEN,
BLUE;
private final int rgb;
@org.jetbrains.annotations.NotNull()
public static Color valueOf(java.lang.String) throws java.lang.IllegalArgumentException, java.lang.NullPointerException;// valueOf(java.lang.String)
@org.jetbrains.annotations.NotNull()
public static Color[] values();// values()
@org.jetbrains.annotations.NotNull()
public static kotlin.enums.EnumEntries<Color> getEntries();// getEntries()
private Color(int);// .ctor(int)
private Color(java.lang.String);// .ctor(java.lang.String)
public final int getRgb();// getRgb()
}
public enum Direction /* Direction*/ {
@Some() NORTH,
SOUTH,
WEST,
EAST;
@org.jetbrains.annotations.NotNull()
public static Direction valueOf(java.lang.String) throws java.lang.IllegalArgumentException, java.lang.NullPointerException;// valueOf(java.lang.String)
@org.jetbrains.annotations.NotNull()
public static Direction[] values();// values()
@org.jetbrains.annotations.NotNull()
public static kotlin.enums.EnumEntries<Direction> getEntries();// getEntries()
private Direction();// .ctor()
}
public abstract enum IntArithmetics /* IntArithmetics*/ implements java.util.function.BinaryOperator<java.lang.Integer>, java.util.function.IntBinaryOperator {
PLUS,
TIMES;
@org.jetbrains.annotations.NotNull()
public static IntArithmetics valueOf(java.lang.String) throws java.lang.IllegalArgumentException, java.lang.NullPointerException;// valueOf(java.lang.String)
@org.jetbrains.annotations.NotNull()
public static IntArithmetics[] values();// values()
@org.jetbrains.annotations.NotNull()
public static kotlin.enums.EnumEntries<IntArithmetics> getEntries();// getEntries()
private IntArithmetics();// .ctor()
public int applyAsInt(int, int);// applyAsInt(int, int)
class PLUS ...
class TIMES ...
}
public abstract enum ProtocolState /* ProtocolState*/ {
WAITING,
TALKING;
@@ -6,17 +79,21 @@ public abstract enum ProtocolState /* ProtocolState*/ {
public abstract ProtocolState signal();// signal()
@org.jetbrains.annotations.NotNull()
public static ProtocolState valueOf(@org.jetbrains.annotations.NotNull() java.lang.String) throws java.lang.IllegalArgumentException;// valueOf(java.lang.String)
public static ProtocolState valueOf(java.lang.String) throws java.lang.IllegalArgumentException, java.lang.NullPointerException;// valueOf(java.lang.String)
@org.jetbrains.annotations.NotNull()
public static ProtocolState[] values();// values()
@org.jetbrains.annotations.NotNull()
public static kotlin.enums.EnumEntries<ProtocolState> getEntries();// getEntries()
private ProtocolState();// .ctor()
class TALKING ...
class WAITING ...
class WAITING ...
}
}
@java.lang.annotation.Retention(value = java.lang.annotation.RetentionPolicy.RUNTIME)
public abstract @interface Some /* Some*/ {
}