Enum RawJavaType
- All Implemented Interfaces:
Serializable, Comparable<RawJavaType>, java.lang.constant.Constable, JavaTypeInstance
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class Enum
Enum.EnumDesc<E> -
Enum Constant Summary
Enum Constants -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final Stringprivate static final Map<String, RawJavaType> private static final Map<RawJavaType, Set<RawJavaType>> private final intprivate final intprivate final booleanprivate final booleanprivate final Stringprivate static final Map<String, RawJavaType> private final StackTypeprivate final Stringprivate final boolean -
Constructor Summary
ConstructorsModifierConstructorDescriptionprivateRawJavaType(String name, String suggestedVarName, StackType stackType, boolean usableType, boolean objectType) privateRawJavaType(String name, String suggestedVarName, StackType stackType, boolean usableType, String boxedName, boolean isNumber, boolean objectType) privateRawJavaType(String name, String suggestedVarName, StackType stackType, boolean usableType, String boxedName, boolean isNumber, boolean objectType, int intMin, int intMax) -
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) private booleanimplicitlyCastsTo(RawJavaType other) 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
-
-
Field Details
-
name
-
suggestedVarName
-
stackType
-
usableType
private final boolean usableType -
boxedName
-
isNumber
private final boolean isNumber -
isObject
private final boolean isObject -
intMin
private final int intMin -
intMax
private final int intMax -
implicitCasts
-
boxingTypes
-
podLookup
-
-
Constructor Details
-
RawJavaType
-
RawJavaType
-
RawJavaType
-
-
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
-
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>
-