sun.reflect.generics.scope
Class ClassScope
java.lang.Object
sun.reflect.generics.scope.AbstractScope<Class<?>>
sun.reflect.generics.scope.ClassScope
- All Implemented Interfaces:
- Scope
public class ClassScope
- extends AbstractScope<Class<?>>
- implements Scope
This class represents the scope containing the type variables of
a class.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface sun.reflect.generics.scope.Scope |
lookup |
computeEnclosingScope
protected Scope computeEnclosingScope()
- Overrides the abstract method in the superclass.
- Specified by:
computeEnclosingScope in class AbstractScope<Class<?>>
- Returns:
- the enclosing scope
make
public static ClassScope make(Class<?> c)
- Factory method. Takes a Class object and creates a
scope for it.
- Parameters:
c - - a Class whose scope we want to obtain
- Returns:
- The type-variable scope for the class c
aicas GmbH, Karlsruhe - Germany www.aicas.com
Copyright 2001-2008 aicas GmbH. All Rights Reserved.