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