Class TypeSearchVarInfo

java.lang.Object
jadx.core.dex.visitors.typeinference.TypeSearchVarInfo

public class TypeSearchVarInfo extends Object
  • Field Details

    • var

      private final SSAVar var
    • typeResolved

      private boolean typeResolved
    • currentType

      private ArgType currentType
    • candidateTypes

      private List<ArgType> candidateTypes
    • currentIndex

      private int currentIndex
    • constraints

      private List<ITypeConstraint> constraints
  • Constructor Details

    • TypeSearchVarInfo

      public TypeSearchVarInfo(SSAVar var)
  • Method Details

    • markResolved

      public void markResolved(ArgType type)
    • reset

      public void reset()
    • nextType

      public boolean nextType()
      Switch currentType to next candidate
      Returns:
      true - if this is the first candidate
    • getVar

      public SSAVar getVar()
    • isTypeResolved

      public boolean isTypeResolved()
    • setTypeResolved

      public void setTypeResolved(boolean typeResolved)
    • getCurrentType

      public ArgType getCurrentType()
    • setCurrentType

      public void setCurrentType(ArgType currentType)
    • getCandidateTypes

      public List<ArgType> getCandidateTypes()
    • setCandidateTypes

      public void setCandidateTypes(List<ArgType> candidateTypes)
    • getConstraints

      public List<ITypeConstraint> getConstraints()
    • setConstraints

      public void setConstraints(List<ITypeConstraint> constraints)
    • toString

      public String toString()
      Overrides:
      toString in class Object