net.sourceforge.pmd.lang.plsql.symboltable
Class MethodScope

java.lang.Object
  extended by net.sourceforge.pmd.lang.symboltable.AbstractScope
      extended by net.sourceforge.pmd.lang.plsql.symboltable.MethodScope
All Implemented Interfaces:
Scope

public class MethodScope
extends AbstractScope


Constructor Summary
MethodScope(Node node)
           
 
Method Summary
 void addDeclaration(NameDeclaration declaration)
           
 NameDeclaration addNameOccurrence(NameOccurrence occ)
           
 NameDeclaration findVariableHere(PLSQLNameOccurrence occurrence)
           
 MethodScope getEnclosingMethodScope()
           
 String getName()
           
 Map<VariableNameDeclaration,List<NameOccurrence>> getVariableDeclarations()
           
 String toString()
           
 
Methods inherited from class net.sourceforge.pmd.lang.symboltable.AbstractScope
contains, getDeclarations, getDeclarations, getEnclosingScope, getParent, setParent
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MethodScope

public MethodScope(Node node)
Method Detail

getEnclosingMethodScope

public MethodScope getEnclosingMethodScope()

getVariableDeclarations

public Map<VariableNameDeclaration,List<NameOccurrence>> getVariableDeclarations()

addNameOccurrence

public NameDeclaration addNameOccurrence(NameOccurrence occ)
Specified by:
addNameOccurrence in interface Scope
Overrides:
addNameOccurrence in class AbstractScope

addDeclaration

public void addDeclaration(NameDeclaration declaration)
Specified by:
addDeclaration in interface Scope
Overrides:
addDeclaration in class AbstractScope

findVariableHere

public NameDeclaration findVariableHere(PLSQLNameOccurrence occurrence)

getName

public String getName()

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2002-2016 InfoEther. All Rights Reserved.