aicas logoJamaica 3.2 release 62

sun.reflect.generics.scope
Class ClassScope

java.lang.Object
  extended by sun.reflect.generics.scope.AbstractScope<Class<?>>
      extended by sun.reflect.generics.scope.ClassScope
All Implemented Interfaces:
Scope

public class ClassScope
extends AbstractScope<Class<?>>
implements Scope

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


Method Summary
protected  Scope computeEnclosingScope()
          Overrides the abstract method in the superclass.
static ClassScope make(Class<?> 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
 
Methods inherited from interface sun.reflect.generics.scope.Scope
lookup
 

Method Detail

computeEnclosingScope

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

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

make

public static ClassScope make(Class<?> c)
Factory method. Takes a Class object and creates a scope for it.

Parameters:
c - - a Class whose scope we want to obtain
Returns:
The type-variable scope for the class c

aicas logoJamaica 3.2 release 62

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