Package javassist.bytecode.analysis
Class ControlFlow.Node
- java.lang.Object
-
- javassist.bytecode.analysis.ControlFlow.Node
-
- Enclosing class:
- ControlFlow
public static class ControlFlow.Node extends java.lang.ObjectA node of (post) dominator trees.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ControlFlow.Blockblock()Returns the basic block indicated by this node.ControlFlow.Nodechild(int n)Returns the n-th child of this node.intchildren()Returns the number of the children of this node.ControlFlow.Nodeparent()Returns the parent of this node.java.lang.StringtoString()Returns aStringrepresentation.
-
-
-
Method Detail
-
toString
public java.lang.String toString()
Returns aStringrepresentation.- Overrides:
toStringin classjava.lang.Object
-
block
public ControlFlow.Block block()
Returns the basic block indicated by this node.
-
parent
public ControlFlow.Node parent()
Returns the parent of this node.
-
children
public int children()
Returns the number of the children of this node.
-
child
public ControlFlow.Node child(int n)
Returns the n-th child of this node.- Parameters:
n- an index in the array of children.
-
-