Class ConditionalNotNode
- java.lang.Object
-
- org.checkerframework.dataflow.cfg.node.Node
-
- org.checkerframework.dataflow.cfg.node.UnaryOperationNode
-
- org.checkerframework.dataflow.cfg.node.ConditionalNotNode
-
- All Implemented Interfaces:
org.plumelib.util.UniqueId
public class ConditionalNotNode extends UnaryOperationNode
A node for a conditional not expression:! expression
-
-
Constructor Summary
Constructors Constructor Description ConditionalNotNode(com.sun.source.tree.UnaryTree tree, Node operand)
Create a new ConditionalNotNode.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <R,P>
Raccept(NodeVisitor<R,P> visitor, P p)
Accept method of the visitor pattern.boolean
equals(@Nullable java.lang.Object obj)
int
hashCode()
java.lang.String
toString()
-
Methods inherited from class org.checkerframework.dataflow.cfg.node.UnaryOperationNode
getOperand, getOperands, getTree
-
Methods inherited from class org.checkerframework.dataflow.cfg.node.Node
getBlock, getInSource, getTransitiveOperands, getType, getUid, isLValue, nodeCollectionToString, setBlock, setInSource, setLValue, toStringDebug
-
-
-
-
Constructor Detail
-
ConditionalNotNode
public ConditionalNotNode(com.sun.source.tree.UnaryTree tree, Node operand)
Create a new ConditionalNotNode.- Parameters:
tree
- the logical-complement tree for this nodeoperand
- the boolean expression being negated
-
-
Method Detail
-
accept
public <R,P> R accept(NodeVisitor<R,P> visitor, P p)
Description copied from class:Node
Accept method of the visitor pattern.
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
equals
public boolean equals(@Nullable java.lang.Object obj)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
-