public class MethodScope extends AbstractScope
Constructor and Description |
---|
MethodScope(Node node) |
Modifier and Type | Method and Description |
---|---|
void |
addDeclaration(NameDeclaration declaration) |
Set<NameDeclaration> |
addNameOccurrence(NameOccurrence occ) |
Set<NameDeclaration> |
findVariableHere(PLSQLNameOccurrence occurrence) |
MethodScope |
getEnclosingMethodScope() |
String |
getName() |
Map<VariableNameDeclaration,List<NameOccurrence>> |
getVariableDeclarations() |
String |
toString() |
contains, getDeclarations, getDeclarations, getEnclosingScope, getParent, setParent
public MethodScope(Node node)
public MethodScope getEnclosingMethodScope()
public Map<VariableNameDeclaration,List<NameOccurrence>> getVariableDeclarations()
public Set<NameDeclaration> addNameOccurrence(NameOccurrence occ)
addNameOccurrence
in interface Scope
addNameOccurrence
in class AbstractScope
public void addDeclaration(NameDeclaration declaration)
addDeclaration
in interface Scope
addDeclaration
in class AbstractScope
public Set<NameDeclaration> findVariableHere(PLSQLNameOccurrence occurrence)
public String getName()
Copyright © 2002–2017 PMD. All rights reserved.