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> |
Scope.getDeclarations(Class<T> clazz)
Helper method to get only a specific type of name declarations.
|
<T extends NameDeclaration> |
AbstractScope.getDeclarations(Class<T> clazz) |
Modifier and Type | Method and Description |
---|---|
NameDeclaration |
ImageFinderFunction.getDecl() |
Modifier and Type | Method and Description |
---|---|
Set<NameDeclaration> |
Scope.addNameOccurrence(NameOccurrence occurrence)
Adds a
NameOccurrence to this scope - only call this after getting
a true back from Scope.contains(NameOccurrence) . |
Set<NameDeclaration> |
AbstractScope.addNameOccurrence(NameOccurrence occurrence) |
Map<NameDeclaration,List<NameOccurrence>> |
Scope.getDeclarations()
Gets all the declaration with the occurrences in this scope.
|
Map<NameDeclaration,List<NameOccurrence>> |
AbstractScope.getDeclarations() |
Modifier and Type | Method and Description |
---|---|
void |
Scope.addDeclaration(NameDeclaration declaration)
Adds a new declaration to this scope.
|
void |
AbstractScope.addDeclaration(NameDeclaration declaration) |
boolean |
ImageFinderFunction.applyTo(NameDeclaration nameDeclaration) |
Copyright © 2002–2017 PMD. All rights reserved.