public class TypeUtils
extends java.lang.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 java.lang.String |
emulateClassGetName(Type type) |
static java.lang.String |
escapeType(java.lang.String s) |
static int |
FCONST(float value) |
static Type |
fromInternalName(java.lang.String name) |
static Type[] |
fromInternalNames(java.lang.String[] names) |
static Type |
getBoxedType(Type type) |
static java.lang.String |
getClassName(Type type) |
static Type |
getComponentType(Type type) |
static java.lang.String |
getPackageName(Type type) |
static int |
getStackSize(Type[] types) |
static Type |
getType(java.lang.String className) |
static Type[] |
getTypes(java.lang.Class[] classes) |
static Type |
getUnboxedType(Type type) |
static int |
ICONST(int value) |
static boolean |
isAbstract(int access) |
static boolean |
isArray(Type type) |
static boolean |
isBridge(int access) |
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(java.lang.String sig) |
static Signature |
parseConstructor(Type[] types) |
static Signature |
parseSignature(java.lang.String s) |
static Type |
parseType(java.lang.String s) |
static Type[] |
parseTypes(java.lang.String s) |
static java.lang.String[] |
toInternalNames(Type[] types) |
static java.lang.String |
upperFirst(java.lang.String s) |
public static Type getType(java.lang.String className)
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 boolean isBridge(int access)
public static java.lang.String getPackageName(Type type)
public static java.lang.String upperFirst(java.lang.String s)
public static java.lang.String getClassName(Type type)
public static Type[] add(Type[] types, Type extra)
public static Type[] add(Type[] t1, Type[] t2)
public static Type fromInternalName(java.lang.String name)
public static Type[] fromInternalNames(java.lang.String[] names)
public static int getStackSize(Type[] types)
public static java.lang.String[] toInternalNames(Type[] types)
public static Signature parseSignature(java.lang.String s)
public static Type parseType(java.lang.String s)
public static Type[] parseTypes(java.lang.String s)
public static Signature parseConstructor(Type[] types)
public static Signature parseConstructor(java.lang.String sig)
public static Type getBoxedType(Type type)
public static Type getUnboxedType(Type type)
public static boolean isArray(Type type)
public static Type getComponentType(Type type)
public static boolean isPrimitive(Type type)
public static java.lang.String emulateClassGetName(Type type)
public static boolean isConstructor(MethodInfo method)
public static Type[] getTypes(java.lang.Class[] classes)
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)
public static java.lang.String escapeType(java.lang.String s)
Copyright (c) 2001 - Apache Software Foundation