public class JavaArrayTypeInstance extends java.lang.Object implements JavaTypeInstance
Modifier and Type | Class and Description |
---|---|
private class |
JavaArrayTypeInstance.Annotated |
Modifier and Type | Field and Description |
---|---|
private JavaTypeInstance |
cachedDegenerifiedType |
private int |
dimensions |
private JavaTypeInstance |
underlyingType |
Constructor and Description |
---|
JavaArrayTypeInstance(int dimensions,
JavaTypeInstance underlyingType) |
private final int dimensions
private final JavaTypeInstance underlyingType
private JavaTypeInstance cachedDegenerifiedType
public JavaArrayTypeInstance(int dimensions, JavaTypeInstance underlyingType)
public JavaAnnotatedTypeInstance getAnnotatedInstance()
getAnnotatedInstance
in interface JavaTypeInstance
public StackType getStackType()
getStackType
in interface JavaTypeInstance
public void dumpInto(Dumper d, TypeUsageInformation typeUsageInformation, TypeContext typeContext)
dumpInto
in interface JavaTypeInstance
public java.lang.String toString()
toString
in class java.lang.Object
private void toCommonString(int numDims, Dumper d)
void toVarargString(Dumper d)
public boolean isObject()
isObject
in interface JavaTypeInstance
public java.lang.String getRawName()
getRawName
in interface JavaTypeInstance
public java.lang.String getRawName(IllegalIdentifierDump iid)
getRawName
in interface JavaTypeInstance
public InnerClassInfo getInnerClassHereInfo()
getInnerClassHereInfo
in interface JavaTypeInstance
public BindingSuperContainer getBindingSupers()
getBindingSupers
in interface JavaTypeInstance
public JavaTypeInstance getArrayStrippedType()
getArrayStrippedType
in interface JavaTypeInstance
public int getNumArrayDimensions()
getNumArrayDimensions
in interface JavaTypeInstance
public boolean isRaw()
isRaw
in interface JavaTypeInstance
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public boolean isComplexType()
isComplexType
in interface JavaTypeInstance
public boolean isUsableType()
isUsableType
in interface JavaTypeInstance
public JavaTypeInstance removeAnArrayIndirection()
removeAnArrayIndirection
in interface JavaTypeInstance
public JavaTypeInstance getDeGenerifiedType()
getDeGenerifiedType
in interface JavaTypeInstance
public RawJavaType getRawTypeOfSimpleType()
getRawTypeOfSimpleType
in interface JavaTypeInstance
public void collectInto(TypeUsageCollector typeUsageCollector)
collectInto
in interface JavaTypeInstance
public boolean implicitlyCastsTo(JavaTypeInstance other, GenericTypeBinder gtb)
implicitlyCastsTo
in interface JavaTypeInstance
public boolean impreciseCanCastTo(JavaTypeInstance other, GenericTypeBinder gtb)
impreciseCanCastTo
in interface JavaTypeInstance
public boolean correctCanCastTo(JavaTypeInstance other, GenericTypeBinder gtb)
correctCanCastTo
in interface JavaTypeInstance
public java.lang.String suggestVarName()
suggestVarName
in interface JavaTypeInstance
public JavaGenericRefTypeInstance asGenericRefInstance(JavaTypeInstance other)
asGenericRefInstance
in interface JavaTypeInstance
public JavaTypeInstance deObfuscate(ObfuscationTypeMap obfuscationTypeMap)
deObfuscate
in interface JavaTypeInstance
public JavaTypeInstance directImplOf(JavaTypeInstance other)
directImplOf
in interface JavaTypeInstance