public enum PECoffMachine extends Enum<PECoffMachine>
Modifier and Type | Method and Description |
---|---|
static PECoffMachine |
from(int m) |
static com.oracle.objectfile.pecoff.PECoffRelocationTable.PECoffRelocationMethod |
getRelocation(PECoffMachine m,
ObjectFile.RelocationKind k) |
static PECoffMachine |
getSystemNativeValue() |
short |
toShort() |
static PECoffMachine |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PECoffMachine[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PECoffMachine NONE
public static final PECoffMachine X86_64
public static PECoffMachine[] values()
public static PECoffMachine 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 static com.oracle.objectfile.pecoff.PECoffRelocationTable.PECoffRelocationMethod getRelocation(PECoffMachine m, ObjectFile.RelocationKind k)
public static PECoffMachine from(int m)
public short toShort()
public static PECoffMachine getSystemNativeValue()