public static enum AsmTest.Api extends java.lang.Enum<AsmTest.Api>
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
name |
private int |
value |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
toString()
Returns a human readable symbol corresponding to this version.
|
int |
value()
Returns the int value of this version, as expected by ASM.
|
static AsmTest.Api |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static AsmTest.Api[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AsmTest.Api ASM4
public static final AsmTest.Api ASM5
public static final AsmTest.Api ASM6
public static final AsmTest.Api ASM7
public static AsmTest.Api[] values()
for (AsmTest.Api c : AsmTest.Api.values()) System.out.println(c);
public static AsmTest.Api valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic int value()
public java.lang.String toString()
toString
in class java.lang.Enum<AsmTest.Api>