Save This Page
Home » openjdk-7 » com.sun.tools » javac » code » [javadoc | source]
com.sun.tools.javac.code
public static class: Scope.CompoundScope [javadoc | source]
java.lang.Object
   com.sun.tools.javac.code.Scope
      com.sun.tools.javac.code.Scope$CompoundScope

All Implemented Interfaces:
    ScopeListener

A class scope adds capabilities to keep track of changes in related class scopes - this allows client to realize whether a class scope has changed, either directly (because a new member has been added/removed to this scope) or indirectly (i.e. because a new member has been added/removed into a supertype scope)
Nested Class Summary:
abstract class  CompoundScope.CompoundScopeIterator   
Field Summary
public static final  Entry[] emptyTable     
Fields inherited from com.sun.tools.javac.code.Scope:
next,  owner,  table,  hashMask,  elems,  nelems,  listeners,  emptyScope,  noFilter
Constructor:
 public CompoundScope(Symbol owner) 
Method from com.sun.tools.javac.code.Scope$CompoundScope Summary:
addSubScope,   dup,   enter,   getElements,   getElementsByName,   getMark,   lookup,   remove,   symbolAdded,   symbolRemoved,   toString
Methods from com.sun.tools.javac.code.Scope:
addScopeListener,   dup,   dup,   dupUnshared,   enter,   enter,   enter,   enterIfAbsent,   getElements,   getElements,   getElementsByName,   getElementsByName,   getIndex,   includes,   leave,   lookup,   lookup,   makeEntry,   remove,   toString
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from com.sun.tools.javac.code.Scope$CompoundScope Detail:
 public  void addSubScope(Scope that) 
 public Scope dup(Symbol newOwner) 
 public  void enter(Symbol sym,
    Scope s,
    Scope origin) 
 public Iterable<Symbol> getElements(Filter<Symbol> sf) 
 public Iterable<Symbol> getElementsByName(Name name,
    Filter<Symbol> sf) 
 public int getMark() 
 public Entry lookup(Name name,
    Filter<Symbol> sf) 
 public  void remove(Symbol sym) 
 public  void symbolAdded(Symbol sym,
    Scope s) 
 public  void symbolRemoved(Symbol sym,
    Scope s) 
 public String toString()