sun.reflect.generics.scope
Class MethodScope
java.lang.Object
sun.reflect.generics.scope.AbstractScope<Method>
sun.reflect.generics.scope.MethodScope
- All Implemented Interfaces:
- Scope
public class MethodScope
- extends AbstractScope<Method>
This class represents the scope containing the type variables of
a method.
| 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<Method>
- Returns:
- the enclosing scope
make
public static MethodScope make(Method m)
- Factory method. Takes a Method object and creates a
scope for it.
- Parameters:
m - - A Method whose scope we want to obtain
- Returns:
- The type-variable scope for the method m
aicas GmbH, Karlsruhe - Germany www.aicas.com
Copyright 2001-2009 aicas GmbH. All Rights Reserved.