aicas logo Jamaica 3.4 release 8

sun.reflect.generics.repository
Class ClassRepository

java.lang.Object
  extended by sun.reflect.generics.repository.AbstractRepository<S>
      extended by sun.reflect.generics.repository.GenericDeclRepository<ClassSignature>
          extended by sun.reflect.generics.repository.ClassRepository

public class ClassRepository
extends GenericDeclRepository<ClassSignature>

This class represents the generic type information for a class. The code is not dependent on a particular reflective implementation. It is designed to be used unchanged by at least core reflection and JDI.


Method Summary
 Type getSuperclass()
           
 Type[] getSuperInterfaces()
           
static ClassRepository make(String rawSig, GenericsFactory f)
          Static factory method.
protected  ClassSignature parse(String s)
          Returns the AST for the genric type info of this entity.
 
Methods inherited from class sun.reflect.generics.repository.GenericDeclRepository
getTypeParameters
 
Methods inherited from class sun.reflect.generics.repository.AbstractRepository
getReifier, getTree
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

parse

protected ClassSignature parse(String s)
Description copied from class: AbstractRepository
Returns the AST for the genric type info of this entity.

Specified by:
parse in class AbstractRepository<ClassSignature>
Parameters:
s - - a string representing the generic signature of this entity
Returns:
the AST for the generic type info of this entity.

make

public static ClassRepository make(String rawSig,
                                   GenericsFactory f)
Static factory method.

Parameters:
rawSig - - the generic signature of the reflective object that this repository is servicing
f - - a factory that will provide instances of reflective objects when this repository converts its AST
Returns:
a ClassRepository that manages the generic type information represented in the signature rawSig

getSuperclass

public Type getSuperclass()

getSuperInterfaces

public Type[] getSuperInterfaces()

aicas logo Jamaica 3.4 release 8

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