Class JavaIntersectionTypeInstance
java.lang.Object
org.benf.cfr.reader.bytecode.analysis.types.JavaIntersectionTypeInstance
- All Implemented Interfaces:
JavaTypeInstance
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final int
private final List<JavaTypeInstance>
private static int
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
collectInto
(TypeUsageCollector typeUsageCollector) boolean
correctCanCastTo
(JavaTypeInstance other, GenericTypeBinder gtb) deObfuscate
(ObfuscationTypeMap obfuscationTypeMap) directImplOf
(JavaTypeInstance other) void
dumpInto
(Dumper d, TypeUsageInformation typeUsageInformation, TypeContext typeContext) int
boolean
implicitlyCastsTo
(JavaTypeInstance other, GenericTypeBinder gtb) boolean
impreciseCanCastTo
(JavaTypeInstance other, GenericTypeBinder gtb) boolean
boolean
isObject()
boolean
isRaw()
boolean
toString()
(package private) JavaIntersectionTypeInstance
withPart
(JavaTypeInstance part)
-
Field Details
-
parts
-
id
private final int id -
sid
private static int sid
-
-
Constructor Details
-
JavaIntersectionTypeInstance
-
-
Method Details
-
withPart
-
getAnnotatedInstance
- Specified by:
getAnnotatedInstance
in interfaceJavaTypeInstance
-
getStackType
- Specified by:
getStackType
in interfaceJavaTypeInstance
-
isComplexType
public boolean isComplexType()- Specified by:
isComplexType
in interfaceJavaTypeInstance
-
isUsableType
public boolean isUsableType()- Specified by:
isUsableType
in interfaceJavaTypeInstance
-
getRawTypeOfSimpleType
- Specified by:
getRawTypeOfSimpleType
in interfaceJavaTypeInstance
-
removeAnArrayIndirection
- Specified by:
removeAnArrayIndirection
in interfaceJavaTypeInstance
-
getArrayStrippedType
- Specified by:
getArrayStrippedType
in interfaceJavaTypeInstance
-
getDeGenerifiedType
- Specified by:
getDeGenerifiedType
in interfaceJavaTypeInstance
-
getNumArrayDimensions
public int getNumArrayDimensions()- Specified by:
getNumArrayDimensions
in interfaceJavaTypeInstance
-
getRawName
- Specified by:
getRawName
in interfaceJavaTypeInstance
-
getRawName
- Specified by:
getRawName
in interfaceJavaTypeInstance
-
getInnerClassHereInfo
- Specified by:
getInnerClassHereInfo
in interfaceJavaTypeInstance
-
getBindingSupers
- Specified by:
getBindingSupers
in interfaceJavaTypeInstance
-
implicitlyCastsTo
- Specified by:
implicitlyCastsTo
in interfaceJavaTypeInstance
-
impreciseCanCastTo
- Specified by:
impreciseCanCastTo
in interfaceJavaTypeInstance
-
correctCanCastTo
- Specified by:
correctCanCastTo
in interfaceJavaTypeInstance
-
suggestVarName
- Specified by:
suggestVarName
in interfaceJavaTypeInstance
-
dumpInto
- Specified by:
dumpInto
in interfaceJavaTypeInstance
-
collectInto
- Specified by:
collectInto
in interfaceJavaTypeInstance
-
isObject
public boolean isObject()- Specified by:
isObject
in interfaceJavaTypeInstance
-
isRaw
public boolean isRaw()- Specified by:
isRaw
in interfaceJavaTypeInstance
-
asGenericRefInstance
- Specified by:
asGenericRefInstance
in interfaceJavaTypeInstance
-
deObfuscate
- Specified by:
deObfuscate
in interfaceJavaTypeInstance
-
directImplOf
- Specified by:
directImplOf
in interfaceJavaTypeInstance
-
toString
-