Modifier and Type | Method and Description |
---|---|
List<NameOccurrence> |
ASTVariableDeclaratorId.getUsages() |
Modifier and Type | Method and Description |
---|---|
protected boolean |
AbstractOptimizationRule.assigned(List<NameOccurrence> usages) |
Modifier and Type | Class and Description |
---|---|
class |
JavaNameOccurrence |
Modifier and Type | Method and Description |
---|---|
NameOccurrence |
JavaNameOccurrence.getNameForWhichThisIsAQualifier() |
Modifier and Type | Method and Description |
---|---|
Map<ClassNameDeclaration,List<NameOccurrence>> |
SourceFileScope.getClassDeclarations()
Convenience method that casts the declarations to
ClassNameDeclaration s. |
Map<ClassNameDeclaration,List<NameOccurrence>> |
ClassScope.getClassDeclarations() |
Map<MethodNameDeclaration,List<NameOccurrence>> |
ClassScope.getMethodDeclarations() |
Map<NameDeclaration,List<NameOccurrence>> |
VariableUsageFinderFunction.getUsed() |
Map<VariableNameDeclaration,List<NameOccurrence>> |
LocalScope.getVariableDeclarations() |
Map<VariableNameDeclaration,List<NameOccurrence>> |
MethodScope.getVariableDeclarations() |
Map<VariableNameDeclaration,List<NameOccurrence>> |
ClassScope.getVariableDeclarations() |
Modifier and Type | Method and Description |
---|---|
Set<NameDeclaration> |
LocalScope.addNameOccurrence(NameOccurrence occurrence) |
Set<NameDeclaration> |
MethodScope.addNameOccurrence(NameOccurrence occurrence) |
Set<NameDeclaration> |
ClassScope.addNameOccurrence(NameOccurrence occurrence) |
boolean |
AbstractJavaScope.contains(NameOccurrence occurrence) |
void |
JavaNameOccurrence.setNameWhichThisQualifies(NameOccurrence qualifiedName) |
Constructor and Description |
---|
DeclarationFinderFunction(NameOccurrence occurrence) |
Constructor and Description |
---|
VariableUsageFinderFunction(Map<NameDeclaration,List<NameOccurrence>> decls) |
Modifier and Type | Method and Description |
---|---|
List<NameOccurrence> |
ASTVariableOrConstantDeclaratorId.getUsages() |
Modifier and Type | Class and Description |
---|---|
class |
PLSQLNameOccurrence |
Modifier and Type | Method and Description |
---|---|
Map<ClassNameDeclaration,List<NameOccurrence>> |
ClassScope.getClassDeclarations() |
Map<MethodNameDeclaration,List<NameOccurrence>> |
ClassScope.getMethodDeclarations() |
Map<VariableNameDeclaration,List<NameOccurrence>> |
LocalScope.getVariableDeclarations() |
Map<VariableNameDeclaration,List<NameOccurrence>> |
MethodScope.getVariableDeclarations() |
Map<VariableNameDeclaration,List<NameOccurrence>> |
ClassScope.getVariableDeclarations() |
Modifier and Type | Method and Description |
---|---|
Set<NameDeclaration> |
LocalScope.addNameOccurrence(NameOccurrence occ) |
Set<NameDeclaration> |
MethodScope.addNameOccurrence(NameOccurrence occ) |
Set<NameDeclaration> |
ClassScope.addNameOccurrence(NameOccurrence occ) |
protected NameDeclaration |
SourceFileScope.findVariableHere(NameOccurrence occ) |
Modifier and Type | Method and Description |
---|---|
Map<NameDeclaration,List<NameOccurrence>> |
AbstractScope.getDeclarations() |
Map<NameDeclaration,List<NameOccurrence>> |
Scope.getDeclarations()
Gets all the declaration with the occurrences in this scope.
|
<T extends NameDeclaration> |
AbstractScope.getDeclarations(Class<T> clazz) |
<T extends NameDeclaration> |
Scope.getDeclarations(Class<T> clazz)
Helper method to get only a specific type of name declarations.
|
Modifier and Type | Method and Description |
---|---|
Set<NameDeclaration> |
AbstractScope.addNameOccurrence(NameOccurrence occurrence) |
Set<NameDeclaration> |
Scope.addNameOccurrence(NameOccurrence occurrence)
Adds a
NameOccurrence to this scope - only call this after getting
a true back from Scope.contains(NameOccurrence) . |
boolean |
AbstractScope.contains(NameOccurrence occ) |
boolean |
Scope.contains(NameOccurrence occ)
Tests whether or not a
NameOccurrence is directly contained in the scope. |
Copyright © 2002–2016 InfoEther. All rights reserved.