APIdia Launch Partner
Top Description Constructors Methods
sun.reflect.generics.scope

public Class ClassScope

extends AbstractScope<Class<?>>
implements Scope
Class Inheritance
All Implemented Interfaces
sun.reflect.generics.scope.Scope
Imports
java.lang.reflect.Constructor, .Method

This class represents the scope containing the type variables of a class.

Constructor Summary

AccessConstructor and Description
private

Method Summary

Modifier and TypeMethod and Description
protected Scope

Returns:

the enclosing scope
computeEnclosingScope
()

Implements abstract sun.reflect.generics.scope.AbstractScope.computeEnclosingScope.

Overrides the abstract method in the superclass.

public static ClassScope

Returns:

The type-variable scope for the class c
make
(Class<?>
- a Class whose scope we want to obtain
c
)

Factory method.

Inherited from sun.reflect.generics.scope.AbstractScope:
getEnclosingScopegetRecvrlookup

Constructor Detail

ClassScopeback to summary
private ClassScope(Class<?> c)

Method Detail

computeEnclosingScopeback to summary
protected Scope computeEnclosingScope()

Implements abstract sun.reflect.generics.scope.AbstractScope.computeEnclosingScope.

Overrides the abstract method in the superclass.

Returns:Scope

the enclosing scope

makeback to summary
public static ClassScope make(Class<?> c)

Factory method. Takes a Class object and creates a scope for it.

Parameters
c:Class<?>

- a Class whose scope we want to obtain

Returns:ClassScope

The type-variable scope for the class c