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 java.lang.Object implements InferredJavaType.IJTInternal
-
-
Field Summary
Fields Modifier and Type Field Description private java.util.List<InferredJavaType.IJTInternal>
clashes
private int
id
private boolean
resolved
private JavaTypeInstance
type
-
Constructor Summary
Constructors Modifier Constructor Description private
IJTInternal_Clash(java.util.Collection<InferredJavaType.IJTInternal> clashes)
-
Method Summary
-
-
-
Field Detail
-
resolved
private boolean resolved
-
clashes
private java.util.List<InferredJavaType.IJTInternal> clashes
-
id
private final int id
-
type
private JavaTypeInstance type
-
-
Constructor Detail
-
IJTInternal_Clash
private IJTInternal_Clash(java.util.Collection<InferredJavaType.IJTInternal> clashes)
-
-
Method Detail
-
getClashMatches
private static java.util.Map<JavaTypeInstance,JavaGenericRefTypeInstance> getClashMatches(java.util.List<InferredJavaType.IJTInternal> clashes)
-
getMatches
private static java.util.Map<JavaTypeInstance,JavaGenericRefTypeInstance> getMatches(java.util.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
private static Pair<java.lang.Boolean,JavaTypeInstance> collapseTypeClash2(java.util.List<JavaTypeInstance> clashes)
-
getRawType
public RawJavaType 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
public JavaTypeInstance getJavaTypeInstance()
- Specified by:
getJavaTypeInstance
in interfaceInferredJavaType.IJTInternal
-
getSource
public InferredJavaType.Source 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
public InferredJavaType.ClashState getClashState()
- Specified by:
getClashState
in interfaceInferredJavaType.IJTInternal
-
mkDelegate
public void mkDelegate(InferredJavaType.IJTInternal newDelegate)
- Specified by:
mkDelegate
in interfaceInferredJavaType.IJTInternal
-
forceType
public void forceType(JavaTypeInstance rawJavaType, boolean ignoreLock)
- Specified by:
forceType
in interfaceInferredJavaType.IJTInternal
-
markKnownBaseClass
public void markKnownBaseClass(JavaTypeInstance knownBase)
- Specified by:
markKnownBaseClass
in interfaceInferredJavaType.IJTInternal
-
getKnownBaseType
public JavaTypeInstance getKnownBaseType()
- Specified by:
getKnownBaseType
in interfaceInferredJavaType.IJTInternal
-
markClashState
public void markClashState(InferredJavaType.ClashState newClashState)
- Specified by:
markClashState
in interfaceInferredJavaType.IJTInternal
-
isLocked
public boolean isLocked()
- Specified by:
isLocked
in interfaceInferredJavaType.IJTInternal
-
getFirstLocked
public InferredJavaType.IJTInternal getFirstLocked()
- Specified by:
getFirstLocked
in interfaceInferredJavaType.IJTInternal
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-