クラスの使用
org.springframework.asm.Type
パッケージ
説明
ASM 9.x の Spring の再パッケージ化(Spring 固有のパッチを使用。内部使用のみ)。
Spring の CGLIB コアパッケージの再パッケージ化(内部使用のみ)。
Spring による CGLIB プロキシパッケージの再パッケージ化(内部使用のみ)。
org.springframework.asm 内の Type 使用
修飾子と型フィールド説明static final Type
Type.BOOLEAN_TYPE
boolean
型。static final Type
Type.BYTE_TYPE
byte
型。static final Type
Type.CHAR_TYPE
char
型。static final Type
Type.DOUBLE_TYPE
double
型。static final Type
Type.FLOAT_TYPE
float
型。static final Type
Type.INT_TYPE
int
型。static final Type
Type.LONG_TYPE
long
型。static final Type
Type.SHORT_TYPE
short
型。static final Type
Type.VOID_TYPE
void
型。修飾子と型メソッド説明Type[]
Type.getArgumentTypes()
この型のメソッドの引数の型を返します。static Type[]
Type.getArgumentTypes
(MethodSE method) 指定されたメソッドの引数の型に対応するType
値を返します。static Type[]
Type.getArgumentTypes
(StringSE methodDescriptor) 指定されたメソッド記述子の引数の型に対応するType
値を返します。Type.getElementType()
この配列型の要素の型を返します。static Type
Type.getMethodType
(StringSE methodDescriptor) 指定されたメソッド記述子に対応するType
を返します。static Type
Type.getMethodType
(Type returnType, Type... argumentTypes) 指定された引数と戻り値の型に対応するメソッドType
を返します。static Type
Type.getObjectType
(StringSE internalName) 指定された内部名に対応するType
を返します。Type.getReturnType()
この型のメソッドの戻り値の型を戻します。static Type
Type.getReturnType
(MethodSE method) 指定されたメソッドの戻り値の型に対応するType
を返します。static Type
Type.getReturnType
(StringSE methodDescriptor) 指定されたメソッド記述子の戻り値の型に対応するType
を返します。static Type
指定されたクラスに対応するType
を返します。static Type
Type.getType
(ConstructorSE<?> constructor) 指定されたコンストラクターに対応するメソッドType
を返します。static Type
指定されたメソッドに対応するメソッドType
を返します。static Type
指定された型記述子に対応するType
を返します。修飾子と型メソッド説明static StringSE
Type.getMethodDescriptor
(Type returnType, Type... argumentTypes) 指定された引数と戻り型に対応する記述子を返します。static Type
Type.getMethodType
(Type returnType, Type... argumentTypes) 指定された引数と戻り値の型に対応するメソッドType
を返します。org.springframework.cglib.core 内の Type 使用
修飾子と型フィールド説明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
修飾子と型メソッド説明static Type[]
static Type[]
static Type
TypeUtils.fromInternalName
(StringSE name) static Type[]
TypeUtils.fromInternalNames
(StringSE[] 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
(MemberSE member) abstract Type[]
ClassInfo.getInterfaces()
FieldTypeCustomizer.getOutType
(int index, Type type) 指定されたパラメーターを格納するためのフィールドの型を計算しますCodeEmitter.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
(StringSE s) 修飾子と型メソッド説明static Type[]
static Type[]
static void
EmitUtils.add_properties
(ClassEmitter ce, StringSE[] names, Type[] types) static void
EmitUtils.add_property
(ClassEmitter ce, StringSE name, Type type, StringSE fieldName) static void
EmitUtils.append_string
(CodeEmitter e, Type type, EmitUtils.ArrayDelimiters delims, Customizer customizer) 使用すべきではありません。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, StringSE className, Type superType, Type[] interfaces, StringSE source) ClassEmitter.begin_method
(int access, Signature sig, Type[] exceptions) void
引数がプリミティブクラスの場合、スタックの一番上にあるプリミティブ値をラップされた (オブジェクト) 同等のものに置き換えます。void
CodeEmitter.cast_numeric
(Type from, Type to) あるプリミティブ数値型から別の数値型へのキャストvoid
CodeEmitter.catch_exception
(Block block, Type exception) void
void
Customizer.customize
(CodeEmitter e, Type type) void
FieldTypeCustomizer.customize
(CodeEmitter e, int index, Type type) キーコンストラクターでthis.FIELD_0 = ?
の割り当てをカスタマイズしますboolean
HashCodeCustomizer.customize
(CodeEmitter e, Type type) ハッシュコードの計算をカスタマイズしますvoid
ClassEmitter.declare_field
(int access, StringSE name, Type type, ObjectSE value) static StringSE
TypeUtils.emulateClassGetName
(Type type) static Type
TypeUtils.getBoxedType
(Type type) static StringSE
TypeUtils.getClassName
(Type type) static Type
TypeUtils.getComponentType
(Type type) void
FieldTypeCustomizer.getOutType
(int index, Type type) 指定されたパラメーターを格納するためのフィールドの型を計算しますstatic StringSE
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) 使用すべきではありません。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) 使用すべきではありません。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) 使用すべきではありません。static void
EmitUtils.not_equals
(CodeEmitter e, Type type, Label notEquals, CustomizerRegistry registry) スタックの上位 2 つの項目が等しくない場合は、指定されたラベルに ブランチ。static Signature
TypeUtils.parseConstructor
(Type[] types) static void
EmitUtils.process_array
(CodeEmitter e, Type type, ProcessArrayCallback callback) スタック上の配列を処理します。static void
EmitUtils.process_arrays
(CodeEmitter e, Type type, ProcessArrayCallback callback) スタック上の 2 つの配列を並行して処理します。void
ProcessArrayCallback.processElement
(Type type) void
void
void
CodeEmitter.super_getfield
(StringSE name, Type type) void
CodeEmitter.super_getstatic
(StringSE name, Type type) void
CodeEmitter.super_putfield
(StringSE name, Type type) void
CodeEmitter.super_putstatic
(StringSE name, Type type) void
void
CodeEmitter.throw_exception
(Type type, StringSE msg) static StringSE[]
TypeUtils.toInternalNames
(Type[] types) void
引数がプリミティブクラスの場合、スタックの一番上にあるオブジェクトをラップされていない (プリミティブな) 同等のものに置き換えます。void
CodeEmitter.unbox_or_zero
(Type type) スタックの一番上にあるオブジェクトをアンボックスします。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) 引数がプリミティブクラスの場合はゼロをスタックにプッシュし、それ以外の場合は null をプッシュします。org.springframework.cglib.proxy 内の Type 使用
org.springframework.cglib.transform.impl 内の Type 使用
修飾子と型メソッド説明boolean
InterceptFieldFilter.acceptRead
(Type owner, StringSE name) boolean
InterceptFieldFilter.acceptWrite
(Type owner, StringSE name) void
AddDelegateTransformer.begin_class
(int version, int access, StringSE className, Type superType, Type[] interfaces, StringSE sourceFile) void
FieldProviderTransformer.begin_class
(int version, int access, StringSE className, Type superType, Type[] interfaces, StringSE sourceFile) void
InterceptFieldTransformer.begin_class
(int version, int access, StringSE className, Type superType, Type[] interfaces, StringSE 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, StringSE name, Type type, ObjectSE value) void
FieldProviderTransformer.declare_field
(int access, StringSE name, Type type, ObjectSE value) void
InterceptFieldTransformer.declare_field
(int access, StringSE name, Type type, ObjectSE value) AccessFieldTransformer.Callback.getPropertyName
(Type owner, StringSE fieldName)
EmitUtils.append_string(CodeEmitter, Type, ArrayDelimiters, CustomizerRegistry)
を使用してください