Class ClassNameNode
java.lang.Object
org.checkerframework.dataflow.cfg.node.Node
org.checkerframework.dataflow.cfg.node.ClassNameNode
- All Implemented Interfaces:
- org.plumelib.util.UniqueId
A node representing a class name used in an expression such as a static method invocation.
 
parent.class .forName(...)
- 
Field SummaryFieldsModifier and TypeFieldDescriptionprotected final ElementThe class named by this node.The parent name, if any.The tree for this node.
- 
Constructor SummaryConstructorsConstructorDescriptionClassNameNode(ClassTree tree) Create a new ClassNameNode.ClassNameNode(IdentifierTree tree) ClassNameNode(MemberSelectTree tree, Node parent) ClassNameNode(TypeMirror type, Element element) 
- 
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- 
treeThe tree for this node.
- 
elementThe class named by this node. Either a TypeElement or a TypeParameterElement.
- 
parentThe parent name, if any.
 
- 
- 
Constructor Details- 
ClassNameNode
- 
ClassNameNodeCreate a new ClassNameNode.- Parameters:
- tree- the class tree for this node
 
- 
ClassNameNode
- 
ClassNameNode
 
- 
- 
Method Details- 
getElement
- 
getParentThe parent node of the current node.
- 
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
- 
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
 
 
-