|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.jparsec.java.Types
public final class Types
Utility class to construct Type instances reflectively.
| Method Summary | |
|---|---|
static Class<?> |
newArrayType(Class<?> componentType)
Returns a new array class with componentType. |
static Type |
newArrayType(Type componentType)
Returns a new array type with componentType. |
static ParameterizedType |
newParameterizedType(Class<?> raw,
Iterable<? extends Type> typeArgs)
Returns a parameterized type with raw and typeArgs. |
static WildcardType |
subtypeOf(Type bound)
Returns a wildcard type that's subtype of bound. |
static WildcardType |
supertypeOf(Type bound)
Returns a wildcard type that's supertype of bound. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static WildcardType subtypeOf(Type bound)
bound.
public static WildcardType supertypeOf(Type bound)
bound.
public static ParameterizedType newParameterizedType(Class<?> raw,
Iterable<? extends Type> typeArgs)
raw and typeArgs.
public static Type newArrayType(Type componentType)
componentType.
public static Class<?> newArrayType(Class<?> componentType)
componentType.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||