Class InferredJavaType.IJTInternal_Impl
- java.lang.Object
-
- org.benf.cfr.reader.bytecode.analysis.types.discovery.InferredJavaType.IJTInternal_Impl
-
- All Implemented Interfaces:
InferredJavaType.IJTInternal
- Enclosing class:
- InferredJavaType
private static class InferredJavaType.IJTInternal_Impl extends java.lang.Object implements InferredJavaType.IJTInternal
-
-
Field Summary
Fields Modifier and Type Field Description private TrooleancanBeVarprivate InferredJavaType.IJTInternaldelegateprivate intidprivate booleanisDelegateprivate JavaTypeInstanceknownBaseprivate booleanlockedprivate InferredJavaType.Sourcesourceprivate inttaggedBytecodeLocationprivate JavaTypeInstancetype
-
Constructor Summary
Constructors Modifier Constructor Description privateIJTInternal_Impl(JavaTypeInstance type, InferredJavaType.Source source, boolean locked)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcollapseTypeClash()voidconfirmVarIfPossible()voidforceType(JavaTypeInstance rawJavaType, boolean ignoreLock)InferredJavaType.ClashStategetClashState()intgetFinalId()InferredJavaType.IJTInternalgetFirstLocked()JavaTypeInstancegetJavaTypeInstance()JavaTypeInstancegetKnownBaseType()intgetLocalId()RawJavaTypegetRawType()InferredJavaType.SourcegetSource()intgetTaggedBytecodeLocation()booleanisLocked()voidmarkClashState(InferredJavaType.ClashState newClashState)voidmarkKnownBaseClass(JavaTypeInstance newKnownBase)voidmkDelegate(InferredJavaType.IJTInternal newDelegate)voidsetTaggedBytecodeLocation(int location)voidshallowSetCanBeVar()java.lang.StringtoString()booleanusesFinalId(int id)
-
-
-
Field Detail
-
isDelegate
private boolean isDelegate
-
locked
private final boolean locked
-
type
private JavaTypeInstance type
-
knownBase
private JavaTypeInstance knownBase
-
taggedBytecodeLocation
private int taggedBytecodeLocation
-
source
private final InferredJavaType.Source source
-
id
private final int id
-
delegate
private InferredJavaType.IJTInternal delegate
-
canBeVar
private Troolean canBeVar
-
-
Constructor Detail
-
IJTInternal_Impl
private IJTInternal_Impl(JavaTypeInstance type, InferredJavaType.Source source, boolean locked)
-
-
Method Detail
-
getRawType
public RawJavaType 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
public JavaTypeInstance getJavaTypeInstance()
- Specified by:
getJavaTypeInstancein interfaceInferredJavaType.IJTInternal
-
getSource
public InferredJavaType.Source getSource()
- Specified by:
getSourcein interfaceInferredJavaType.IJTInternal
-
collapseTypeClash
public void collapseTypeClash()
- Specified by:
collapseTypeClashin 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
-
shallowSetCanBeVar
public void shallowSetCanBeVar()
- Specified by:
shallowSetCanBeVarin interfaceInferredJavaType.IJTInternal
-
confirmVarIfPossible
public void confirmVarIfPossible()
- Specified by:
confirmVarIfPossiblein interfaceInferredJavaType.IJTInternal
-
getClashState
public InferredJavaType.ClashState getClashState()
- Specified by:
getClashStatein interfaceInferredJavaType.IJTInternal
-
mkDelegate
public void mkDelegate(InferredJavaType.IJTInternal newDelegate)
- Specified by:
mkDelegatein interfaceInferredJavaType.IJTInternal
-
markKnownBaseClass
public void markKnownBaseClass(JavaTypeInstance newKnownBase)
- Specified by:
markKnownBaseClassin interfaceInferredJavaType.IJTInternal
-
getKnownBaseType
public JavaTypeInstance getKnownBaseType()
- Specified by:
getKnownBaseTypein interfaceInferredJavaType.IJTInternal
-
forceType
public void forceType(JavaTypeInstance rawJavaType, boolean ignoreLock)
- Specified by:
forceTypein interfaceInferredJavaType.IJTInternal
-
markClashState
public void markClashState(InferredJavaType.ClashState newClashState)
- Specified by:
markClashStatein interfaceInferredJavaType.IJTInternal
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
isLocked
public boolean isLocked()
- Specified by:
isLockedin interfaceInferredJavaType.IJTInternal
-
getFirstLocked
public InferredJavaType.IJTInternal getFirstLocked()
- Specified by:
getFirstLockedin interfaceInferredJavaType.IJTInternal
-
-