public class Types extends Object
| Modifier and Type | Method and Description |
|---|---|
static Type |
array(Type componentType) |
static Class<?> |
baseType(Type type) |
static Type |
component(Type arrayType) |
static boolean |
equalTypes(Type type1,
Type type2) |
static Field |
getDeclaredField(Class<?> clazz,
String name) |
static Method |
getDeclaredMethod(Class<?> clazz,
String name,
Class<?>... parameterTypes) |
static Type |
inferType(List<Type> types) |
static Class<?> |
innerType(Class<?> clazz,
String name) |
static boolean |
isHidden(Type type) |
static boolean |
isPrimitive(Type type) |
static Type |
parameterized(Type raw,
Type owner,
Type... typeArgs) |
static Optional<Type> |
typeArgument(Type type,
int i) |
static Type |
wildcard() |
static Type |
wildcardExtends(Type... bounds) |
static Type |
wildcardSuper(Type... bounds) |
static Type |
wrapHidden(Type type) |
Copyright © 2016. All rights reserved.