public final class TypeName extends Object implements Serializable
Modifier and Type | Field and Description |
---|---|
static byte |
ArrayMask |
static byte |
ElementBits |
static byte |
ElementMask |
static byte |
PointerMask |
static byte |
PrimitiveMask |
static byte |
ReferenceMask |
public static final byte ArrayMask
public static final byte PointerMask
public static final byte ReferenceMask
public static final byte PrimitiveMask
public static final byte ElementMask
public static final byte ElementBits
public static TypeName findOrCreate(ImmutableByteArray name, int start, int length) throws IllegalArgumentException
IllegalArgumentException
public static TypeName findOrCreate(ImmutableByteArray name) throws IllegalArgumentException
IllegalArgumentException
public static TypeName findOrCreate(String name) throws IllegalArgumentException
IllegalArgumentException
public String toUnicodeString()
public static TypeName string2TypeName(String s) throws IllegalArgumentException
s
- a String like Ljava/lang/ObjectIllegalArgumentException
- if s is nullpublic static TypeName findOrCreateClassName(String packageName, String className)
public TypeName parseForArrayElementName()
public TypeName getArrayTypeForElementType()
public TypeName getPointerTypeForElementType()
public TypeName getReferenceTypeForElementType()
public final int getDerivedMask()
public final boolean isClassType()
public final boolean isArrayType()
public final boolean isPrimitiveType()
public final TypeName getInnermostElementType()
public Atom getPackage()
public Atom getClassName()