public class

ConstructorScope

extends AbstractScope<D extends GenericDeclaration>
java.lang.Object
   ↳ sun.reflect.generics.scope.AbstractScope<D extends java.lang.reflect.GenericDeclaration>
     ↳ sun.reflect.generics.scope.ConstructorScope

Class Overview

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

Summary

Public Methods
static ConstructorScope make(Constructor c)
Factory method.
Protected Methods
Scope computeEnclosingScope()
Overrides the abstract method in the superclass.
[Expand]
Inherited Methods
From class sun.reflect.generics.scope.AbstractScope
From class java.lang.Object
From interface sun.reflect.generics.scope.Scope

Public Methods

public static ConstructorScope make (Constructor c)

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

Returns
  • The type-variable scope for the constructor m

Protected Methods

protected Scope computeEnclosingScope ()

Overrides the abstract method in the superclass.

Returns
  • the enclosing scope