public enum RawJavaType extends Enum<RawJavaType> implements JavaTypeInstance
| Enum Constant and Description |
|---|
BOOLEAN |
BYTE |
CHAR |
DOUBLE |
FLOAT |
INT |
LONG |
NULL |
REF |
RETURNADDRESS |
RETURNADDRESSORREF |
SHORT |
VOID |
public static final RawJavaType BOOLEAN
public static final RawJavaType BYTE
public static final RawJavaType CHAR
public static final RawJavaType SHORT
public static final RawJavaType INT
public static final RawJavaType LONG
public static final RawJavaType FLOAT
public static final RawJavaType DOUBLE
public static final RawJavaType VOID
public static final RawJavaType REF
public static final RawJavaType RETURNADDRESS
public static final RawJavaType RETURNADDRESSORREF
public static final RawJavaType NULL
public static RawJavaType[] values()
for (RawJavaType c : RawJavaType.values()) System.out.println(c);
public static RawJavaType 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 RawJavaType getUnboxedTypeFor(JavaTypeInstance type)
public static RawJavaType getPodNamedType(String name)
public String getName()
public JavaAnnotatedTypeInstance getAnnotatedInstance()
getAnnotatedInstance in interface JavaTypeInstancepublic StackType getStackType()
getStackType in interface JavaTypeInstancepublic boolean isComplexType()
isComplexType in interface JavaTypeInstancepublic boolean isObject()
isObject in interface JavaTypeInstancepublic JavaGenericRefTypeInstance asGenericRefInstance(JavaTypeInstance other)
asGenericRefInstance in interface JavaTypeInstancepublic JavaTypeInstance directImplOf(JavaTypeInstance other)
directImplOf in interface JavaTypeInstancepublic JavaTypeInstance deObfuscate(ObfuscationTypeMap obfuscationTypeMap)
deObfuscate in interface JavaTypeInstancepublic boolean inIntRange(int value)
public boolean isRaw()
isRaw in interface JavaTypeInstancepublic int compareTypePriorityTo(RawJavaType other)
public int compareAllPriorityTo(RawJavaType other)
public boolean isUsableType()
isUsableType in interface JavaTypeInstancepublic boolean isNumber()
public RawJavaType getRawTypeOfSimpleType()
getRawTypeOfSimpleType in interface JavaTypeInstancepublic JavaTypeInstance removeAnArrayIndirection()
removeAnArrayIndirection in interface JavaTypeInstancepublic JavaTypeInstance getArrayStrippedType()
getArrayStrippedType in interface JavaTypeInstancepublic JavaTypeInstance getDeGenerifiedType()
getDeGenerifiedType in interface JavaTypeInstancepublic int getNumArrayDimensions()
getNumArrayDimensions in interface JavaTypeInstancepublic String getRawName()
getRawName in interface JavaTypeInstancepublic String getRawName(IllegalIdentifierDump iid)
getRawName in interface JavaTypeInstancepublic InnerClassInfo getInnerClassHereInfo()
getInnerClassHereInfo in interface JavaTypeInstancepublic BindingSuperContainer getBindingSupers()
getBindingSupers in interface JavaTypeInstancepublic boolean implicitlyCastsTo(JavaTypeInstance other, GenericTypeBinder gtb)
implicitlyCastsTo in interface JavaTypeInstancepublic boolean impreciseCanCastTo(JavaTypeInstance other, GenericTypeBinder gtb)
impreciseCanCastTo in interface JavaTypeInstancepublic boolean correctCanCastTo(JavaTypeInstance other, GenericTypeBinder gtb)
correctCanCastTo in interface JavaTypeInstancepublic String suggestVarName()
suggestVarName in interface JavaTypeInstancepublic void dumpInto(Dumper d, TypeUsageInformation typeUsageInformation, TypeContext typeContext)
dumpInto in interface JavaTypeInstancepublic void collectInto(TypeUsageCollector typeUsageCollector)
collectInto in interface JavaTypeInstancepublic String toString()
toString in class Enum<RawJavaType>Copyright © 2011-2021. All Rights Reserved.