Package | Description |
---|---|
net.sourceforge.pmd.lang.java.ast | |
net.sourceforge.pmd.lang.java.symboltable | |
net.sourceforge.pmd.lang.java.typeresolution |
Modifier and Type | Method and Description |
---|---|
VariableNameDeclaration |
ASTVariableDeclaratorId.getNameDeclaration() |
Modifier and Type | Method and Description |
---|---|
void |
ASTVariableDeclaratorId.setNameDeclaration(VariableNameDeclaration decl) |
Modifier and Type | Field and Description |
---|---|
protected Map<VariableNameDeclaration,List<NameOccurrence>> |
LocalScope.variableNames |
protected Map<VariableNameDeclaration,List<NameOccurrence>> |
MethodScope.variableNames |
protected Map<VariableNameDeclaration,List<NameOccurrence>> |
ClassScope.variableNames |
Modifier and Type | Method and Description |
---|---|
Map<VariableNameDeclaration,List<NameOccurrence>> |
VariableUsageFinderFunction.getUsed() |
Map<VariableNameDeclaration,List<NameOccurrence>> |
LocalScope.getVariableDeclarations() |
Map<VariableNameDeclaration,List<NameOccurrence>> |
MethodScope.getVariableDeclarations() |
Map<VariableNameDeclaration,List<NameOccurrence>> |
ClassScope.getVariableDeclarations() |
Map<VariableNameDeclaration,List<NameOccurrence>> |
DummyScope.getVariableDeclarations() |
Map<VariableNameDeclaration,List<NameOccurrence>> |
Scope.getVariableDeclarations()
Returns a Map (VariableNameDeclaration->List(NameOccurrence,NameOccurrence)) of declarations that
exist at this scope
|
Map<VariableNameDeclaration,List<NameOccurrence>> |
SourceFileScope.getVariableDeclarations() |
Modifier and Type | Method and Description |
---|---|
void |
LocalScope.addDeclaration(VariableNameDeclaration nameDecl) |
void |
MethodScope.addDeclaration(VariableNameDeclaration variableDecl) |
void |
ClassScope.addDeclaration(VariableNameDeclaration variableDecl) |
void |
DummyScope.addDeclaration(VariableNameDeclaration decl) |
void |
Scope.addDeclaration(VariableNameDeclaration decl)
Add a variable declaration to this scope
|
void |
SourceFileScope.addDeclaration(VariableNameDeclaration decl) |
void |
VariableUsageFinderFunction.applyTo(VariableNameDeclaration o) |
Constructor and Description |
---|
VariableUsageFinderFunction(Map<VariableNameDeclaration,List<NameOccurrence>> decls) |
Modifier and Type | Method and Description |
---|---|
static boolean |
TypeHelper.isA(VariableNameDeclaration vnd,
Class<?> clazz) |
static boolean |
TypeHelper.isEither(VariableNameDeclaration vnd,
Class<?> class1,
Class<?> class2) |
static boolean |
TypeHelper.isNeither(VariableNameDeclaration vnd,
Class<?> class1,
Class<?> class2) |
Copyright © 2002-2013 InfoEther. All Rights Reserved.