|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.sourceforge.pmd.lang.symboltable.AbstractNameDeclaration
public abstract class AbstractNameDeclaration
Base class for all name declarations.
Field Summary | |
---|---|
protected ScopedNode |
node
|
Constructor Summary | |
---|---|
AbstractNameDeclaration(ScopedNode node)
|
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected ScopedNode node
Constructor Detail |
---|
public AbstractNameDeclaration(ScopedNode node)
Method Detail |
---|
public ScopedNode getNode()
NameDeclaration
getNode
in interface NameDeclaration
public String getImage()
NameDeclaration
getImage
in interface NameDeclaration
NameDeclaration.getName()
public Scope getScope()
NameDeclaration
getScope
in interface NameDeclaration
public String getName()
NameDeclaration
getName
in interface NameDeclaration
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |