## 类的使用
org.springframework.asm.Type

- 使用Type的程序包
  程序包 | 说明
  --- | ---
  org.springframework.asm | Spring's repackaging of ASM 6.0 (with Spring-specific patches; for internal use only).

- - ### org.springframework.asm中Type的使用

    声明为Type的org.springframework.asm中的字段
    限定符和类型 | 字段和说明
    --- | ---
    `static Type` | Type.`BOOLEAN_TYPE` The `boolean` type.
    `static Type` | Type.`BYTE_TYPE` The `byte` type.
    `static Type` | Type.`CHAR_TYPE` The `char` type.
    `static Type` | Type.`DOUBLE_TYPE` The `double` type.
    `static Type` | Type.`FLOAT_TYPE` The `float` type.
    `static Type` | Type.`INT_TYPE` The `int` type.
    `static Type` | Type.`LONG_TYPE` The `long` type.
    `static Type` | Type.`SHORT_TYPE` The `short` type.
    `static Type` | Type.`VOID_TYPE` The `void` type.

    返回Type的org.springframework.asm中的方法
    限定符和类型 | 方法和说明
    --- | ---
    `Type[]` | Type.`getArgumentTypes()` Returns the argument types of methods of this type.
    `static Type[]` | Type.`getArgumentTypes(Method method)` Returns the Java types corresponding to the argument types of the given method.
    `static Type[]` | Type.`getArgumentTypes(String methodDescriptor)` Returns the Java types corresponding to the argument types of the given method descriptor.
    `Type` | Type.`getElementType()` Returns the type of the elements of this array type.
    `static Type` | Type.`getMethodType(String methodDescriptor)` Returns the Java type corresponding to the given method descriptor.
    `static Type` | Type.`getMethodType(Type returnType, Type... argumentTypes)` Returns the Java method type corresponding to the given argument and return types.
    `static Type` | Type.`getObjectType(String internalName)` Returns the Java type corresponding to the given internal name.
    `Type` | Type.`getReturnType()` Returns the return type of methods of this type.
    `static Type` | Type.`getReturnType(Method method)` Returns the Java type corresponding to the return type of the given method.
    `static Type` | Type.`getReturnType(String methodDescriptor)` Returns the Java type corresponding to the return type of the given method descriptor.
    `static Type` | Type.`getType(Class<?> c)` Returns the Java type corresponding to the given class.
    `static Type` | Type.`getType(Constructor<?> c)` Returns the Java method type corresponding to the given constructor.
    `static Type` | Type.`getType(Method m)` Returns the Java method type corresponding to the given method.
    `static Type` | Type.`getType(String typeDescriptor)` Returns the Java type corresponding to the given type descriptor.

    参数类型为Type的org.springframework.asm中的方法
    限定符和类型 | 方法和说明
    --- | ---
    `static String` | Type.`getMethodDescriptor(Type returnType, Type... argumentTypes)` Returns the descriptor corresponding to the given argument and return types.
    `static String` | Type.`getMethodDescriptor(Type returnType, Type... argumentTypes)` Returns the descriptor corresponding to the given argument and return types.
    `static Type` | Type.`getMethodType(Type returnType, Type... argumentTypes)` Returns the Java method type corresponding to the given argument and return types.
    `static Type` | Type.`getMethodType(Type returnType, Type... argumentTypes)` Returns the Java method type corresponding to the given argument and return types.