Methods Summary |
---|
public java.lang.reflect.Type[] | getActualTypeArguments()Returns an array of the actual type arguments for this type.
If this type models a non parameterized type nested within a
parameterized type, this method returns a zero length array. The generic
type of the following {@code field} declaration is an example for a
parameterized type without type arguments.
A<String>.B field;
class A<T> {
class B {
}
}
|
public java.lang.reflect.Type | getOwnerType()Returns the parent / owner type, if this type is an inner type, otherwise
{@code null} is returned if this is a top-level type.
|
public java.lang.reflect.Type | getRawType()Returns the declaring type of this parameterized type.
The raw type of {@code Set<String> field;} is {@code Set}.
|