Class CatchMarkerNode
java.lang.Object
org.checkerframework.dataflow.cfg.node.Node
org.checkerframework.dataflow.cfg.node.MarkerNode
org.checkerframework.dataflow.cfg.node.CatchMarkerNode
- All Implemented Interfaces:
org.plumelib.util.UniqueId
A CatchMarkerNode is a marker node for the beginning or end of a catch block.
-
Field Summary
Fields inherited from class org.checkerframework.dataflow.cfg.node.MarkerNode
message, tree
-
Constructor Summary
ConstructorDescriptionCatchMarkerNode
(@Nullable Tree tree, String startOrEnd, TypeMirror catchType, Types types) Creates a new CatchMarkerNode. -
Method Summary
Modifier and TypeMethodDescriptionboolean
Returns the type of the exception parameter.int
hashCode()
Methods inherited from class org.checkerframework.dataflow.cfg.node.MarkerNode
accept, getMessage, getOperands, getTree, toString
Methods inherited from class org.checkerframework.dataflow.cfg.node.Node
getBlock, getInSource, getTransitiveOperands, getType, getUid, isLValue, nodeCollectionToString, setBlock, setInSource, setLValue, toStringDebug
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.plumelib.util.UniqueId
getClassAndUid
-
Constructor Details
-
CatchMarkerNode
Creates a new CatchMarkerNode.- Parameters:
tree
- the treestartOrEnd
-"start"
or"end"
catchType
- the type of the exception parametertypes
- the type utilities
-
-
Method Details
-
getCatchType
Returns the type of the exception parameter.- Returns:
- the type of the exception parameter
-
equals
- Overrides:
equals
in classMarkerNode
-
hashCode
public int hashCode()- Overrides:
hashCode
in classMarkerNode
-