aicas logo Jamaica 3.4 release 8

sun.reflect.generics.repository
Class ConstructorRepository

java.lang.Object
  extended by sun.reflect.generics.repository.AbstractRepository<S>
      extended by sun.reflect.generics.repository.GenericDeclRepository<MethodTypeSignature>
          extended by sun.reflect.generics.repository.ConstructorRepository
Direct Known Subclasses:
MethodRepository

public class ConstructorRepository
extends GenericDeclRepository<MethodTypeSignature>

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


Constructor Summary
protected ConstructorRepository(String rawSig, GenericsFactory f)
           
 
Method Summary
 Type[] getExceptionTypes()
           
 Type[] getParameterTypes()
           
static ConstructorRepository make(String rawSig, GenericsFactory f)
          Static factory method.
protected  MethodTypeSignature 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
 

Constructor Detail

ConstructorRepository

protected ConstructorRepository(String rawSig,
                                GenericsFactory f)
Method Detail

parse

protected MethodTypeSignature 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<MethodTypeSignature>
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 ConstructorRepository 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 ConstructorRepository that manages the generic type information represented in the signature rawSig

getParameterTypes

public Type[] getParameterTypes()

getExceptionTypes

public Type[] getExceptionTypes()

aicas logo Jamaica 3.4 release 8

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