Class FieldAccessNode
java.lang.Object
org.checkerframework.dataflow.cfg.node.Node
org.checkerframework.dataflow.cfg.node.FieldAccessNode
- All Implemented Interfaces:
- org.plumelib.util.UniqueId
A node for a field access, including a method accesses:
 
expression . field
- 
Field SummaryFieldsModifier and TypeFieldDescriptionprotected final VariableElementprotected final Stringprotected final Nodeprotected final Tree
- 
Constructor SummaryConstructorsConstructorDescriptionFieldAccessNode(Tree tree, VariableElement element, Node receiver) FieldAccessNode(Tree tree, Node receiver) Creates a new FieldAccessNode.
- 
Method SummaryMethods inherited from class org.checkerframework.dataflow.cfg.node.NodegetBlock, getInSource, getTransitiveOperands, getType, getUid, isLValue, nodeCollectionToString, setBlock, setInSource, setLValue, toStringDebugMethods inherited from class java.lang.Objectclone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface org.plumelib.util.UniqueIdgetClassAndUid
- 
Field Details- 
tree
- 
element
- 
field
- 
receiver
 
- 
- 
Constructor Details- 
FieldAccessNodeCreates a new FieldAccessNode.- Parameters:
- tree- the tree from which to create a FieldAccessNode
- receiver- the receiver for the resuling FieldAccessNode
 
- 
FieldAccessNode
 
- 
- 
Method Details- 
getElement
- 
getReceiver
- 
getFieldName
- 
getTreeDescription copied from class:NodeReturns theTreein the abstract syntax tree, ornullif no corresponding tree exists. For instance, this is the case for anImplicitThisNode.
- 
acceptDescription copied from class:NodeAccept method of the visitor pattern.
- 
toString
- 
isStaticpublic boolean isStatic()Is this a static field?
- 
equals
- 
hashCodepublic int hashCode()
- 
getOperandsDescription copied from class:Node- Specified by:
- getOperandsin class- Node
- Returns:
- a collection containing all of the operand Nodes of thisNode
 
 
-