Package net.sf.cglib.core
Class TypeUtils
java.lang.Object
net.sf.cglib.core.TypeUtils
-
Method Summary
Modifier and TypeMethodDescriptionstatic 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 String
emulateClassGetName
(org.objectweb.asm.Type type) static String
escapeType
(String s) static int
FCONST
(float value) static org.objectweb.asm.Type
fromInternalName
(String name) static org.objectweb.asm.Type[]
fromInternalNames
(String[] names) static org.objectweb.asm.Type
getBoxedType
(org.objectweb.asm.Type type) static String
getClassName
(org.objectweb.asm.Type type) static org.objectweb.asm.Type
getComponentType
(org.objectweb.asm.Type type) static String
getPackageName
(String className) static String
getPackageName
(org.objectweb.asm.Type type) static int
getStackSize
(org.objectweb.asm.Type[] types) static org.objectweb.asm.Type
static org.objectweb.asm.Type[]
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) static int
NEWARRAY
(org.objectweb.asm.Type type) static Signature
parseConstructor
(String sig) static Signature
parseConstructor
(org.objectweb.asm.Type[] types) static Signature
static org.objectweb.asm.Type
static org.objectweb.asm.Type[]
parseTypes
(String s) static String[]
toInternalNames
(org.objectweb.asm.Type[] types) static String
upperFirst
(String s)
-
Method Details
-
getType
-
isFinal
public static boolean isFinal(int access) -
isStatic
public static boolean isStatic(int access) -
isProtected
public static boolean isProtected(int access) -
isPublic
public static boolean isPublic(int access) -
isAbstract
public static boolean isAbstract(int access) -
isInterface
public static boolean isInterface(int access) -
isPrivate
public static boolean isPrivate(int access) -
isSynthetic
public static boolean isSynthetic(int access) -
isBridge
public static boolean isBridge(int access) -
getPackageName
-
getPackageName
-
upperFirst
-
getClassName
-
add
public static org.objectweb.asm.Type[] add(org.objectweb.asm.Type[] types, org.objectweb.asm.Type extra) -
add
public static org.objectweb.asm.Type[] add(org.objectweb.asm.Type[] t1, org.objectweb.asm.Type[] t2) -
fromInternalName
-
fromInternalNames
-
getStackSize
public static int getStackSize(org.objectweb.asm.Type[] types) -
toInternalNames
-
parseSignature
-
parseType
-
parseTypes
-
parseConstructor
-
parseConstructor
-
getBoxedType
public static org.objectweb.asm.Type getBoxedType(org.objectweb.asm.Type type) -
getUnboxedType
public static org.objectweb.asm.Type getUnboxedType(org.objectweb.asm.Type type) -
isArray
public static boolean isArray(org.objectweb.asm.Type type) -
getComponentType
public static org.objectweb.asm.Type getComponentType(org.objectweb.asm.Type type) -
isPrimitive
public static boolean isPrimitive(org.objectweb.asm.Type type) -
emulateClassGetName
-
isConstructor
-
getTypes
-
ICONST
public static int ICONST(int value) -
LCONST
public static int LCONST(long value) -
FCONST
public static int FCONST(float value) -
DCONST
public static int DCONST(double value) -
NEWARRAY
public static int NEWARRAY(org.objectweb.asm.Type type) -
escapeType
-