Package | Description |
---|---|
net.sourceforge.pmd.lang.symboltable |
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.
|
<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) . |
boolean |
AbstractScope.contains(NameOccurrence occ) |
boolean |
Scope.contains(NameOccurrence occ)
Tests whether or not a
NameOccurrence is directly contained in the scope. |
Copyright © 2002-2014 InfoEther. All Rights Reserved.