类的使用
org.springframework.asm.Type
使用Type的程序包 程序包 说明 org.springframework.asm Spring's repackaging of ASM 7.0 (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.asm中Type的使用
声明为Type的org.springframework.asm中的字段 修饰符和类型 字段 说明 static Type
Type. BOOLEAN_TYPE
Theboolean
type.static Type
Type. BYTE_TYPE
Thebyte
type.static Type
Type. CHAR_TYPE
Thechar
type.static Type
Type. DOUBLE_TYPE
Thedouble
type.static Type
Type. FLOAT_TYPE
Thefloat
type.static Type
Type. INT_TYPE
Theint
type.static Type
Type. LONG_TYPE
Thelong
type.static Type
Type. SHORT_TYPE
Theshort
type.static Type
Type. VOID_TYPE
Thevoid
type.返回Type的org.springframework.asm中的方法 修饰符和类型 方法 说明 Type[]
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
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
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
Type. getType(Class<?> clazz)
Returns theType
corresponding to the given class.static Type
Type. getType(Constructor<?> constructor)
Returns the methodType
corresponding to the given constructor.static Type
Type. getType(Method method)
Returns the methodType
corresponding to the given method.static Type
Type. getType(String typeDescriptor)
Returns theType
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 Type
Type. getMethodType(Type returnType, Type... argumentTypes)
Returns the methodType
corresponding to the given argument and return types.org.springframework.cglib.core中Type的使用
返回Type的org.springframework.cglib.core中的方法 修饰符和类型 方法 说明 static Type[]
ReflectUtils. getExceptionTypes(Member member)
org.springframework.cglib.proxy中Type的使用
参数类型为Type的org.springframework.cglib.proxy中的方法 修饰符和类型 方法 说明 Object
Enhancer.EnhancerKey. newInstance(String type, String[] interfaces, org.springframework.cglib.core.WeakCacheKey<org.springframework.cglib.proxy.CallbackFilter> filter, Type[] callbackTypes, boolean useFactory, boolean interceptDuringConstruction, Long serialVersionUID)