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

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

public class SourceFileScope
extends AbstractScope


Constructor Summary
SourceFileScope()
           
SourceFileScope(String image)
           
 
Method Summary
 void addDeclaration(NameDeclaration declaration)
          
protected  NameDeclaration findVariableHere(NameOccurrence occ)
           
 String getPackageName()
           
 String toString()
           
 
Methods inherited from class net.sourceforge.pmd.lang.symboltable.AbstractScope
addNameOccurrence, 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

SourceFileScope

public SourceFileScope()

SourceFileScope

public SourceFileScope(String image)
Method Detail

getPackageName

public String getPackageName()

addDeclaration

public void addDeclaration(NameDeclaration declaration)

Specified by:
addDeclaration in interface Scope
Overrides:
addDeclaration in class AbstractScope
Throws:
IllegalArgumentException - if declaration is not a ClassNameDeclaration

toString

public String toString()
Overrides:
toString in class Object

findVariableHere

protected NameDeclaration findVariableHere(NameOccurrence occ)


Copyright © 2002-2016 InfoEther. All Rights Reserved.