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