public class

ClassRepository

extends GenericDeclRepository<S extends Signature>
java.lang.Object
   ↳ sun.reflect.generics.repository.AbstractRepository<T extends sun.reflect.generics.tree.Tree>
     ↳ sun.reflect.generics.repository.GenericDeclRepository<S extends sun.reflect.generics.tree.Signature>
       ↳ sun.reflect.generics.repository.ClassRepository

Class Overview

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.

Summary

Public Methods
Type[] getSuperInterfaces()
Type getSuperclass()
static ClassRepository make(String rawSig, GenericsFactory f)
Static factory method.
Protected Methods
ClassSignature parse(String s)
Returns the AST for the genric type info of this entity.
[Expand]
Inherited Methods
From class sun.reflect.generics.repository.GenericDeclRepository
From class sun.reflect.generics.repository.AbstractRepository
From class java.lang.Object

Public Methods

public Type[] getSuperInterfaces ()

public Type getSuperclass ()

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

Protected Methods

protected ClassSignature parse (String s)

Returns the AST for the genric type info of this entity.

Parameters
s - a string representing the generic signature of this entity
Returns
  • the AST for the generic type info of this entity.