public class JavaGenericPlaceholderTypeInstance extends Object implements JavaGenericBaseInstance
Constructor and Description |
---|
JavaGenericPlaceholderTypeInstance(String className,
ConstantPool cp) |
public JavaGenericPlaceholderTypeInstance(String className, ConstantPool cp)
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 List<JavaTypeInstance> getGenericTypes()
getGenericTypes
in interface JavaGenericBaseInstance
public boolean hasForeignUnbound(ConstantPool cp, int depth, boolean noWildcard, Map<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 JavaTypeInstance getArrayStrippedType()
getArrayStrippedType
in interface JavaTypeInstance
public int getNumArrayDimensions()
getNumArrayDimensions
in interface JavaTypeInstance
public String getRawName()
getRawName
in interface JavaTypeInstance
public 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 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 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
Copyright © 2011-2021. All Rights Reserved.