public static enum ClassInfo.TypeLookup extends java.lang.Enum<ClassInfo.TypeLookup>
ClassInfo.forType(org.objectweb.asm.Type, org.spongepowered.asm.mixin.transformer.ClassInfo.TypeLookup), determines whether an array type
should be returned as declared (eg. as Object) or whether the
element type should be returned instead.| Enum Constant and Description |
|---|
DECLARED_TYPE
Return the type as declared in the descriptor.
|
ELEMENT_TYPE
Legacy behaviour.
|
| Modifier and Type | Method and Description |
|---|---|
static ClassInfo.TypeLookup |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ClassInfo.TypeLookup[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ClassInfo.TypeLookup DECLARED_TYPE
public static final ClassInfo.TypeLookup ELEMENT_TYPE
public static ClassInfo.TypeLookup[] values()
for (ClassInfo.TypeLookup c : ClassInfo.TypeLookup.values()) System.out.println(c);
public static ClassInfo.TypeLookup 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 null