Class TypeSearchVarInfo
java.lang.Object
jadx.core.dex.visitors.typeinference.TypeSearchVarInfo
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate List<ITypeConstraint> private intprivate ArgTypeprivate booleanprivate final SSAVar -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetVar()booleanvoidmarkResolved(ArgType type) booleannextType()SwitchcurrentTypeto next candidatevoidreset()voidsetCandidateTypes(List<ArgType> candidateTypes) voidsetConstraints(List<ITypeConstraint> constraints) voidsetCurrentType(ArgType currentType) voidsetTypeResolved(boolean typeResolved) toString()
-
Field Details
-
var
-
typeResolved
private boolean typeResolved -
currentType
-
candidateTypes
-
currentIndex
private int currentIndex -
constraints
-
-
Constructor Details
-
TypeSearchVarInfo
-
-
Method Details
-
markResolved
-
reset
public void reset() -
nextType
public boolean nextType()SwitchcurrentTypeto next candidate- Returns:
- true - if this is the first candidate
-
getVar
-
isTypeResolved
public boolean isTypeResolved() -
setTypeResolved
public void setTypeResolved(boolean typeResolved) -
getCurrentType
-
setCurrentType
-
getCandidateTypes
-
setCandidateTypes
-
getConstraints
-
setConstraints
-
toString
-