Class Type


  • public final class Type
    extends Object
    • Method Detail

      • getType

        public static Type getType​(String typeDescriptor)
      • getType

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

        public static Type getType​(Method method)
      • getElementType

        public Type getElementType()
      • getObjectType

        public static Type getObjectType​(String internalName)
      • getMethodType

        public static Type getMethodType​(String methodDescriptor)
      • getMethodType

        public static Type getMethodType​(Type returnType,
                                         Type... argumentTypes)
      • getArgumentTypes

        public Type[] getArgumentTypes()
      • getArgumentTypes

        public static Type[] getArgumentTypes​(String methodDescriptor)
      • getArgumentTypes

        public static Type[] getArgumentTypes​(Method method)
      • getReturnType

        public Type getReturnType()
      • getReturnType

        public static Type getReturnType​(String methodDescriptor)
      • getReturnType

        public static Type getReturnType​(Method method)
      • getClassName

        public String getClassName()
      • getInternalName

        public String getInternalName()
      • getInternalName

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

        public String getDescriptor()
      • getDescriptor

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

        public static String getConstructorDescriptor​(Constructor<?> constructor)
      • getMethodDescriptor

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

        public static String getMethodDescriptor​(Method method)
      • getSort

        public int getSort()
      • getDimensions

        public int getDimensions()
      • getSize

        public int getSize()
      • getArgumentsAndReturnSizes

        public int getArgumentsAndReturnSizes()
      • getArgumentsAndReturnSizes

        public static int getArgumentsAndReturnSizes​(String methodDescriptor)
      • getOpcode

        public int getOpcode​(int opcode)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object