public static enum AsmTest.Api extends Enum<AsmTest.Api>
Modifier and Type | Method and Description |
---|---|
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(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(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic int value()
public String toString()
toString
in class Enum<AsmTest.Api>
Copyright © 2020. All rights reserved.