Uses of Interface
net.sourceforge.pmd.lang.symboltable.NameOccurrence
-
Packages that use NameOccurrence Package Description net.sourceforge.pmd.lang.symboltable -
-
Uses of NameOccurrence in net.sourceforge.pmd.lang.symboltable
Methods in net.sourceforge.pmd.lang.symboltable that return types with arguments of type NameOccurrence Modifier and Type Method Description Map<NameDeclaration,List<NameOccurrence>>
AbstractScope. getDeclarations()
<T extends NameDeclaration>
Map<T,List<NameOccurrence>>AbstractScope. getDeclarations(Class<T> clazz)
Map<NameDeclaration,List<NameOccurrence>>
Scope. getDeclarations()
Gets all the declaration with the occurrences in this scope.<T extends NameDeclaration>
Map<T,List<NameOccurrence>>Scope. getDeclarations(Class<T> clazz)
Helper method to get only a specific type of name declarations.Methods in net.sourceforge.pmd.lang.symboltable with parameters of type NameOccurrence Modifier and Type Method Description Set<NameDeclaration>
AbstractScope. addNameOccurrence(NameOccurrence occurrence)
Set<NameDeclaration>
Scope. addNameOccurrence(NameOccurrence occurrence)
Adds aNameOccurrence
to this scope - only call this after getting a true back fromScope.contains(NameOccurrence)
.boolean
AbstractScope. contains(NameOccurrence occ)
boolean
Scope. contains(NameOccurrence occ)
Tests whether or not aNameOccurrence
is directly contained in the scope.
-