net.sourceforge.pmd.lang.symboltable
Interface NameDeclaration

All Known Implementing Classes:
AbstractNameDeclaration

public interface NameDeclaration

This is a declaration of a name, e.g. a variable or method name. See AbstractNameDeclaration for a base class.


Method Summary
 String getImage()
          Gets the image of the node.
 String getName()
          Gets the name of the declaration, such as the variable name.
 ScopedNode getNode()
          Gets the node which manifests the declaration.
 Scope getScope()
          Gets the scope in which this name has been declared.
 

Method Detail

getNode

ScopedNode getNode()
Gets the node which manifests the declaration.

Returns:
the node

getImage

String getImage()
Gets the image of the node. This is usually the name of the declaration such as the variable name.

Returns:
the image
See Also:
getName()

getScope

Scope getScope()
Gets the scope in which this name has been declared.

Returns:
the scope

getName

String getName()
Gets the name of the declaration, such as the variable name.

Returns:


Copyright © 2002-2015 InfoEther. All Rights Reserved.