Interface NameDeclaration
- All Known Implementing Classes:
AbstractNameDeclaration
Deprecated.
This is a declaration of a name, e.g. a variable or method name. See
AbstractNameDeclaration for a base class.-
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.
-
Method Details
-
getNode
ScopedNode getNode()Deprecated.Gets the node which manifests the declaration.- Returns:
- the node
-
getImage
String getImage()Deprecated.Gets the image of the node. This is usually the name of the declaration such as the variable name.- Returns:
- the image
- See Also:
-
getScope
Scope getScope()Deprecated.Gets the scope in which this name has been declared.- Returns:
- the scope
-
getName
String getName()Deprecated.Gets the name of the declaration, such as the variable name.- Returns:
-
net.sourceforge.pmd.lang.symboltable.