public class TypeUtils extends Object
| Modifier and Type | Method and Description |
|---|---|
static Type[] |
add(Type[] types,
Type extra) |
static Type[] |
add(Type[] t1,
Type[] t2) |
static int |
DCONST(double value) |
static String |
emulateClassGetName(Type type) |
static String |
escapeType(String s) |
static int |
FCONST(float value) |
static Type |
fromInternalName(String name) |
static Type[] |
fromInternalNames(String[] names) |
static Type |
getBoxedType(Type type) |
static String |
getClassName(Type type) |
static Type |
getComponentType(Type type) |
static String |
getPackageName(String className) |
static String |
getPackageName(Type type) |
static int |
getStackSize(Type[] types) |
static Type |
getType(String className) |
static Type[] |
getTypes(Class[] classes) |
static Type |
getUnboxedType(Type type) |
static int |
ICONST(int value) |
static boolean |
isAbstract(int access) |
static boolean |
isArray(Type type) |
static boolean |
isConstructor(MethodInfo method) |
static boolean |
isFinal(int access) |
static boolean |
isInterface(int access) |
static boolean |
isPrimitive(Type type) |
static boolean |
isPrivate(int access) |
static boolean |
isProtected(int access) |
static boolean |
isPublic(int access) |
static boolean |
isStatic(int access) |
static boolean |
isSynthetic(int access) |
static int |
LCONST(long value) |
static int |
NEWARRAY(Type type) |
static Signature |
parseConstructor(String sig) |
static Signature |
parseConstructor(Type[] types) |
static Signature |
parseSignature(String s) |
static Type |
parseType(String s) |
static Type[] |
parseTypes(String s) |
static String[] |
toInternalNames(Type[] types) |
static String |
upperFirst(String s) |
public static boolean isFinal(int access)
public static boolean isStatic(int access)
public static boolean isProtected(int access)
public static boolean isPublic(int access)
public static boolean isAbstract(int access)
public static boolean isInterface(int access)
public static boolean isPrivate(int access)
public static boolean isSynthetic(int access)
public static int getStackSize(Type[] types)
public static boolean isArray(Type type)
public static boolean isPrimitive(Type type)
public static boolean isConstructor(MethodInfo method)
public static int ICONST(int value)
public static int LCONST(long value)
public static int FCONST(float value)
public static int DCONST(double value)
public static int NEWARRAY(Type type)
Copyright © 2007–2016. All rights reserved.