Class AbstractNameDeclaration
java.lang.Object
net.sourceforge.pmd.lang.symboltable.AbstractNameDeclaration
- All Implemented Interfaces:
NameDeclaration
Deprecated.
Base class for all name declarations.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetImage()Deprecated.Gets the image of the node.getName()Deprecated.Gets the name of the declaration, such as the variable name.getNode()Deprecated.Gets the node which manifests the declaration.getScope()Deprecated.Gets the scope in which this name has been declared.
-
Field Details
-
node
Deprecated.
-
-
Constructor Details
-
AbstractNameDeclaration
Deprecated.
-
-
Method Details
-
getNode
Deprecated.Description copied from interface:NameDeclarationGets the node which manifests the declaration.- Specified by:
getNodein interfaceNameDeclaration- Returns:
- the node
-
getImage
Deprecated.Description copied from interface:NameDeclarationGets the image of the node. This is usually the name of the declaration such as the variable name.- Specified by:
getImagein interfaceNameDeclaration- Returns:
- the image
- See Also:
-
getScope
Deprecated.Description copied from interface:NameDeclarationGets the scope in which this name has been declared.- Specified by:
getScopein interfaceNameDeclaration- Returns:
- the scope
-
getName
Deprecated.Description copied from interface:NameDeclarationGets the name of the declaration, such as the variable name.- Specified by:
getNamein interfaceNameDeclaration- Returns:
-
net.sourceforge.pmd.lang.symboltable.