## Uses of Interface
net.sourceforge.pmd.lang.java.symboltable.NameDeclaration

Packages that use NameDeclaration
Package | Description
--- | ---
net.sourceforge.pmd.lang.java.ast |
net.sourceforge.pmd.lang.java.symboltable |

### Uses of NameDeclaration in net.sourceforge.pmd.lang.java.ast

Methods in net.sourceforge.pmd.lang.java.ast that return NameDeclaration
Modifier and Type | Method and Description
--- | ---
`NameDeclaration` | ASTName.`getNameDeclaration()`

Methods in net.sourceforge.pmd.lang.java.ast with parameters of type NameDeclaration
Modifier and Type | Method and Description
--- | ---
`void` | ASTName.`setNameDeclaration(NameDeclaration nd)`

### Uses of NameDeclaration in net.sourceforge.pmd.lang.java.symboltable

Classes in net.sourceforge.pmd.lang.java.symboltable that implement NameDeclaration
Modifier and Type | Class and Description
--- | ---
`class` | `AbstractNameDeclaration`
`class` | `ClassNameDeclaration`
`class` | `MethodNameDeclaration`
`class` | `VariableNameDeclaration`

Methods in net.sourceforge.pmd.lang.java.symboltable that return NameDeclaration
Modifier and Type | Method and Description
--- | ---
`NameDeclaration` | MethodScope.`addVariableNameOccurrence(NameOccurrence occurrence)`
`NameDeclaration` | DummyScope.`addVariableNameOccurrence(NameOccurrence occ)`
`NameDeclaration` | LocalScope.`addVariableNameOccurrence(NameOccurrence occurrence)`
`NameDeclaration` | Scope.`addVariableNameOccurrence(NameOccurrence occ)` Adds a NameOccurrence to this scope - only call this after getting a true back from contains()
`NameDeclaration` | SourceFileScope.`addVariableNameOccurrence(NameOccurrence occ)`
`NameDeclaration` | ClassScope.`addVariableNameOccurrence(NameOccurrence occurrence)`
`NameDeclaration` | MethodScope.`findVariableHere(NameOccurrence occurrence)`
`protected abstract NameDeclaration` | AbstractScope.`findVariableHere(NameOccurrence occurrence)`
`NameDeclaration` | LocalScope.`findVariableHere(NameOccurrence occurrence)`
`protected NameDeclaration` | SourceFileScope.`findVariableHere(NameOccurrence occ)`
`protected NameDeclaration` | ClassScope.`findVariableHere(NameOccurrence occurrence)`
`NameDeclaration` | ImageFinderFunction.`getDecl()`
`NameDeclaration` | Search.`getResult()`

Methods in net.sourceforge.pmd.lang.java.symboltable with parameters of type NameDeclaration
Modifier and Type | Method and Description
--- | ---
`void` | ImageFinderFunction.`applyTo(NameDeclaration nameDeclaration)`