public class JavaGenericPlaceholderTypeInstance extends java.lang.Object implements JavaGenericBaseInstance
Modifier and Type | Class and Description |
---|---|
private class |
JavaGenericPlaceholderTypeInstance.Annotated |
Modifier and Type | Field and Description |
---|---|
private JavaTypeInstance |
bound |
private java.lang.String |
className |
private ConstantPool |
cp |
Modifier | Constructor and Description |
---|---|
|
JavaGenericPlaceholderTypeInstance(java.lang.String className,
ConstantPool cp) |
private |
JavaGenericPlaceholderTypeInstance(java.lang.String className,
ConstantPool cp,
JavaTypeInstance bound) |
private final java.lang.String className
private final ConstantPool cp
private final JavaTypeInstance bound
public JavaGenericPlaceholderTypeInstance(java.lang.String className, ConstantPool cp)
private JavaGenericPlaceholderTypeInstance(java.lang.String className, ConstantPool cp, JavaTypeInstance bound)
public JavaGenericPlaceholderTypeInstance withBound(JavaTypeInstance bound)
public JavaTypeInstance getBoundInstance(GenericTypeBinder genericTypeBinder)
getBoundInstance
in interface JavaGenericBaseInstance
public JavaAnnotatedTypeInstance getAnnotatedInstance()
getAnnotatedInstance
in interface JavaTypeInstance
public boolean isObject()
isObject
in interface JavaTypeInstance
public boolean hasUnbound()
hasUnbound
in interface JavaGenericBaseInstance
public boolean hasL01Wildcard()
hasL01Wildcard
in interface JavaGenericBaseInstance
public JavaTypeInstance getWithoutL01Wildcard()
getWithoutL01Wildcard
in interface JavaGenericBaseInstance
public java.util.List<JavaTypeInstance> getGenericTypes()
getGenericTypes
in interface JavaGenericBaseInstance
public boolean hasForeignUnbound(ConstantPool cp, int depth, boolean noWildcard, java.util.Map<java.lang.String,FormalTypeParameter> externals)
hasForeignUnbound
in interface JavaGenericBaseInstance
public boolean tryFindBinding(JavaTypeInstance other, GenericTypeBinder target)
tryFindBinding
in interface JavaGenericBaseInstance
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
public JavaTypeInstance getArrayStrippedType()
getArrayStrippedType
in interface JavaTypeInstance
public int getNumArrayDimensions()
getNumArrayDimensions
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 directImplOf(JavaTypeInstance other)
directImplOf
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 JavaTypeInstance deObfuscate(ObfuscationTypeMap obfuscationTypeMap)
deObfuscate
in interface JavaTypeInstance
public JavaGenericRefTypeInstance asGenericRefInstance(JavaTypeInstance other)
asGenericRefInstance
in interface JavaTypeInstance
public boolean isRaw()
isRaw
in interface JavaTypeInstance