|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Uses of NameOccurrence in net.sourceforge.pmd.lang.java.ast |
---|
Methods in net.sourceforge.pmd.lang.java.ast that return types with arguments of type NameOccurrence | |
---|---|
List<NameOccurrence> |
ASTVariableDeclaratorId.getUsages()
|
Uses of NameOccurrence in net.sourceforge.pmd.lang.java.rule |
---|
Methods in net.sourceforge.pmd.lang.java.rule with parameters of type NameOccurrence | |
---|---|
abstract boolean |
AbstractInefficientZeroCheck.isTargetMethod(NameOccurrence occ)
|
Uses of NameOccurrence in net.sourceforge.pmd.lang.java.rule.design |
---|
Methods in net.sourceforge.pmd.lang.java.rule.design with parameters of type NameOccurrence | |
---|---|
boolean |
UseCollectionIsEmptyRule.isTargetMethod(NameOccurrence occ)
Determine if we're dealing with .size method |
Uses of NameOccurrence in net.sourceforge.pmd.lang.java.rule.optimizations |
---|
Method parameters in net.sourceforge.pmd.lang.java.rule.optimizations with type arguments of type NameOccurrence | |
---|---|
protected boolean |
AbstractOptimizationRule.assigned(List<NameOccurrence> usages)
|
Uses of NameOccurrence in net.sourceforge.pmd.lang.java.rule.strings |
---|
Methods in net.sourceforge.pmd.lang.java.rule.strings with parameters of type NameOccurrence | |
---|---|
boolean |
InefficientEmptyStringCheckRule.isTargetMethod(NameOccurrence occ)
Determine if we're dealing with String.length method |
Uses of NameOccurrence in net.sourceforge.pmd.lang.java.symboltable |
---|
Fields in net.sourceforge.pmd.lang.java.symboltable with type parameters of type NameOccurrence | |
---|---|
protected Map<ClassNameDeclaration,List<NameOccurrence>> |
SourceFileScope.classNames
|
protected Map<ClassNameDeclaration,List<NameOccurrence>> |
ClassScope.classNames
|
protected Map<MethodNameDeclaration,List<NameOccurrence>> |
ClassScope.methodNames
|
protected Map<VariableNameDeclaration,List<NameOccurrence>> |
MethodScope.variableNames
|
protected Map<VariableNameDeclaration,List<NameOccurrence>> |
LocalScope.variableNames
|
protected Map<VariableNameDeclaration,List<NameOccurrence>> |
ClassScope.variableNames
|
Methods in net.sourceforge.pmd.lang.java.symboltable that return NameOccurrence | |
---|---|
NameOccurrence |
NameOccurrence.getNameForWhichThisIsAQualifier()
|
Methods in net.sourceforge.pmd.lang.java.symboltable with parameters of type NameOccurrence | |
---|---|
NameDeclaration |
MethodScope.addVariableNameOccurrence(NameOccurrence occurrence)
|
NameDeclaration |
DummyScope.addVariableNameOccurrence(NameOccurrence occ)
|
NameDeclaration |
LocalScope.addVariableNameOccurrence(NameOccurrence occurrence)
|
NameDeclaration |
Scope.addVariableNameOccurrence(NameOccurrence occ)
Adds a NameOccurrence to this scope - only call this after getting a true back from contains() |
NameDeclaration |
SourceFileScope.addVariableNameOccurrence(NameOccurrence occ)
|
NameDeclaration |
ClassScope.addVariableNameOccurrence(NameOccurrence occurrence)
|
boolean |
DummyScope.contains(NameOccurrence occ)
|
boolean |
AbstractScope.contains(NameOccurrence occurrence)
|
boolean |
Scope.contains(NameOccurrence occ)
Tests whether or not a NameOccurrence is directly contained in the scope Note that this search is just for this scope - it doesn't go diving into any child scopes. |
NameDeclaration |
MethodScope.findVariableHere(NameOccurrence occurrence)
|
protected abstract NameDeclaration |
AbstractScope.findVariableHere(NameOccurrence occurrence)
|
NameDeclaration |
LocalScope.findVariableHere(NameOccurrence occurrence)
|
protected NameDeclaration |
SourceFileScope.findVariableHere(NameOccurrence occ)
|
protected NameDeclaration |
ClassScope.findVariableHere(NameOccurrence occurrence)
|
void |
NameOccurrence.setNameWhichThisQualifies(NameOccurrence qualifiedName)
|
Constructors in net.sourceforge.pmd.lang.java.symboltable with parameters of type NameOccurrence | |
---|---|
Search(NameOccurrence occ)
|
Constructor parameters in net.sourceforge.pmd.lang.java.symboltable with type arguments of type NameOccurrence | |
---|---|
VariableUsageFinderFunction(Map<VariableNameDeclaration,List<NameOccurrence>> decls)
|
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |