|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Uses of NameOccurrence in net.sourceforge.pmd.ast |
---|
Methods in net.sourceforge.pmd.ast that return types with arguments of type NameOccurrence | |
---|---|
java.util.List<NameOccurrence> |
ASTVariableDeclaratorId.getUsages()
|
Uses of NameOccurrence in net.sourceforge.pmd.rules |
---|
Methods in net.sourceforge.pmd.rules with parameters of type NameOccurrence | |
---|---|
abstract boolean |
AbstractInefficientZeroCheck.isTargetMethod(NameOccurrence occ)
|
Uses of NameOccurrence in net.sourceforge.pmd.rules.design |
---|
Methods in net.sourceforge.pmd.rules.design with parameters of type NameOccurrence | |
---|---|
boolean |
UseCollectionIsEmpty.isTargetMethod(NameOccurrence occ)
Determine if we're dealing with .size method |
Uses of NameOccurrence in net.sourceforge.pmd.rules.optimization |
---|
Method parameters in net.sourceforge.pmd.rules.optimization with type arguments of type NameOccurrence | |
---|---|
protected boolean |
AbstractOptimizationRule.assigned(java.util.List<NameOccurrence> usages)
|
Uses of NameOccurrence in net.sourceforge.pmd.rules.strings |
---|
Methods in net.sourceforge.pmd.rules.strings with parameters of type NameOccurrence | |
---|---|
boolean |
InefficientEmptyStringCheck.isTargetMethod(NameOccurrence occ)
Determine if we're dealing with String.length method |
Uses of NameOccurrence in net.sourceforge.pmd.symboltable |
---|
Fields in net.sourceforge.pmd.symboltable with type parameters of type NameOccurrence | |
---|---|
protected java.util.Map<ClassNameDeclaration,java.util.List<NameOccurrence>> |
SourceFileScope.classNames
|
protected java.util.Map<ClassNameDeclaration,java.util.List<NameOccurrence>> |
ClassScope.classNames
|
protected java.util.Map<MethodNameDeclaration,java.util.List<NameOccurrence>> |
ClassScope.methodNames
|
protected java.util.Map<VariableNameDeclaration,java.util.List<NameOccurrence>> |
MethodScope.variableNames
|
protected java.util.Map<VariableNameDeclaration,java.util.List<NameOccurrence>> |
LocalScope.variableNames
|
protected java.util.Map<VariableNameDeclaration,java.util.List<NameOccurrence>> |
ClassScope.variableNames
|
Methods in net.sourceforge.pmd.symboltable that return NameOccurrence | |
---|---|
NameOccurrence |
NameOccurrence.getNameForWhichThisIsAQualifier()
|
Methods in net.sourceforge.pmd.symboltable that return types with arguments of type NameOccurrence | |
---|---|
java.util.Map<ClassNameDeclaration,java.util.List<NameOccurrence>> |
Scope.getClassDeclarations()
Returns a Map (VariableNameDeclaration->List(NameOccurrence,NameOccurrence)) of declarations that exist at this scope |
java.util.Map<ClassNameDeclaration,java.util.List<NameOccurrence>> |
AbstractScope.getClassDeclarations()
|
java.util.Map<ClassNameDeclaration,java.util.List<NameOccurrence>> |
SourceFileScope.getClassDeclarations()
|
java.util.Map<ClassNameDeclaration,java.util.List<NameOccurrence>> |
DummyScope.getClassDeclarations()
|
java.util.Map<ClassNameDeclaration,java.util.List<NameOccurrence>> |
ClassScope.getClassDeclarations()
|
java.util.Map<MethodNameDeclaration,java.util.List<NameOccurrence>> |
ClassScope.getMethodDeclarations()
|
java.util.List<NameOccurrence> |
NameFinder.getNames()
|
java.util.Map<VariableNameDeclaration,java.util.List<NameOccurrence>> |
VariableUsageFinderFunction.getUsed()
|
java.util.Map<VariableNameDeclaration,java.util.List<NameOccurrence>> |
Scope.getVariableDeclarations()
Returns a Map (VariableNameDeclaration->List(NameOccurrence,NameOccurrence)) of declarations that exist at this scope |
java.util.Map<VariableNameDeclaration,java.util.List<NameOccurrence>> |
SourceFileScope.getVariableDeclarations()
|
java.util.Map<VariableNameDeclaration,java.util.List<NameOccurrence>> |
MethodScope.getVariableDeclarations()
|
java.util.Map<VariableNameDeclaration,java.util.List<NameOccurrence>> |
LocalScope.getVariableDeclarations()
|
java.util.Map<VariableNameDeclaration,java.util.List<NameOccurrence>> |
DummyScope.getVariableDeclarations()
|
java.util.Map<VariableNameDeclaration,java.util.List<NameOccurrence>> |
ClassScope.getVariableDeclarations()
|
Methods in net.sourceforge.pmd.symboltable with parameters of type NameOccurrence | |
---|---|
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 |
MethodScope.addVariableNameOccurrence(NameOccurrence occurrence)
|
NameDeclaration |
LocalScope.addVariableNameOccurrence(NameOccurrence occurrence)
|
NameDeclaration |
DummyScope.addVariableNameOccurrence(NameOccurrence occ)
|
NameDeclaration |
ClassScope.addVariableNameOccurrence(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. |
boolean |
AbstractScope.contains(NameOccurrence occurrence)
|
boolean |
DummyScope.contains(NameOccurrence occ)
|
protected abstract NameDeclaration |
AbstractScope.findVariableHere(NameOccurrence occurrence)
|
protected NameDeclaration |
SourceFileScope.findVariableHere(NameOccurrence occ)
|
NameDeclaration |
MethodScope.findVariableHere(NameOccurrence occurrence)
|
NameDeclaration |
LocalScope.findVariableHere(NameOccurrence occurrence)
|
protected NameDeclaration |
ClassScope.findVariableHere(NameOccurrence occurrence)
|
void |
NameOccurrence.setNameWhichThisQualifies(NameOccurrence qualifiedName)
|
Constructors in net.sourceforge.pmd.symboltable with parameters of type NameOccurrence | |
---|---|
Search(NameOccurrence occ)
|
Constructor parameters in net.sourceforge.pmd.symboltable with type arguments of type NameOccurrence | |
---|---|
VariableUsageFinderFunction(java.util.Map<VariableNameDeclaration,java.util.List<NameOccurrence>> decls)
|
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |