public class TypeInfo extends Object
Modifier and Type | Field and Description |
---|---|
static int |
NOT_FOUND |
static int |
TYPE_ARRAY |
static int |
TYPE_COLLECTION |
static int |
TYPE_COLLECTION_LIST |
static int |
TYPE_COLLECTION_SET |
static int |
TYPE_PRIM |
static int |
TYPE_PRIM_BOOLEAN |
static int |
TYPE_PRIM_BYTE |
static int |
TYPE_PRIM_CHAR |
static int |
TYPE_PRIM_DOUBLE |
static int |
TYPE_PRIM_FLOAT |
static int |
TYPE_PRIM_INT |
static int |
TYPE_PRIM_LONG |
static int |
TYPE_PRIM_SHORT |
static int |
TYPE_PRIM_VOID |
static int |
TYPE_USER |
static int |
TYPE_WRAP |
static int |
TYPE_WRAP_BOOLEAN |
static int |
TYPE_WRAP_BYTE |
static int |
TYPE_WRAP_CHAR |
static int |
TYPE_WRAP_DATE |
static int |
TYPE_WRAP_DOUBLE |
static int |
TYPE_WRAP_FLOAT |
static int |
TYPE_WRAP_INT |
static int |
TYPE_WRAP_LONG |
static int |
TYPE_WRAP_SHORT |
static int |
TYPE_WRAP_STRING |
Constructor and Description |
---|
TypeInfo() |
Modifier and Type | Method and Description |
---|---|
static int |
classifyType(Class<?> type) |
static Method |
getInterfaceMethod(Class<?> intf,
String methodName,
Class<?>[] paramTypes,
boolean includeInherited) |
static String |
getJavahMangledIdent(String before) |
static String |
getSourceRepresentation(Class<?> type) |
static int |
isPrimitiveType(Class<?> type) |
static int |
isPrimitiveWrapperType(Class<?> type) |
public static final int NOT_FOUND
public static final int TYPE_ARRAY
public static final int TYPE_COLLECTION
public static final int TYPE_COLLECTION_LIST
public static final int TYPE_COLLECTION_SET
public static final int TYPE_PRIM
public static final int TYPE_PRIM_BOOLEAN
public static final int TYPE_PRIM_BYTE
public static final int TYPE_PRIM_CHAR
public static final int TYPE_PRIM_DOUBLE
public static final int TYPE_PRIM_FLOAT
public static final int TYPE_PRIM_INT
public static final int TYPE_PRIM_LONG
public static final int TYPE_PRIM_SHORT
public static final int TYPE_PRIM_VOID
public static final int TYPE_USER
public static final int TYPE_WRAP
public static final int TYPE_WRAP_BOOLEAN
public static final int TYPE_WRAP_BYTE
public static final int TYPE_WRAP_CHAR
public static final int TYPE_WRAP_DATE
public static final int TYPE_WRAP_DOUBLE
public static final int TYPE_WRAP_FLOAT
public static final int TYPE_WRAP_INT
public static final int TYPE_WRAP_LONG
public static final int TYPE_WRAP_SHORT
public static final int TYPE_WRAP_STRING
public static int classifyType(Class<?> type)
public static Method getInterfaceMethod(Class<?> intf, String methodName, Class<?>[] paramTypes, boolean includeInherited)
public static int isPrimitiveType(Class<?> type)
public static int isPrimitiveWrapperType(Class<?> type)
Copyright © 2016. All rights reserved.