aicas logoJamaica 3.2 release 62

sun.reflect.generics.scope
Class ConstructorScope

java.lang.Object
  extended by sun.reflect.generics.scope.AbstractScope<Constructor>
      extended by sun.reflect.generics.scope.ConstructorScope
All Implemented Interfaces:
Scope

public class ConstructorScope
extends AbstractScope<Constructor>

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


Method Summary
protected  Scope computeEnclosingScope()
          Overrides the abstract method in the superclass.
static ConstructorScope make(Constructor c)
          Factory method.
 
Methods inherited from class sun.reflect.generics.scope.AbstractScope
getEnclosingScope, getRecvr, lookup
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

computeEnclosingScope

protected Scope computeEnclosingScope()
Overrides the abstract method in the superclass.

Specified by:
computeEnclosingScope in class AbstractScope<Constructor>
Returns:
the enclosing scope

make

public static ConstructorScope make(Constructor c)
Factory method. Takes a Constructor object and creates a scope for it.

Parameters:
m - - A Constructor whose scope we want to obtain
Returns:
The type-variable scope for the constructor m

aicas logoJamaica 3.2 release 62

aicas GmbH, Karlsruhe - Germany    www.aicas.com
Copyright 2001-2008 aicas GmbH. All Rights Reserved.