trait CFGNode extends Node
The common super trait of all nodes belonging to a method's control flow graph.
- Source
- CFGNode.scala
- Alphabetic
- By Inheritance
- CFGNode
- Node
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Abstract Value Members
- abstract def isAbnormalReturnExitNode: Boolean
- abstract def isBasicBlock: Boolean
- abstract def isCatchNode: Boolean
- abstract def isExitNode: Boolean
- abstract def isNormalReturnExitNode: Boolean
- abstract def isStartOfSubroutine: Boolean
- abstract def nodeId: Int
An identifier that uniquely identifies this node in the graph to which this node belongs.
An identifier that uniquely identifies this node in the graph to which this node belongs. By default two nodes are considered equal if they have the same unique id.
- Definition Classes
- Node
- abstract def toHRR: Option[String]
Returns a human readable representation (HRR) of this node.
Returns a human readable representation (HRR) of this node.
- Definition Classes
- Node
Concrete Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- def addPredecessor(predecessor: CFGNode): Unit
- def addPredecessors(predecessor: IterableOnce[CFGNode]): Unit
- def addSuccessor(successor: CFGNode): Unit
- def asBasicBlock: BasicBlock
- def asCatchNode: CatchNode
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native() @IntrinsicCandidate()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(other: Any): Boolean
- Definition Classes
- Node → AnyRef → Any
- final def foreachSuccessor(f: (Node) => Unit): Unit
Applies the given function for each successor node.
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @IntrinsicCandidate()
- final def hasSuccessors: Boolean
Returns
true
if this node has successor nodes. - def hashCode(): Int
The hash code of this node.
The hash code of this node. By default the hash code is the unique id.
- Definition Classes
- Node → AnyRef → Any
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def mayThrowException: Boolean
Returns
true
if the last instruction of this basic block throws/may throw an exception; whether the exception is handled or not is not relevant! - final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @IntrinsicCandidate()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @IntrinsicCandidate()
- def predecessors: Set[CFGNode]
- def reachable(reflexive: Boolean = false): Set[CFGNode]
Computes the set of all CFGNodes that are reachable from this one.
Computes the set of all CFGNodes that are reachable from this one.
- Note
The result is not cached.
- def removePredecessor(predecessor: CFGNode): Unit
- def successors: Set[CFGNode]
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- def visualProperties: Map[String, String]
- Definition Classes
- Node
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated