Uses of Interface
net.sourceforge.pmd.lang.symboltable.NameDeclaration
-
Packages that use NameDeclaration Package Description net.sourceforge.pmd.lang.symboltable -
-
Uses of NameDeclaration in net.sourceforge.pmd.lang.symboltable
Classes in net.sourceforge.pmd.lang.symboltable that implement NameDeclaration Modifier and Type Class Description class
AbstractNameDeclaration
Base class for all name declarations.Methods in net.sourceforge.pmd.lang.symboltable with type parameters of type NameDeclaration Modifier and Type Method Description <T extends NameDeclaration>
Map<T,List<NameOccurrence>>AbstractScope. getDeclarations(Class<T> clazz)
<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 that return NameDeclaration Modifier and Type Method Description NameDeclaration
ImageFinderFunction. getDecl()
Methods in net.sourceforge.pmd.lang.symboltable that return types with arguments of type NameDeclaration 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)
.Map<NameDeclaration,List<NameOccurrence>>
AbstractScope. getDeclarations()
Map<NameDeclaration,List<NameOccurrence>>
Scope. getDeclarations()
Gets all the declaration with the occurrences in this scope.Methods in net.sourceforge.pmd.lang.symboltable with parameters of type NameDeclaration Modifier and Type Method Description void
AbstractScope. addDeclaration(NameDeclaration declaration)
void
Scope. addDeclaration(NameDeclaration declaration)
Adds a new declaration to this scope.boolean
ImageFinderFunction. test(NameDeclaration nameDeclaration)
-