Save This Page
Home » openjdk-7 » » javac » code » [javadoc | source]
public static class: Scope.CompoundScope [javadoc | source]

All Implemented Interfaces:

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
next,  owner,  table,  hashMask,  elems,  nelems,  listeners,  emptyScope,  noFilter
 public CompoundScope(Symbol owner) 
Method from$CompoundScope Summary:
addSubScope,   dup,   enter,   getElements,   getElementsByName,   getMark,   lookup,   remove,   symbolAdded,   symbolRemoved,   toString
Methods from
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$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()