Enum RawJavaType
- All Implemented Interfaces:
Serializable, Comparable<RawJavaType>, java.lang.constant.Constable, JavaTypeInstance
-
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E> -
Enum Constant Summary
Enum Constants -
Method Summary
Modifier and TypeMethodDescriptionvoidcollectInto(TypeUsageCollector typeUsageCollector) intcompareAllPriorityTo(RawJavaType other) intcompareTypePriorityTo(RawJavaType other) booleancorrectCanCastTo(JavaTypeInstance other, GenericTypeBinder gtb) deObfuscate(ObfuscationTypeMap obfuscationTypeMap) directImplOf(JavaTypeInstance other) voiddumpInto(Dumper d, TypeUsageInformation typeUsageInformation, TypeContext typeContext) getName()intstatic RawJavaTypegetPodNamedType(String name) static RawJavaTypebooleanimplicitlyCastsTo(JavaTypeInstance other, GenericTypeBinder gtb) booleanimpreciseCanCastTo(JavaTypeInstance other, GenericTypeBinder gtb) booleaninIntRange(int value) booleanbooleanisNumber()booleanisObject()booleanisRaw()booleantoString()static RawJavaTypeReturns the enum constant of this type with the specified name.static RawJavaType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
BOOLEAN
-
BYTE
-
CHAR
-
SHORT
-
INT
-
LONG
-
FLOAT
-
DOUBLE
-
VOID
-
REF
-
RETURNADDRESS
-
RETURNADDRESSORREF
-
NULL
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
getUnboxedTypeFor
-
getPodNamedType
-
getName
-
getAnnotatedInstance
- Specified by:
getAnnotatedInstancein interfaceJavaTypeInstance
-
getStackType
- Specified by:
getStackTypein interfaceJavaTypeInstance
-
isComplexType
public boolean isComplexType()- Specified by:
isComplexTypein interfaceJavaTypeInstance
-
isObject
public boolean isObject()- Specified by:
isObjectin interfaceJavaTypeInstance
-
asGenericRefInstance
- Specified by:
asGenericRefInstancein interfaceJavaTypeInstance
-
directImplOf
- Specified by:
directImplOfin interfaceJavaTypeInstance
-
deObfuscate
- Specified by:
deObfuscatein interfaceJavaTypeInstance
-
inIntRange
public boolean inIntRange(int value) -
isRaw
public boolean isRaw()- Specified by:
isRawin interfaceJavaTypeInstance
-
compareTypePriorityTo
-
compareAllPriorityTo
-
isUsableType
public boolean isUsableType()- Specified by:
isUsableTypein interfaceJavaTypeInstance
-
isNumber
public boolean isNumber() -
getRawTypeOfSimpleType
- Specified by:
getRawTypeOfSimpleTypein interfaceJavaTypeInstance
-
removeAnArrayIndirection
- Specified by:
removeAnArrayIndirectionin interfaceJavaTypeInstance
-
getArrayStrippedType
- Specified by:
getArrayStrippedTypein interfaceJavaTypeInstance
-
getDeGenerifiedType
- Specified by:
getDeGenerifiedTypein interfaceJavaTypeInstance
-
getNumArrayDimensions
public int getNumArrayDimensions()- Specified by:
getNumArrayDimensionsin interfaceJavaTypeInstance
-
getRawName
- Specified by:
getRawNamein interfaceJavaTypeInstance
-
getRawName
- Specified by:
getRawNamein interfaceJavaTypeInstance
-
getInnerClassHereInfo
- Specified by:
getInnerClassHereInfoin interfaceJavaTypeInstance
-
getBindingSupers
- Specified by:
getBindingSupersin interfaceJavaTypeInstance
-
implicitlyCastsTo
- Specified by:
implicitlyCastsToin interfaceJavaTypeInstance
-
impreciseCanCastTo
- Specified by:
impreciseCanCastToin interfaceJavaTypeInstance
-
correctCanCastTo
- Specified by:
correctCanCastToin interfaceJavaTypeInstance
-
suggestVarName
- Specified by:
suggestVarNamein interfaceJavaTypeInstance
-
dumpInto
- Specified by:
dumpIntoin interfaceJavaTypeInstance
-
collectInto
- Specified by:
collectIntoin interfaceJavaTypeInstance
-
toString
- Overrides:
toStringin classEnum<RawJavaType>
-