Lines Matching defs:scope
26 package sun.reflect.generics.scope;
34 * Abstract superclass for lazy scope objects, used when building
37 * object whose scope this class is representing.
44 private D recvr; // the declaration whose scope this instance represents
45 private Scope enclosingScope; // the enclosing scope of this scope
48 * Constructor. Takes a reflective object whose scope the newly
50 * @param D - A generic declaration whose scope the newly
56 * Accessor for the receiver - the object whose scope this <tt>Scope</tt>
58 * @return The object whose scope this <tt>Scope</tt> object represents
63 * It must return the enclosing scope of this scope. If this scope
64 * is a top-level scope, an instance of DummyScope must be returned.
65 * @return The enclosing scope of this scope
70 * Accessor for the enclosing scope, which is computed lazily and cached.
71 * @return the enclosing scope
79 * Lookup a type variable in the scope, using its name. Returns null if
80 * no type variable with this name is declared in this scope or any of its