java.lang.Object
org.eclipse.persistence.asm.Type
Direct Known Subclasses:
TypeImpl, TypeImpl

public abstract class Type extends Object
  • Field Details

    • 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
  • Constructor Details

    • Type

      public Type()
  • Method Details

    • getType

      public static Type getType(String typeDescriptor)
    • getType

      public static Type getType(Class<?> clazz)
    • getMethodDescriptor

      public static String getMethodDescriptor(Method method)
    • getMethodDescriptor

      public static String getMethodDescriptor(Type returnType, Type... argumentTypes)
    • getDescriptor

      public static String getDescriptor(Class<?> clazz)
    • getInternalName

      public static String getInternalName(Class<?> clazz)
    • getTypeClassName

      public static Object getTypeClassName(Object value)
    • 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(Method method)
    • getMethodDescriptorInternal

      protected abstract String getMethodDescriptorInternal(Type returnType, Type... argumentTypes)
    • getClassName

      public abstract String getClassName()
    • unwrap

      public abstract <T> T unwrap()