public enum BytecodePrimitiveTypeRef extends Enum<BytecodePrimitiveTypeRef> implements BytecodeTypeRef
| Enum Constant and Description |
|---|
BOOLEAN |
BYTE |
CHAR |
DOUBLE |
FLOAT |
INT |
LONG |
SHORT |
VOID |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isArray() |
boolean |
isPrimitive() |
boolean |
isVoid() |
boolean |
matchesExactlyTo(BytecodeTypeRef aOtherType) |
static BytecodePrimitiveTypeRef |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static BytecodePrimitiveTypeRef[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOfdefaultValue, namepublic static final BytecodePrimitiveTypeRef BOOLEAN
public static final BytecodePrimitiveTypeRef BYTE
public static final BytecodePrimitiveTypeRef CHAR
public static final BytecodePrimitiveTypeRef DOUBLE
public static final BytecodePrimitiveTypeRef FLOAT
public static final BytecodePrimitiveTypeRef LONG
public static final BytecodePrimitiveTypeRef SHORT
public static final BytecodePrimitiveTypeRef INT
public static final BytecodePrimitiveTypeRef VOID
public static BytecodePrimitiveTypeRef[] values()
for (BytecodePrimitiveTypeRef c : BytecodePrimitiveTypeRef.values()) System.out.println(c);
public static BytecodePrimitiveTypeRef 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 boolean isPrimitive()
isPrimitive in interface BytecodeTypeRefpublic boolean isArray()
isArray in interface BytecodeTypeRefpublic boolean matchesExactlyTo(BytecodeTypeRef aOtherType)
matchesExactlyTo in interface BytecodeTypeRefpublic boolean isVoid()
isVoid in interface BytecodeTypeRefCopyright © 2020 Systemprogrammierung Mirko Sertic. All rights reserved.