Uses of Class
org.springframework.asm.Type
Package
Description
Spring's repackaging of
ASM 9.x
(with Spring-specific patches; for internal use only).
Spring's repackaging of the
CGLIB core package
(for internal use only).
Spring's repackaging of the
CGLIB proxy package
(for internal use only).
Spring's repackaging of the
CGLIB transform impl package
(for internal use only).
-
Uses of Type in org.springframework.asm
Modifier and TypeFieldDescriptionstatic final Type
Type.BOOLEAN_TYPE
Theboolean
type.static final Type
Type.BYTE_TYPE
Thebyte
type.static final Type
Type.CHAR_TYPE
Thechar
type.static final Type
Type.DOUBLE_TYPE
Thedouble
type.static final Type
Type.FLOAT_TYPE
Thefloat
type.static final Type
Type.INT_TYPE
Theint
type.static final Type
Type.LONG_TYPE
Thelong
type.static final Type
Type.SHORT_TYPE
Theshort
type.static final Type
Type.VOID_TYPE
Thevoid
type.Modifier and TypeMethodDescriptionType[]
Type.getArgumentTypes()
Returns the argument types of methods of this type.static Type[]
Type.getArgumentTypes
(Method method) Returns theType
values corresponding to the argument types of the given method.static Type[]
Type.getArgumentTypes
(String methodDescriptor) Returns theType
values corresponding to the argument types of the given method descriptor.Type.getElementType()
Returns the type of the elements of this array type.static Type
Type.getMethodType
(String methodDescriptor) Returns theType
corresponding to the given method descriptor.static Type
Type.getMethodType
(Type returnType, Type... argumentTypes) Returns the methodType
corresponding to the given argument and return types.static Type
Type.getObjectType
(String internalName) Returns theType
corresponding to the given internal name.Type.getReturnType()
Returns the return type of methods of this type.static Type
Type.getReturnType
(Method method) Returns theType
corresponding to the return type of the given method.static Type
Type.getReturnType
(String methodDescriptor) Returns theType
corresponding to the return type of the given method descriptor.static Type
Returns theType
corresponding to the given class.static Type
Type.getType
(Constructor<?> constructor) Returns the methodType
corresponding to the given constructor.static Type
Returns the methodType
corresponding to the given method.static Type
Returns theType
corresponding to the given type descriptor.Modifier and TypeMethodDescriptionstatic 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 methodType
corresponding to the given argument and return types. -
Uses of Type in org.springframework.cglib.core
Modifier and TypeFieldDescriptionstatic 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
Modifier and TypeMethodDescriptionstatic Type[]
static Type[]
static Type
TypeUtils.fromInternalName
(String name) static Type[]
TypeUtils.fromInternalNames
(String[] names) Type[]
Signature.getArgumentTypes()
static Type
TypeUtils.getBoxedType
(Type type) ClassEmitter.getClassType()
static Type
TypeUtils.getComponentType
(Type type) abstract Type[]
MethodInfo.getExceptionTypes()
static Type[]
ReflectUtils.getExceptionTypes
(Member member) abstract Type[]
ClassInfo.getInterfaces()
FieldTypeCustomizer.getOutType
(int index, Type type) Computes type of field for storing given parameterCodeEmitter.getReturnType()
Signature.getReturnType()
ClassEmitter.getSuperType()
abstract Type
ClassInfo.getSuperType()
abstract Type
ClassInfo.getType()
Local.getType()
static Type
static Type[]
static Type
TypeUtils.getUnboxedType
(Type type) static Type
static Type[]
TypeUtils.parseTypes
(String s) Modifier and TypeMethodDescriptionstatic Type[]
static Type[]
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.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) ClassEmitter.begin_method
(int access, Signature sig, Type[] exceptions) void
If the argument is a primitive class, replaces the primitive value on the top of the stack with the wrapped (Object) equivalent.void
CodeEmitter.cast_numeric
(Type from, Type to) Casts from one primitive numeric type to anothervoid
CodeEmitter.catch_exception
(Block block, Type exception) void
void
Customizer.customize
(CodeEmitter e, Type type) void
FieldTypeCustomizer.customize
(CodeEmitter e, int index, Type type) Customizesthis.FIELD_0 = ?
assignment in key constructorboolean
HashCodeCustomizer.customize
(CodeEmitter e, Type type) Customizes calculation of hashcodevoid
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
FieldTypeCustomizer.getOutType
(int index, Type type) Computes type of field for storing given parameterstatic String
TypeUtils.getPackageName
(Type type) static int
TypeUtils.getStackSize
(Type[] types) void
static Type
TypeUtils.getUnboxedType
(Type type) static void
EmitUtils.hash_code
(CodeEmitter e, Type type, int multiplier, Customizer customizer) Deprecated.static void
EmitUtils.hash_code
(CodeEmitter e, Type type, int multiplier, CustomizerRegistry registry) void
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
static boolean
TypeUtils.isPrimitive
(Type type) static void
EmitUtils.load_class
(CodeEmitter e, Type type) CodeEmitter.make_local
(Type type) void
void
CodeEmitter.new_instance
(Type type) void
static int
static void
EmitUtils.not_equals
(CodeEmitter e, Type type, Label notEquals, Customizer customizer) Deprecated.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
void
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
void
CodeEmitter.throw_exception
(Type type, String msg) static String[]
TypeUtils.toInternalNames
(Type[] types) void
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. -
Uses of Type in org.springframework.cglib.proxy
-
Uses of Type in org.springframework.cglib.transform.impl
Modifier and TypeMethodDescriptionboolean
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) AddDelegateTransformer.begin_method
(int access, Signature sig, Type[] exceptions) AddInitTransformer.begin_method
(int access, Signature sig, Type[] exceptions) InterceptFieldTransformer.begin_method
(int access, Signature sig, Type[] exceptions) 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) AccessFieldTransformer.Callback.getPropertyName
(Type owner, String fieldName)
EmitUtils.append_string(CodeEmitter, Type, ArrayDelimiters, CustomizerRegistry)
instead