NameDeclaration
public abstract class AbstractNameDeclaration extends java.lang.Object implements NameDeclaration
Modifier and Type | Field | Description |
---|---|---|
protected ScopedNode |
node |
Constructor | Description |
---|---|
AbstractNameDeclaration(ScopedNode node) |
Modifier and Type | Method | Description |
---|---|---|
java.lang.String |
getImage() |
Gets the image of the node.
|
java.lang.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.
|
protected ScopedNode node
public AbstractNameDeclaration(ScopedNode node)
public ScopedNode getNode()
NameDeclaration
getNode
in interface NameDeclaration
public java.lang.String getImage()
NameDeclaration
getImage
in interface NameDeclaration
NameDeclaration.getName()
public Scope getScope()
NameDeclaration
getScope
in interface NameDeclaration
public java.lang.String getName()
NameDeclaration
getName
in interface NameDeclaration
Copyright © 2002–2018 PMD. All rights reserved.