sun.reflect.generics.repository
Class FieldRepository
java.lang.Object
sun.reflect.generics.repository.AbstractRepository<TypeSignature>
sun.reflect.generics.repository.FieldRepository
public class FieldRepository
- extends AbstractRepository<TypeSignature>
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.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FieldRepository
protected FieldRepository(String rawSig,
GenericsFactory f)
parse
protected TypeSignature 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<TypeSignature>
- 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 FieldRepository 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 FieldRepository that manages the generic type
information represented in the signature rawSig
getGenericType
public Type getGenericType()
aicas GmbH, Karlsruhe - Germany www.aicas.com
Copyright 2001-2009 aicas GmbH. All Rights Reserved.