| Modifier and Type | Field and Description |
|---|---|
| private final GenericDeclaration | |
| private final Scope |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public TypeVariable | findTypeVariable(String name)
Implements sun. Returns the type variable with name |
| private GenericDeclaration | |
| private ClassLoader | |
| private Scope | |
| public static CoreReflectionFactory | Returns: an instance ofCoreReflectionFactory- the generic declaration (class, interface, method or
constructor) that this factory services d, Scope the scope in which the factory will allocate and search for
type variables s)Factory for this class. |
| public Type | makeArrayType(Type componentType)
Implements sun. Returns a (possibly generic) array type. |
| public Type | makeBool()
Implements sun. Returns the reflective representation of type |
| public Type | makeByte()
Implements sun. Returns the reflective representation of type |
| public Type | makeChar()
Implements sun. Returns the reflective representation of type |
| public Type | makeDouble()
Implements sun. Returns the reflective representation of type |
| public Type | makeFloat()
Implements sun. Returns the reflective representation of type |
| public Type | makeInt()
Implements sun. Returns the reflective representation of type |
| public Type | makeLong()
Implements sun. Returns the reflective representation of type |
| public Type | |
| public ParameterizedType | makeParameterizedType(Type declaration, Type[] typeArgs, Type owner)
Implements sun. Returns an instance of the |
| public Type | makeShort()
Implements sun. Returns the reflective representation of type |
| public TypeVariable | makeTypeVariable(String name, FieldTypeSignature[] bounds)
Implements sun. Returns a new type variable declaration. |
| public Type | makeVoid()
Implements sun. Returns the reflective representation of |
| public WildcardType | makeWildcard(FieldTypeSignature[] ubs, FieldTypeSignature[] lbs)
Implements sun. Returns a new wildcard type variable. |
| decl | back to summary |
|---|---|
| private final GenericDeclaration decl | |
| scope | back to summary |
|---|---|
| private final Scope scope | |
| CoreReflectionFactory | back to summary |
|---|---|
| private CoreReflectionFactory(GenericDeclaration d, Scope s) | |
| findTypeVariable | back to summary |
|---|---|
| public TypeVariable Implements sun. Doc from sun. Returns the type variable with name | |
| getDecl | back to summary |
|---|---|
| private GenericDeclaration getDecl() | |
| getDeclsLoader | back to summary |
|---|---|
| private ClassLoader getDeclsLoader() | |
| getScope | back to summary |
|---|---|
| private Scope getScope() | |
| make | back to summary |
|---|---|
| public static CoreReflectionFactory make(GenericDeclaration d, Scope s) Factory for this class. Returns an instance of
Type variables will be created or lookup as necessary in the
scope
| |
| makeArrayType | back to summary |
|---|---|
| public Type makeArrayType(Type componentType) Implements sun. Doc from sun. Returns a (possibly generic) array type. If the component type is a parameterized type, it must only have unbounded wildcard arguments, otherwise a MalformedParameterizedTypeException is thrown. | |
| makeBool | back to summary |
|---|---|
| public Type makeBool() Implements sun. Doc from sun. Returns the reflective representation of type | |
| makeByte | back to summary |
|---|---|
| public Type makeByte() Implements sun. Doc from sun. Returns the reflective representation of type | |
| makeChar | back to summary |
|---|---|
| public Type makeChar() Implements sun. Doc from sun. Returns the reflective representation of type | |
| makeDouble | back to summary |
|---|---|
| public Type makeDouble() Implements sun. Doc from sun. Returns the reflective representation of type | |
| makeFloat | back to summary |
|---|---|
| public Type makeFloat() Implements sun. Doc from sun. Returns the reflective representation of type | |
| makeInt | back to summary |
|---|---|
| public Type makeInt() Implements sun. Doc from sun. Returns the reflective representation of type | |
| makeLong | back to summary |
|---|---|
| public Type makeLong() Implements sun. Doc from sun. Returns the reflective representation of type | |
| makeNamedType | back to summary |
|---|---|
| public Type makeNamedType(String name) Implements sun. | |
| makeParameterizedType | back to summary |
|---|---|
| public ParameterizedType makeParameterizedType(Type declaration, Type[] typeArgs, Type owner) Implements sun. Doc from sun. Returns an instance of the This method throws a MalformedParameterizedTypeException
under the following circumstances:
If the type declaration does not represent a generic declaration
(i.e., it is not an instance of | |
| makeShort | back to summary |
|---|---|
| public Type makeShort() Implements sun. Doc from sun. Returns the reflective representation of type | |
| makeTypeVariable | back to summary |
|---|---|
| public TypeVariable Implements sun. Doc from sun. Returns a new type variable declaration. Note that | |
| makeVoid | back to summary |
|---|---|
| public Type makeVoid() Implements sun. Doc from sun. Returns the reflective representation of | |
| makeWildcard | back to summary |
|---|---|
| public WildcardType makeWildcard(FieldTypeSignature[] ubs, FieldTypeSignature[] lbs) Implements sun. Doc from sun. Returns a new wildcard type variable. If
| |