# Uses of Class
org.springframework.asm.Type

Packages that use Type
Package
Description
org.springframework.asm
Spring's repackaging of ASM 9.x (with Spring-specific patches; for internal use only).
org.springframework.cglib.core
Spring's repackaging of the CGLIB core package (for internal use only).
org.springframework.cglib.proxy
Spring's repackaging of the CGLIB proxy package (for internal use only).
org.springframework.cglib.transform.impl
Spring's repackaging of the CGLIB transform impl package (for internal use only).

## Uses of Type in org.springframework.asm

Fields in org.springframework.asm declared as Type
Modifier and Type
Field
Description
`static final Type`
Type.`BOOLEAN_TYPE`
The `boolean` type.
`static final Type`
Type.`BYTE_TYPE`
The `byte` type.
`static final Type`
Type.`CHAR_TYPE`
The `char` type.
`static final Type`
Type.`DOUBLE_TYPE`
The `double` type.
`static final Type`
Type.`FLOAT_TYPE`
The `float` type.
`static final Type`
Type.`INT_TYPE`
The `int` type.
`static final Type`
Type.`LONG_TYPE`
The `long` type.
`static final Type`
Type.`SHORT_TYPE`
The `short` type.
`static final Type`
Type.`VOID_TYPE`
The `void` type.
Methods in org.springframework.asm that return Type
Modifier and Type
Method
Description
`Type[]`
Type.`getArgumentTypes()`
Returns the argument types of methods of this type.
`static Type[]`
Type.`getArgumentTypes(Method method)`
Returns the `Type` values corresponding to the argument types of the given method.
`static Type[]`
Type.`getArgumentTypes(String methodDescriptor)`
Returns the `Type` values 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 `Type` corresponding to the given method descriptor.
`static Type`
Type.`getMethodType(Type returnType, Type... argumentTypes)`
Returns the method `Type` corresponding to the given argument and return types.
`static Type`
Type.`getObjectType(String internalName)`
Returns the `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 `Type` corresponding to the return type of the given method.
`static Type`
Type.`getReturnType(String methodDescriptor)`
Returns the `Type` corresponding to the return type of the given method descriptor.
`static Type`
Type.`getType(Class<?> clazz)`
Returns the `Type` corresponding to the given class.
`static Type`
Type.`getType(Constructor<?> constructor)`
Returns the method `Type` corresponding to the given constructor.
`static Type`
Type.`getType(Method method)`
Returns the method `Type` corresponding to the given method.
`static Type`
Type.`getType(String typeDescriptor)`
Returns the `Type` corresponding to the given type descriptor.
Methods in org.springframework.asm with parameters of type Type
Modifier and Type
Method
Description
`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 method `Type` corresponding to the given argument and return types.

## Uses of Type in org.springframework.cglib.core

Fields in org.springframework.cglib.core declared as Type
Modifier and Type
Field
Description
`static final Type`
Constants.`TYPE_BIG_DECIMAL`
`static final Type`
Constants.`TYPE_BIG_INTEGER`
`static final Type`
Constants.`TYPE_BOOLEAN`
`static final Type`
Constants.`TYPE_BYTE`
`static final Type`
Constants.`TYPE_CHARACTER`
`static final Type`
Constants.`TYPE_CLASS`
`static final Type`
Constants.`TYPE_CLASS_ARRAY`
`static final Type`
Constants.`TYPE_CLASS_LOADER`
`static final Type`
Constants.`TYPE_DOUBLE`
`static final Type`
Constants.`TYPE_ERROR`
`static final Type`
Constants.`TYPE_FLOAT`
`static final Type`
Constants.`TYPE_INTEGER`
`static final Type`
Constants.`TYPE_LONG`
`static final Type`
Constants.`TYPE_NUMBER`
`static final Type`
Constants.`TYPE_OBJECT`
`static final Type`
Constants.`TYPE_OBJECT_ARRAY`
`static final Type`
Constants.`TYPE_RUNTIME_EXCEPTION`
`static final Type`
Constants.`TYPE_SHORT`
`static final Type`
Constants.`TYPE_SIGNATURE`
`static final Type`
Constants.`TYPE_STRING`
`static final Type`
Constants.`TYPE_STRING_ARRAY`
`static final Type`
Constants.`TYPE_STRING_BUFFER`
`static final Type`
Constants.`TYPE_SYSTEM`
`static final Type`
Constants.`TYPE_THROWABLE`
`static final Type`
Constants.`TYPE_TYPE`
`static final Type[]`
Constants.`TYPES_EMPTY`
Methods in org.springframework.cglib.core that return Type
Modifier and Type
Method
Description
`static Type[]`
TypeUtils.`add(Type[] types, Type extra)`
`static Type[]`
TypeUtils.`add(Type[] t1, Type[] t2)`
`static Type`
TypeUtils.`fromInternalName(String name)`
`static Type[]`
TypeUtils.`fromInternalNames(String[] names)`
`Type[]`
Signature.`getArgumentTypes()`
`static Type`
TypeUtils.`getBoxedType(Type type)`
`Type`
ClassEmitter.`getClassType()`
`static Type`
TypeUtils.`getComponentType(Type type)`
`abstract Type[]`
MethodInfo.`getExceptionTypes()`
`static Type[]`
ReflectUtils.`getExceptionTypes(Member member)`
`abstract Type[]`
ClassInfo.`getInterfaces()`
`Type`
FieldTypeCustomizer.`getOutType(int index, Type type)`
Computes type of field for storing given parameter
`Type`
CodeEmitter.`getReturnType()`
`Type`
Signature.`getReturnType()`
`Type`
ClassEmitter.`getSuperType()`
`abstract Type`
ClassInfo.`getSuperType()`
`abstract Type`
ClassInfo.`getType()`
`Type`
Local.`getType()`
`static Type`
TypeUtils.`getType(String className)`
`static Type[]`
TypeUtils.`getTypes(Class[] classes)`
`static Type`
TypeUtils.`getUnboxedType(Type type)`
`static Type`
TypeUtils.`parseType(String s)`
`static Type[]`
TypeUtils.`parseTypes(String s)`
Methods in org.springframework.cglib.core with parameters of type Type
Modifier and Type
Method
Description
`static Type[]`
TypeUtils.`add(Type[] types, Type extra)`
`static Type[]`
TypeUtils.`add(Type[] t1, Type[] t2)`
`static void`
EmitUtils.`add_properties(ClassEmitter ce, String[] names, Type[] types)`
`static void`
EmitUtils.`add_property(ClassEmitter ce, String name, Type type, String fieldName)`
`static void`
EmitUtils.`append_string(CodeEmitter e, Type type, EmitUtils.ArrayDelimiters delims, Customizer customizer)`
Deprecated.
use `EmitUtils.append_string(CodeEmitter, Type, ArrayDelimiters, CustomizerRegistry)` instead
`static void`
EmitUtils.`append_string(CodeEmitter e, Type type, EmitUtils.ArrayDelimiters delims, CustomizerRegistry registry)`
`void`
CodeEmitter.`array_load(Type type)`
`void`
CodeEmitter.`array_store(Type type)`
`void`
ClassEmitter.`begin_class(int version, int access, String className, Type superType, Type[] interfaces, String source)`
`CodeEmitter`
ClassEmitter.`begin_method(int access, Signature sig, Type[] exceptions)`
`void`
CodeEmitter.`box(Type type)`
If the argument is a primitive class, replaces the primitive value on the top of the stack with the wrapped (Object) equivalent using valueOf() methods.
`void`
CodeEmitter.`cast_numeric(Type from, Type to)`
Casts from one primitive numeric type to another
`void`
CodeEmitter.`catch_exception(Block block, Type exception)`
`void`
CodeEmitter.`checkcast(Type type)`
`void`
Customizer.`customize(CodeEmitter e, Type type)`
`void`
FieldTypeCustomizer.`customize(CodeEmitter e, int index, Type type)`
Customizes `this.FIELD_0 = ?` assignment in key constructor
`boolean`
HashCodeCustomizer.`customize(CodeEmitter e, Type type)`
Customizes calculation of hashcode
`void`
ClassEmitter.`declare_field(int access, String name, Type type, Object value)`
`static String`
TypeUtils.`emulateClassGetName(Type type)`
`static Type`
TypeUtils.`getBoxedType(Type type)`
`static String`
TypeUtils.`getClassName(Type type)`
`static Type`
TypeUtils.`getComponentType(Type type)`
`void`
CodeEmitter.`getfield(Type owner, String name, Type type)`
`Type`
FieldTypeCustomizer.`getOutType(int index, Type type)`
Computes type of field for storing given parameter
`static String`
TypeUtils.`getPackageName(Type type)`
`static int`
TypeUtils.`getStackSize(Type[] types)`
`void`
CodeEmitter.`getstatic(Type owner, String name, Type type)`
`static Type`
TypeUtils.`getUnboxedType(Type type)`
`static void`
EmitUtils.`hash_code(CodeEmitter e, Type type, int multiplier, Customizer customizer)`
Deprecated.
use `EmitUtils.hash_code(CodeEmitter, Type, int, CustomizerRegistry)` instead
`static void`
EmitUtils.`hash_code(CodeEmitter e, Type type, int multiplier, CustomizerRegistry registry)`
`void`
CodeEmitter.`if_cmp(Type type, int mode, Label label)`
`void`
CodeEmitter.`instance_of(Type type)`
`void`
CodeEmitter.`invoke(MethodInfo method, Type virtualType)`
`void`
CodeEmitter.`invoke_constructor(Type type)`
`void`
CodeEmitter.`invoke_constructor(Type type, Signature sig)`
`void`
CodeEmitter.`invoke_interface(Type owner, Signature sig)`
`void`
CodeEmitter.`invoke_static(Type owner, Signature sig)`
Deprecated.
`void`
CodeEmitter.`invoke_static(Type owner, Signature sig, boolean isInterface)`
`void`
CodeEmitter.`invoke_virtual(Type owner, Signature sig)`
`static boolean`
TypeUtils.`isArray(Type type)`
`static boolean`
TypeUtils.`isPrimitive(Type type)`
`static void`
EmitUtils.`load_class(CodeEmitter e, Type type)`
`Local`
CodeEmitter.`make_local(Type type)`
`void`
CodeEmitter.`math(int op, Type type)`
`void`
CodeEmitter.`new_instance(Type type)`
`void`
CodeEmitter.`newarray(Type type)`
`static int`
TypeUtils.`NEWARRAY(Type type)`
`static void`
EmitUtils.`not_equals(CodeEmitter e, Type type, Label notEquals, Customizer customizer)`
Deprecated.
use `EmitUtils.not_equals(CodeEmitter, Type, Label, CustomizerRegistry)` instead
`static void`
EmitUtils.`not_equals(CodeEmitter e, Type type, Label notEquals, CustomizerRegistry registry)`
Branches to the specified label if the top two items on the stack are not equal.
`static Signature`
TypeUtils.`parseConstructor(Type[] types)`
`static void`
EmitUtils.`process_array(CodeEmitter e, Type type, ProcessArrayCallback callback)`
Process an array on the stack.
`static void`
EmitUtils.`process_arrays(CodeEmitter e, Type type, ProcessArrayCallback callback)`
Process two arrays on the stack in parallel.
`void`
ProcessArrayCallback.`processElement(Type type)`
`void`
CodeEmitter.`putfield(Type owner, String name, Type type)`
`void`
CodeEmitter.`putstatic(Type owner, String name, Type type)`
`void`
CodeEmitter.`super_getfield(String name, Type type)`
`void`
CodeEmitter.`super_getstatic(String name, Type type)`
`void`
CodeEmitter.`super_putfield(String name, Type type)`
`void`
CodeEmitter.`super_putstatic(String name, Type type)`
`void`
CodeEmitter.`swap(Type prev, Type type)`
`void`
CodeEmitter.`throw_exception(Type type, String msg)`
`static String[]`
TypeUtils.`toInternalNames(Type[] types)`
`void`
CodeEmitter.`unbox(Type type)`
If the argument is a primitive class, replaces the object on the top of the stack with the unwrapped (primitive) equivalent.
`void`
CodeEmitter.`unbox_or_zero(Type type)`
Unboxes the object on the top of the stack.
`static void`
EmitUtils.`wrap_throwable(Block block, Type wrapper)`
`static void`
EmitUtils.`wrap_undeclared_throwable(CodeEmitter e, Block handler, Type[] exceptions, Type wrapper)`
`void`
CodeEmitter.`zero_or_null(Type type)`
Pushes a zero onto the stack if the argument is a primitive class, or a null otherwise.
Constructors in org.springframework.cglib.core with parameters of type Type
Modifier
Constructor
Description
``
`Local(int index, Type type)`
``
`Signature(String name, Type returnType, Type[] argumentTypes)`

## Uses of Type in org.springframework.cglib.proxy

Methods in org.springframework.cglib.proxy with parameters of type Type
Modifier and Type
Method
Description
`void`
InterfaceMaker.`add(Signature sig, Type[] exceptions)`
Add a method signature to the interface.

## Uses of Type in org.springframework.cglib.transform.impl

Methods in org.springframework.cglib.transform.impl with parameters of type Type
Modifier and Type
Method
Description
`boolean`
InterceptFieldFilter.`acceptRead(Type owner, String name)`
`boolean`
InterceptFieldFilter.`acceptWrite(Type owner, String name)`
`void`
AddDelegateTransformer.`begin_class(int version, int access, String className, Type superType, Type[] interfaces, String sourceFile)`
`void`
FieldProviderTransformer.`begin_class(int version, int access, String className, Type superType, Type[] interfaces, String sourceFile)`
`void`
InterceptFieldTransformer.`begin_class(int version, int access, String className, Type superType, Type[] interfaces, String sourceFile)`
`CodeEmitter`
AddDelegateTransformer.`begin_method(int access, Signature sig, Type[] exceptions)`
`CodeEmitter`
AddInitTransformer.`begin_method(int access, Signature sig, Type[] exceptions)`
`CodeEmitter`
InterceptFieldTransformer.`begin_method(int access, Signature sig, Type[] exceptions)`
`CodeEmitter`
UndeclaredThrowableTransformer.`begin_method(int access, Signature sig, Type[] exceptions)`
`void`
AccessFieldTransformer.`declare_field(int access, String name, Type type, Object value)`
`void`
FieldProviderTransformer.`declare_field(int access, String name, Type type, Object value)`
`void`
InterceptFieldTransformer.`declare_field(int access, String name, Type type, Object value)`
`String`
AccessFieldTransformer.Callback.`getPropertyName(Type owner, String fieldName)`
Constructors in org.springframework.cglib.transform.impl with parameters of type Type
Modifier
Constructor
Description
``
`AddPropertyTransformer(String[] names, Type[] types)`