public class JavaGenericRefTypeInstance extends Object implements JavaGenericBaseInstance, ComparableUnderEC
| Modifier and Type | Class and Description |
|---|---|
static class |
JavaGenericRefTypeInstance.WildcardConstraint |
| Constructor and Description |
|---|
JavaGenericRefTypeInstance(JavaTypeInstance typeInstance,
List<JavaTypeInstance> genericTypes) |
public JavaGenericRefTypeInstance(JavaTypeInstance typeInstance, List<JavaTypeInstance> genericTypes)
public void collectInto(TypeUsageCollector typeUsageCollector)
collectInto in interface JavaTypeInstancepublic JavaAnnotatedTypeInstance getAnnotatedInstance()
getAnnotatedInstance in interface JavaTypeInstancepublic boolean hasUnbound()
hasUnbound in interface JavaGenericBaseInstancepublic boolean hasForeignUnbound(ConstantPool cp, int depth, boolean noWildcard, Map<String,FormalTypeParameter> externals)
hasForeignUnbound in interface JavaGenericBaseInstancepublic boolean isObject()
isObject in interface JavaTypeInstancepublic boolean hasL01Wildcard()
hasL01Wildcard in interface JavaGenericBaseInstancepublic JavaTypeInstance getWithoutL01Wildcard()
getWithoutL01Wildcard in interface JavaGenericBaseInstancepublic JavaGenericRefTypeInstance getBoundInstance(GenericTypeBinder genericTypeBinder)
getBoundInstance 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 JavaTypeInstance getArrayStrippedType()
getArrayStrippedType in interface JavaTypeInstancepublic List<JavaTypeInstance> getGenericTypes()
getGenericTypes in interface JavaGenericBaseInstancepublic JavaRefTypeInstance getDeGenerifiedType()
getDeGenerifiedType in interface JavaTypeInstancepublic int getNumArrayDimensions()
getNumArrayDimensions in interface JavaTypeInstancepublic String getRawName()
getRawName in interface JavaTypeInstancepublic String getRawName(IllegalIdentifierDump iid)
getRawName in interface JavaTypeInstancepublic InnerClassInfo getInnerClassHereInfo()
getInnerClassHereInfo in interface JavaTypeInstancepublic JavaTypeInstance getTypeInstance()
public BindingSuperContainer getBindingSupers()
getBindingSupers in interface JavaTypeInstancepublic boolean equivalentUnder(Object o, EquivalenceConstraint constraint)
equivalentUnder in interface ComparableUnderECpublic boolean isComplexType()
isComplexType in interface JavaTypeInstancepublic boolean isUsableType()
isUsableType in interface JavaTypeInstancepublic JavaTypeInstance removeAnArrayIndirection()
removeAnArrayIndirection in interface JavaTypeInstancepublic RawJavaType getRawTypeOfSimpleType()
getRawTypeOfSimpleType 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 String suggestVarName()
suggestVarName in interface JavaTypeInstancepublic JavaGenericRefTypeInstance asGenericRefInstance(JavaTypeInstance other)
asGenericRefInstance in interface JavaTypeInstancepublic JavaTypeInstance directImplOf(JavaTypeInstance other)
directImplOf in interface JavaTypeInstancepublic JavaTypeInstance deObfuscate(ObfuscationTypeMap obfuscationTypeMap)
deObfuscate in interface JavaTypeInstancepublic boolean isRaw()
isRaw in interface JavaTypeInstanceCopyright © 2011-2021. All Rights Reserved.