- java.lang.Object
-
- org.eclipse.persistence.asm.Type
-
public abstract class Type extends Object
-
-
Constructor Summary
Constructors Constructor Description Type()
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract StringgetClassName()abstract StringgetDescriptor()static StringgetDescriptor(Class<?> clazz)abstract StringgetInternalName()static StringgetInternalName(Class<?> clazz)static StringgetMethodDescriptor(Method method)static StringgetMethodDescriptor(Type returnType, Type... argumentTypes)protected abstract StringgetMethodDescriptorInternal(Method method)protected abstract StringgetMethodDescriptorInternal(Type returnType, Type... argumentTypes)abstract intgetOpcode(int opcode)abstract intgetSort()static TypegetType(Class<?> clazz)static TypegetType(String typeDescriptor)static ObjectgetTypeClassName(Object value)abstract <T> Tunwrap()
-
-
-
Field Detail
-
BOOLEAN
public static final int BOOLEAN
-
BYTE
public static final int BYTE
-
CHAR
public static final int CHAR
-
DOUBLE
public static final int DOUBLE
-
FLOAT
public static final int FLOAT
-
INT
public static final int INT
-
LONG
public static final int LONG
-
SHORT
public static final int SHORT
-
VOID_TYPE
public static final Type VOID_TYPE
-
-
Method Detail
-
getMethodDescriptor
public static String getMethodDescriptor(Type returnType, Type... argumentTypes)
-
getDescriptor
public abstract String getDescriptor()
-
getInternalName
public abstract String getInternalName()
-
getSort
public abstract int getSort()
-
getOpcode
public abstract int getOpcode(int opcode)
-
getMethodDescriptorInternal
protected abstract String getMethodDescriptorInternal(Type returnType, Type... argumentTypes)
-
getClassName
public abstract String getClassName()
-
unwrap
public abstract <T> T unwrap()
-
-