sun.reflect.generics.repository
Class ClassRepository
java.lang.Object
sun.reflect.generics.repository.AbstractRepository<S>
sun.reflect.generics.repository.GenericDeclRepository<ClassSignature>
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.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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 servicingf - - 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 GmbH, Karlsruhe - Germany www.aicas.com
Copyright 2001-2009 aicas GmbH. All Rights Reserved.