SandMark version 2.0


sandmark.obfuscate.boolsplitter.dtree
Class JsrStmt

java.lang.Object
  |
  +--sandmark.obfuscate.boolsplitter.dtree.Node
        |
        +--sandmark.obfuscate.boolsplitter.dtree.Stmt
              |
              +--sandmark.obfuscate.boolsplitter.dtree.JumpStmt
                    |
                    +--sandmark.obfuscate.boolsplitter.dtree.JsrStmt

public class JsrStmt
extends JumpStmt

JsrStmt represents a jsr instruction that jumps to a subroutine. Recall that a subroutine is used to implement the finally cause in exception handlers. The ret instruction is used to return from a subroutine.

See Also:
RetStmt, Subroutine

Field Summary
(package private)  Block follow
           
(package private)  Subroutine sub
           
 
Fields inherited from class sandmark.obfuscate.boolsplitter.dtree.JumpStmt
catchTargets
 
Fields inherited from class sandmark.obfuscate.boolsplitter.dtree.Node
key, parent, valueNumber
 
Constructor Summary
JsrStmt(Subroutine sub, Block follow)
          Constructor.
 
Method Summary
 java.lang.Object clone()
           
 Block follow()
           
 void setFollow(Block follow)
           
 Subroutine sub()
           
 void visit(TreeVisitor visitor)
           
 void visitForceChildren(TreeVisitor visitor)
          Visit the children of this node.
 
Methods inherited from class sandmark.obfuscate.boolsplitter.dtree.JumpStmt
catchTargets, copyInto
 
Methods inherited from class sandmark.obfuscate.boolsplitter.dtree.Stmt
cleanupOnly
 
Methods inherited from class sandmark.obfuscate.boolsplitter.dtree.Node
block, cleanup, hasParent, key, parent, replaceWith, replaceWith, setKey, setParent, setValueNumber, toString, valueNumber, visitChildren, visitOnly
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

sub

Subroutine sub

follow

Block follow
Constructor Detail

JsrStmt

public JsrStmt(Subroutine sub,
               Block follow)
Constructor.

Parameters:
sub - Subroutine that this statement jumps to.
follow - Basic Block following the jump statement.
Method Detail

setFollow

public void setFollow(Block follow)

follow

public Block follow()

sub

public Subroutine sub()

visitForceChildren

public void visitForceChildren(TreeVisitor visitor)
Description copied from class: Node
Visit the children of this node. Not all Nodes will have children to visit.

Specified by:
visitForceChildren in class Node

visit

public void visit(TreeVisitor visitor)
Specified by:
visit in class Node

clone

public java.lang.Object clone()
Specified by:
clone in class Stmt

SandMark version 2.0

Mon Jun 17 12:30:47 MST 2002