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
ConstructorsConstructorDescriptionCatchMarkerNode(@Nullable Tree tree, String startOrEnd, TypeMirror catchType, Types types) Creates a new CatchMarkerNode. -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturns the type of the exception parameter.inthashCode()Methods inherited from class org.checkerframework.dataflow.cfg.node.MarkerNode
accept, getMessage, getOperands, getTree, toStringMethods inherited from class org.checkerframework.dataflow.cfg.node.Node
getBlock, getInSource, getTransitiveOperands, getType, getUid, isLValue, nodeCollectionToString, setBlock, setInSource, setLValue, toStringDebugMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods 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:
equalsin classMarkerNode
-
hashCode
public int hashCode()- Overrides:
hashCodein classMarkerNode
-