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 JavaGenericBaseInstancepublic JavaAnnotatedTypeInstance getAnnotatedInstance()
getAnnotatedInstance in interface JavaTypeInstancepublic boolean isObject()
isObject in interface JavaTypeInstancepublic boolean hasUnbound()
hasUnbound in interface JavaGenericBaseInstancepublic boolean hasL01Wildcard()
hasL01Wildcard in interface JavaGenericBaseInstancepublic JavaTypeInstance getWithoutL01Wildcard()
getWithoutL01Wildcard in interface JavaGenericBaseInstancepublic java.util.List<JavaTypeInstance> getGenericTypes()
getGenericTypes in interface JavaGenericBaseInstancepublic boolean hasForeignUnbound(ConstantPool cp, int depth, boolean noWildcard, java.util.Map<java.lang.String,FormalTypeParameter> externals)
hasForeignUnbound in interface JavaGenericBaseInstancepublic boolean tryFindBinding(JavaTypeInstance other, GenericTypeBinder target)
tryFindBinding in interface JavaGenericBaseInstancepublic StackType getStackType()
getStackType in interface JavaTypeInstancepublic void dumpInto(Dumper d, TypeUsageInformation typeUsageInformation, TypeContext typeContext)
dumpInto in interface JavaTypeInstancepublic java.lang.String toString()
toString in class java.lang.Objectpublic JavaTypeInstance getArrayStrippedType()
getArrayStrippedType in interface JavaTypeInstancepublic int getNumArrayDimensions()
getNumArrayDimensions in interface JavaTypeInstancepublic java.lang.String getRawName()
getRawName in interface JavaTypeInstancepublic java.lang.String getRawName(IllegalIdentifierDump iid)
getRawName in interface JavaTypeInstancepublic InnerClassInfo getInnerClassHereInfo()
getInnerClassHereInfo in interface JavaTypeInstancepublic BindingSuperContainer getBindingSupers()
getBindingSupers in interface JavaTypeInstancepublic JavaTypeInstance directImplOf(JavaTypeInstance other)
directImplOf in interface JavaTypeInstancepublic int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic boolean isComplexType()
isComplexType in interface JavaTypeInstancepublic boolean isUsableType()
isUsableType in interface JavaTypeInstancepublic JavaTypeInstance removeAnArrayIndirection()
removeAnArrayIndirection in interface JavaTypeInstancepublic JavaTypeInstance getDeGenerifiedType()
getDeGenerifiedType in interface JavaTypeInstancepublic RawJavaType getRawTypeOfSimpleType()
getRawTypeOfSimpleType in interface JavaTypeInstancepublic void collectInto(TypeUsageCollector typeUsageCollector)
collectInto 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 java.lang.String suggestVarName()
suggestVarName in interface JavaTypeInstancepublic JavaTypeInstance deObfuscate(ObfuscationTypeMap obfuscationTypeMap)
deObfuscate in interface JavaTypeInstancepublic JavaGenericRefTypeInstance asGenericRefInstance(JavaTypeInstance other)
asGenericRefInstance in interface JavaTypeInstancepublic boolean isRaw()
isRaw in interface JavaTypeInstance