Package | Description |
---|---|
net.sourceforge.pmd.lang.symboltable |
Modifier and Type | Method | Description |
---|---|---|
java.util.Map<NameDeclaration,java.util.List<NameOccurrence>> |
AbstractScope.getDeclarations() |
|
<T extends NameDeclaration> |
AbstractScope.getDeclarations(java.lang.Class<T> clazz) |
|
java.util.Map<NameDeclaration,java.util.List<NameOccurrence>> |
Scope.getDeclarations() |
Gets all the declaration with the occurrences in this scope.
|
<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 |
---|---|---|
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) . |
boolean |
AbstractScope.contains(NameOccurrence occ) |
|
boolean |
Scope.contains(NameOccurrence occ) |
Tests whether or not a
NameOccurrence is directly contained in
the scope. |
Copyright © 2002–2018 PMD. All rights reserved.