Top Description Constructors Methods
sun.reflect.generics.scope

public Class ConstructorScope

extends AbstractScope<Constructor<?>>
Class Inheritance
Imports
java.lang.reflect.Constructor

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

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.

private Class<?>
public static ConstructorScope

Returns:

The type-variable scope for the constructor m
make
(Constructor<?>
- A Constructor whose scope we want to obtain
c
)

Factory method.

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

Constructor Detail

ConstructorScopeback to summary
private ConstructorScope(Constructor<?> 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

getEnclosingClassback to summary
private Class<?> getEnclosingClass()
makeback to summary
public static ConstructorScope make(Constructor<?> c)

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

Parameters
c:Constructor<?>

- A Constructor whose scope we want to obtain

Returns:ConstructorScope

The type-variable scope for the constructor m