sun.reflect.generics.scope
Class ConstructorScope
java.lang.Object
sun.reflect.generics.scope.AbstractScope<Constructor>
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.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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 GmbH, Karlsruhe - Germany www.aicas.com
Copyright 2001-2008 aicas GmbH. All Rights Reserved.