AST
node type BranchTargetStmt

General Info

Production
BranchTargetStmt : Stmt;
Type Hierarchy:
java.lang.Object
  extended by beaver.Symbol
      extended by AST.ASTNode<ASTNode>
          extended by AST.Stmt
              extended by AST.BranchTargetStmt
All Implemented Interfaces:
BranchPropagation, java.lang.Cloneable, java.lang.Iterable<ASTNode>
Direct Known Subclasses:
DoStmt, EnhancedForStmt, ForStmt, LabeledStmt, SwitchStmt, WhileStmt

Description

Source
Declared in Java1.4Frontend/java.ast at line 196

Member Filters

API level:

Aspect:

Constructors

 

Attributes

syn boolean targetOf(ContinueStmt stmt)
Specified by:targetOf in interface BranchPropagation
Source
Declared in Java1.4Frontend/BranchTarget.jrag at line 39
Aspect
BranchTarget
syn boolean targetOf(BreakStmt stmt)
Specified by:targetOf in interface BranchPropagation
Source
Declared in Java1.4Frontend/BranchTarget.jrag at line 40
Aspect
BranchTarget
syn boolean reachableBreak()
Source
Declared in Java1.4Frontend/UnreachableStatements.jrag at line 49
Aspect
UnreachableStatements
syn boolean reachableContinue()
Source
Declared in Java1.4Frontend/UnreachableStatements.jrag at line 91
Aspect
UnreachableStatements
syn java.util.Collection targetBranches()
Specified by:targetBranches in interface BranchPropagation
Source
Declared in Java1.4Frontend/BranchTarget.jrag at line 82
Aspect
BranchTarget
syn java.util.Collection escapedBranches()
Specified by:escapedBranches in interface BranchPropagation
Source
Declared in Java1.4Frontend/BranchTarget.jrag at line 94
Aspect
BranchTarget
syn java.util.Collection branches()
Specified by:branches in interface BranchPropagation
Source
Declared in Java1.4Frontend/BranchTarget.jrag at line 108
Aspect
BranchTarget
syn java.util.Collection targetContinues()
Specified by:targetContinues in interface BranchPropagation
Source
Declared in Java1.4Frontend/BranchTarget.jrag at line 215
Aspect
BranchTarget
syn java.util.Collection targetBreaks()
Specified by:targetBreaks in interface BranchPropagation
Source
Declared in Java1.4Frontend/BranchTarget.jrag at line 232
Aspect
BranchTarget

Methods

public void flushCache()
Overrides:flushCache in class Stmt
public void flushCollectionCache()
Overrides:flushCollectionCache in class Stmt
public BranchTargetStmt clone()
                       throws java.lang.CloneNotSupportedException
Overrides:clone in class Stmt
Throws:
java.lang.CloneNotSupportedException
public void collectBranches(java.util.Collection c)
Specified by:collectBranches in interface BranchPropagationOverrides:collectBranches in class ASTNode<ASTNode>
Source
Declared in Java1.4Frontend/BranchTarget.jrag at line 57
Aspect
BranchTarget
public Stmt branchTarget(Stmt branchStmt)
Specified by:branchTarget in interface BranchPropagationOverrides:branchTarget in class ASTNode<ASTNode>
Source
Declared in Java1.4Frontend/BranchTarget.jrag at line 156
Aspect
BranchTarget
public void collectFinally(Stmt branchStmt,
                           java.util.ArrayList list)
Specified by:collectFinally in interface BranchPropagationOverrides:collectFinally in class ASTNode<ASTNode>
Source
Declared in Java1.4Frontend/BranchTarget.jrag at line 194
Aspect
BranchTarget
public void init$Children()
Initializes the child array to the correct size. Initializes List and Opt nta children.
Overrides:init$Children in class Stmt
protected int numChildren()
Overrides:numChildren in class Stmt
public boolean mayHaveRewrite()
Overrides:mayHaveRewrite in class Stmt
Overrides:rewriteTo in class Stmt

Fields

protected boolean reachableBreak_computed
protected boolean reachableBreak_value
protected boolean reachableContinue_computed
protected boolean reachableContinue_value
protected boolean targetBranches_computed
protected java.util.Collection targetBranches_value
protected boolean escapedBranches_computed
protected java.util.Collection escapedBranches_value
protected boolean branches_computed
protected java.util.Collection branches_value
protected boolean targetContinues_computed
protected java.util.Collection targetContinues_value
protected boolean targetBreaks_computed
protected java.util.Collection targetBreaks_value

Inherited Members

Attributes inherited from AST.Stmt

Attributes inherited from AST.ASTNode

Methods inherited from class AST.Stmt

Methods inherited from class AST.ASTNode

Methods inherited from class beaver.Symbol

getColumn
getEnd
getId
getLine
getStart
makePosition

Methods inherited from class java.lang.Object

equals
finalize
getClass
hashCode
notify
notifyAll
wait
wait
wait

Fields inherited from AST.Stmt

Fields inherited from AST.ASTNode

Fields inherited from beaver.Symbol

end
id
start
value