aicas logo Jamaica 3.4 release 8

sun.reflect.generics.scope
Class MethodScope

java.lang.Object
  extended by sun.reflect.generics.scope.AbstractScope<Method>
      extended by 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.


Method Summary
protected  Scope computeEnclosingScope()
          Overrides the abstract method in the superclass.
static MethodScope make(Method m)
          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<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 logo Jamaica 3.4 release 8

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