FIR/LC: create synthetic members of enum class
^KTIJ-17414 In Progress ^KTIJ-17444 In Progress
This commit is contained in:
committed by
Ilya Kirillov
parent
790f2d13ae
commit
1b6ded6005
@@ -4,6 +4,12 @@ public enum Direction /* Direction*/ {
|
||||
WEST,
|
||||
EAST;
|
||||
|
||||
@org.jetbrains.annotations.NotNull()
|
||||
public final Direction valueOf(@org.jetbrains.annotations.NotNull() java.lang.String);// valueOf(java.lang.String)
|
||||
|
||||
@org.jetbrains.annotations.NotNull()
|
||||
public final Direction[] values();// values()
|
||||
|
||||
private Direction();// .ctor()
|
||||
|
||||
}
|
||||
@@ -15,6 +21,12 @@ public enum Color /* Color*/ {
|
||||
|
||||
private final int rgb;
|
||||
|
||||
@org.jetbrains.annotations.NotNull()
|
||||
public final Color valueOf(@org.jetbrains.annotations.NotNull() java.lang.String);// valueOf(java.lang.String)
|
||||
|
||||
@org.jetbrains.annotations.NotNull()
|
||||
public final Color[] values();// values()
|
||||
|
||||
private Color(int);// .ctor(int)
|
||||
|
||||
private Color(java.lang.String);// .ctor(java.lang.String)
|
||||
@@ -42,6 +54,12 @@ public enum ProtocolState /* ProtocolState*/ {
|
||||
@org.jetbrains.annotations.NotNull()
|
||||
public abstract ProtocolState signal();// signal()
|
||||
|
||||
@org.jetbrains.annotations.NotNull()
|
||||
public final ProtocolState valueOf(@org.jetbrains.annotations.NotNull() java.lang.String);// valueOf(java.lang.String)
|
||||
|
||||
@org.jetbrains.annotations.NotNull()
|
||||
public final ProtocolState[] values();// values()
|
||||
|
||||
private ProtocolState();// .ctor()
|
||||
|
||||
}
|
||||
@@ -79,6 +97,12 @@ public enum IntArithmetics /* IntArithmetics*/ {
|
||||
@org.jetbrains.annotations.NotNull()
|
||||
public IntArithmetics applyAsInt(int, int);// applyAsInt(int, int)
|
||||
|
||||
@org.jetbrains.annotations.NotNull()
|
||||
public final IntArithmetics valueOf(@org.jetbrains.annotations.NotNull() java.lang.String);// valueOf(java.lang.String)
|
||||
|
||||
@org.jetbrains.annotations.NotNull()
|
||||
public final IntArithmetics[] values();// values()
|
||||
|
||||
private IntArithmetics();// .ctor()
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user