Class InferredJavaType.IJTInternal_Clash
java.lang.Object
org.benf.cfr.reader.bytecode.analysis.types.discovery.InferredJavaType.IJTInternal_Clash
- All Implemented Interfaces:
InferredJavaType.IJTInternal
- Enclosing class:
- InferredJavaType
private static class InferredJavaType.IJTInternal_Clash
extends Object
implements InferredJavaType.IJTInternal
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate List<InferredJavaType.IJTInternal>
private final int
private boolean
private JavaTypeInstance
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprivate
-
Method Summary
Modifier and TypeMethodDescriptionvoid
private void
collapseTypeClash
(boolean force) private static Pair<Boolean,
JavaTypeInstance> collapseTypeClash2
(List<JavaTypeInstance> clashes) void
void
forceType
(JavaTypeInstance rawJavaType, boolean ignoreLock) private static Map<JavaTypeInstance,
JavaGenericRefTypeInstance> getClashMatches
(List<InferredJavaType.IJTInternal> clashes) int
int
private static Map<JavaTypeInstance,
JavaGenericRefTypeInstance> getMatches
(List<JavaTypeInstance> clashes) int
boolean
isLocked()
void
markClashState
(InferredJavaType.ClashState newClashState) void
markKnownBaseClass
(JavaTypeInstance knownBase) private static InferredJavaType.IJTInternal
mkClash
(InferredJavaType.IJTInternal delegate1, InferredJavaType.IJTInternal delegate2) void
mkDelegate
(InferredJavaType.IJTInternal newDelegate) void
setTaggedBytecodeLocation
(int location) void
toString()
boolean
usesFinalId
(int id)
-
Field Details
-
resolved
private boolean resolved -
clashes
-
id
private final int id -
type
-
-
Constructor Details
-
IJTInternal_Clash
-
-
Method Details
-
getClashMatches
private static Map<JavaTypeInstance,JavaGenericRefTypeInstance> getClashMatches(List<InferredJavaType.IJTInternal> clashes) -
getMatches
private static Map<JavaTypeInstance,JavaGenericRefTypeInstance> getMatches(List<JavaTypeInstance> clashes) -
mkClash
private static InferredJavaType.IJTInternal mkClash(InferredJavaType.IJTInternal delegate1, InferredJavaType.IJTInternal delegate2) -
collapseTypeClash
public void collapseTypeClash()- Specified by:
collapseTypeClash
in interfaceInferredJavaType.IJTInternal
-
shallowSetCanBeVar
public void shallowSetCanBeVar()- Specified by:
shallowSetCanBeVar
in interfaceInferredJavaType.IJTInternal
-
confirmVarIfPossible
public void confirmVarIfPossible()- Specified by:
confirmVarIfPossible
in interfaceInferredJavaType.IJTInternal
-
collapseTypeClash
private void collapseTypeClash(boolean force) -
collapseTypeClash2
-
getRawType
- Specified by:
getRawType
in interfaceInferredJavaType.IJTInternal
-
getTaggedBytecodeLocation
public int getTaggedBytecodeLocation()- Specified by:
getTaggedBytecodeLocation
in interfaceInferredJavaType.IJTInternal
-
setTaggedBytecodeLocation
public void setTaggedBytecodeLocation(int location) - Specified by:
setTaggedBytecodeLocation
in interfaceInferredJavaType.IJTInternal
-
getJavaTypeInstance
- Specified by:
getJavaTypeInstance
in interfaceInferredJavaType.IJTInternal
-
getSource
- Specified by:
getSource
in interfaceInferredJavaType.IJTInternal
-
getFinalId
public int getFinalId()- Specified by:
getFinalId
in interfaceInferredJavaType.IJTInternal
-
usesFinalId
public boolean usesFinalId(int id) - Specified by:
usesFinalId
in interfaceInferredJavaType.IJTInternal
-
getLocalId
public int getLocalId()- Specified by:
getLocalId
in interfaceInferredJavaType.IJTInternal
-
getClashState
- Specified by:
getClashState
in interfaceInferredJavaType.IJTInternal
-
mkDelegate
- Specified by:
mkDelegate
in interfaceInferredJavaType.IJTInternal
-
forceType
- Specified by:
forceType
in interfaceInferredJavaType.IJTInternal
-
markKnownBaseClass
- Specified by:
markKnownBaseClass
in interfaceInferredJavaType.IJTInternal
-
getKnownBaseType
- Specified by:
getKnownBaseType
in interfaceInferredJavaType.IJTInternal
-
markClashState
- Specified by:
markClashState
in interfaceInferredJavaType.IJTInternal
-
isLocked
public boolean isLocked()- Specified by:
isLocked
in interfaceInferredJavaType.IJTInternal
-
getFirstLocked
- Specified by:
getFirstLocked
in interfaceInferredJavaType.IJTInternal
-
toString
-