Class JumpStmt

Direct Known Subclasses:
GotoStmt, IfStmt, JsrStmt, RetStmt, ReturnExprStmt, ReturnStmt, SwitchStmt, ThrowStmt

public abstract class JumpStmt extends Stmt
JumpStmt is the super class for several classes that represent statements that chang the flow of control in a program.
See Also:
  • Constructor Details

    • JumpStmt

      public JumpStmt()
  • Method Details

    • catchTargets

      public Collection catchTargets()
      The Block containing this JumpStmt may lie within a try block (i.e. it is a protected block). If so, then catchTargets() returns a set of Blocks that begin the exception handler for the exception that may be thrown in the protected block.
    • copyInto

      protected Node copyInto(Node node)
      Description copied from class: Node
      Copies the contents of one Node into another.
      Overrides:
      copyInto in class Node
      Parameters:
      node - A Node from which to copy.
      Returns:
      node containing the contents of this Node.