Class Stmt

java.lang.Object
com.googlecode.dex2jar.ir.stmt.Stmt
Direct Known Subclasses:
Stmt.E0Stmt, Stmt.E1Stmt, Stmt.E2Stmt

public abstract class Stmt extends Object
Represent a statement
See Also:
  • Field Details

    • CAN_CONTINUE

      public static final int CAN_CONTINUE
      See Also:
    • CAN_BRNANCH

      public static final int CAN_BRNANCH
      See Also:
    • CAN_SWITCH

      public static final int CAN_SWITCH
      See Also:
    • CAN_THROW

      public static final int CAN_THROW
      See Also:
    • MAY_THROW

      public static final int MAY_THROW
      See Also:
    • cfgFroms

      public Set<Stmt> cfgFroms
      Used in construct of a method CFG, Previous Stmt nodes
    • exceptionHandlers

      public Set<LabelStmt> exceptionHandlers
      Used in construct of a method CFG, After Stmt nodes
    • visited

      public boolean visited
      Used in visit the method CFG
    • frame

      public Object frame
      Used in Local Split, forward frame of the Stmt
    • tsDefaultNext

      public Stmt tsDefaultNext
    • et

      public final ET et
      The number of argument
    • id

      public int id
      Used in ordering statements in a TreeSet, id of the Stmt in its StmtList
    • st

      public final Stmt.ST st
      Statement Type
  • Constructor Details

    • Stmt

      protected Stmt(Stmt.ST st, ET et)
      Parameters:
      st - Statement Type
      et - The number of argument
  • Method Details

    • clone

      public abstract Stmt clone(LabelAndLocalMapper mapper)
    • getNext

      public final Stmt getNext()
      Returns:
      Next statement in StmtList, null if it is the last statement in StmtList
    • getOp

      public Value getOp()
    • getOp1

      public Value getOp1()
    • getOp2

      public Value getOp2()
    • getOps

      public Value[] getOps()
    • getPre

      public final Stmt getPre()
      Returns:
      Previous statement in StmtList, null if it is the first statement in StmtList
    • setOp

      public void setOp(Value op)
    • setOp1

      public void setOp1(Value op)
    • setOp2

      public void setOp2(Value op)
    • setOps

      public void setOps(Value[] op)