| Package | Description |
|---|---|
| net.sourceforge.pmd.lang.symboltable |
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractNameDeclaration
Base class for all name declarations.
|
| Modifier and Type | Method and Description |
|---|---|
<T extends NameDeclaration> |
AbstractScope.getDeclarations(Class<T> clazz) |
<T extends NameDeclaration> |
Scope.getDeclarations(Class<T> clazz)
Helper method to get only a specific type of name declarations.
|
| Modifier and Type | Method and Description |
|---|---|
NameDeclaration |
AbstractScope.addNameOccurrence(NameOccurrence occurrence) |
NameDeclaration |
Scope.addNameOccurrence(NameOccurrence occurrence)
Adds a
NameOccurrence to this scope - only call this after getting
a true back from Scope.contains(NameOccurrence). |
| Modifier and Type | Method and Description |
|---|---|
Map<NameDeclaration,List<NameOccurrence>> |
AbstractScope.getDeclarations() |
Map<NameDeclaration,List<NameOccurrence>> |
Scope.getDeclarations()
Gets all the declaration with the occurrences in this scope.
|
| Modifier and Type | Method and Description |
|---|---|
void |
AbstractScope.addDeclaration(NameDeclaration declaration) |
void |
Scope.addDeclaration(NameDeclaration declaration)
Adds a new declaration to this scope.
|
Copyright © 2002–2016 InfoEther. All rights reserved.