public class TypeUtils
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private static java.util.Map |
rtransforms |
private static java.util.Map |
transforms |
Modifier | Constructor and Description |
---|---|
private |
TypeUtils() |
Modifier and Type | Method and Description |
---|---|
static org.objectweb.asm.Type[] |
add(org.objectweb.asm.Type[] types,
org.objectweb.asm.Type extra) |
static org.objectweb.asm.Type[] |
add(org.objectweb.asm.Type[] t1,
org.objectweb.asm.Type[] t2) |
static int |
DCONST(double value) |
static java.lang.String |
emulateClassGetName(org.objectweb.asm.Type type) |
static java.lang.String |
escapeType(java.lang.String s) |
static int |
FCONST(float value) |
static org.objectweb.asm.Type |
fromInternalName(java.lang.String name) |
static org.objectweb.asm.Type[] |
fromInternalNames(java.lang.String[] names) |
static org.objectweb.asm.Type |
getBoxedType(org.objectweb.asm.Type type) |
static java.lang.String |
getClassName(org.objectweb.asm.Type type) |
static org.objectweb.asm.Type |
getComponentType(org.objectweb.asm.Type type) |
static java.lang.String |
getPackageName(java.lang.String className) |
static java.lang.String |
getPackageName(org.objectweb.asm.Type type) |
static int |
getStackSize(org.objectweb.asm.Type[] types) |
static org.objectweb.asm.Type |
getType(java.lang.String className) |
static org.objectweb.asm.Type[] |
getTypes(java.lang.Class[] classes) |
static org.objectweb.asm.Type |
getUnboxedType(org.objectweb.asm.Type type) |
static int |
ICONST(int value) |
static boolean |
isAbstract(int access) |
static boolean |
isArray(org.objectweb.asm.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(org.objectweb.asm.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) |
private static java.lang.String |
map(java.lang.String type) |
static int |
NEWARRAY(org.objectweb.asm.Type type) |
static Signature |
parseConstructor(java.lang.String sig) |
static Signature |
parseConstructor(org.objectweb.asm.Type[] types) |
static Signature |
parseSignature(java.lang.String s) |
static org.objectweb.asm.Type |
parseType(java.lang.String s) |
static org.objectweb.asm.Type[] |
parseTypes(java.lang.String s) |
private static java.util.List |
parseTypes(java.lang.String s,
int mark,
int end) |
static java.lang.String[] |
toInternalNames(org.objectweb.asm.Type[] types) |
static java.lang.String |
upperFirst(java.lang.String s) |
private static final java.util.Map transforms
private static final java.util.Map rtransforms
public static org.objectweb.asm.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(org.objectweb.asm.Type type)
public static java.lang.String getPackageName(java.lang.String className)
public static java.lang.String upperFirst(java.lang.String s)
public static java.lang.String getClassName(org.objectweb.asm.Type type)
public static org.objectweb.asm.Type[] add(org.objectweb.asm.Type[] types, org.objectweb.asm.Type extra)
public static org.objectweb.asm.Type[] add(org.objectweb.asm.Type[] t1, org.objectweb.asm.Type[] t2)
public static org.objectweb.asm.Type fromInternalName(java.lang.String name)
public static org.objectweb.asm.Type[] fromInternalNames(java.lang.String[] names)
public static int getStackSize(org.objectweb.asm.Type[] types)
public static java.lang.String[] toInternalNames(org.objectweb.asm.Type[] types)
public static Signature parseSignature(java.lang.String s)
public static org.objectweb.asm.Type parseType(java.lang.String s)
public static org.objectweb.asm.Type[] parseTypes(java.lang.String s)
public static Signature parseConstructor(org.objectweb.asm.Type[] types)
public static Signature parseConstructor(java.lang.String sig)
private static java.util.List parseTypes(java.lang.String s, int mark, int end)
private static java.lang.String map(java.lang.String type)
public static org.objectweb.asm.Type getBoxedType(org.objectweb.asm.Type type)
public static org.objectweb.asm.Type getUnboxedType(org.objectweb.asm.Type type)
public static boolean isArray(org.objectweb.asm.Type type)
public static org.objectweb.asm.Type getComponentType(org.objectweb.asm.Type type)
public static boolean isPrimitive(org.objectweb.asm.Type type)
public static java.lang.String emulateClassGetName(org.objectweb.asm.Type type)
public static boolean isConstructor(MethodInfo method)
public static org.objectweb.asm.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(org.objectweb.asm.Type type)
public static java.lang.String escapeType(java.lang.String s)