|
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectsun.reflect.generics.scope.DummyScope
public class DummyScope
This class is used to provide enclosing scopes for top level classes. We cannot use null to represent such a scope, since the enclosing scope is computed lazily, and so the field storing it is null until it has been computed. Therefore, null is reserved to represent an as-yet-uncomputed scope, and cannot be used for any other kind of scope.
| Method Summary | |
|---|---|
TypeVariable<?> |
lookup(String name)
Lookup a type variable in the scope, using its name. |
static DummyScope |
make()
Factory method. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static DummyScope make()
public TypeVariable<?> lookup(String name)
lookup in interface Scopename - - the name of the type variable being looked up
|
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||