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 intprivate booleanprivate JavaTypeInstance -
Constructor Summary
ConstructorsModifierConstructorDescriptionprivate -
Method Summary
Modifier and TypeMethodDescriptionvoidprivate voidcollapseTypeClash(boolean force) private static Pair<Boolean, JavaTypeInstance> collapseTypeClash2(List<JavaTypeInstance> clashes) voidvoidforceType(JavaTypeInstance rawJavaType, boolean ignoreLock) private static Map<JavaTypeInstance, JavaGenericRefTypeInstance> getClashMatches(List<InferredJavaType.IJTInternal> clashes) intintprivate static Map<JavaTypeInstance, JavaGenericRefTypeInstance> getMatches(List<JavaTypeInstance> clashes) intbooleanisLocked()voidmarkClashState(InferredJavaType.ClashState newClashState) voidmarkKnownBaseClass(JavaTypeInstance knownBase) private static InferredJavaType.IJTInternalmkClash(InferredJavaType.IJTInternal delegate1, InferredJavaType.IJTInternal delegate2) voidmkDelegate(InferredJavaType.IJTInternal newDelegate) voidsetTaggedBytecodeLocation(int location) voidtoString()booleanusesFinalId(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:
collapseTypeClashin interfaceInferredJavaType.IJTInternal
-
shallowSetCanBeVar
public void shallowSetCanBeVar()- Specified by:
shallowSetCanBeVarin interfaceInferredJavaType.IJTInternal
-
confirmVarIfPossible
public void confirmVarIfPossible()- Specified by:
confirmVarIfPossiblein interfaceInferredJavaType.IJTInternal
-
collapseTypeClash
private void collapseTypeClash(boolean force) -
collapseTypeClash2
-
getRawType
- Specified by:
getRawTypein interfaceInferredJavaType.IJTInternal
-
getTaggedBytecodeLocation
public int getTaggedBytecodeLocation()- Specified by:
getTaggedBytecodeLocationin interfaceInferredJavaType.IJTInternal
-
setTaggedBytecodeLocation
public void setTaggedBytecodeLocation(int location) - Specified by:
setTaggedBytecodeLocationin interfaceInferredJavaType.IJTInternal
-
getJavaTypeInstance
- Specified by:
getJavaTypeInstancein interfaceInferredJavaType.IJTInternal
-
getSource
- Specified by:
getSourcein interfaceInferredJavaType.IJTInternal
-
getFinalId
public int getFinalId()- Specified by:
getFinalIdin interfaceInferredJavaType.IJTInternal
-
usesFinalId
public boolean usesFinalId(int id) - Specified by:
usesFinalIdin interfaceInferredJavaType.IJTInternal
-
getLocalId
public int getLocalId()- Specified by:
getLocalIdin interfaceInferredJavaType.IJTInternal
-
getClashState
- Specified by:
getClashStatein interfaceInferredJavaType.IJTInternal
-
mkDelegate
- Specified by:
mkDelegatein interfaceInferredJavaType.IJTInternal
-
forceType
- Specified by:
forceTypein interfaceInferredJavaType.IJTInternal
-
markKnownBaseClass
- Specified by:
markKnownBaseClassin interfaceInferredJavaType.IJTInternal
-
getKnownBaseType
- Specified by:
getKnownBaseTypein interfaceInferredJavaType.IJTInternal
-
markClashState
- Specified by:
markClashStatein interfaceInferredJavaType.IJTInternal
-
isLocked
public boolean isLocked()- Specified by:
isLockedin interfaceInferredJavaType.IJTInternal
-
getFirstLocked
- Specified by:
getFirstLockedin interfaceInferredJavaType.IJTInternal
-
toString
-