クラス EmitUtils
java.lang.ObjectSE
org.springframework.cglib.core.EmitUtils
ネストされたクラスのサマリー
フィールドサマリー
メソッドのサマリー
修飾子と型メソッド説明static void
add_properties
(ClassEmitter ce, StringSE[] names, Type[] types) static void
add_property
(ClassEmitter ce, StringSE name, Type type, StringSE fieldName) static void
append_string
(CodeEmitter e, Type type, EmitUtils.ArrayDelimiters delims, Customizer customizer) 使用すべきではありません。static void
append_string
(CodeEmitter e, Type type, EmitUtils.ArrayDelimiters delims, CustomizerRegistry registry) static CodeEmitter
begin_method
(ClassEmitter e, MethodInfo method) static CodeEmitter
begin_method
(ClassEmitter e, MethodInfo method, int access) static void
constructor_switch
(CodeEmitter e, ListSE constructors, ObjectSwitchCallback callback) static void
factory_method
(ClassEmitter ce, Signature sig) static void
hash_code
(CodeEmitter e, Type type, int multiplier, Customizer customizer) 使用すべきではありません。代わりにhash_code(CodeEmitter, Type, int, CustomizerRegistry)
を使用してくださいstatic void
hash_code
(CodeEmitter e, Type type, int multiplier, CustomizerRegistry registry) static void
load_class
(CodeEmitter e, Type type) static void
static void
load_method
(CodeEmitter e, MethodInfo method) static void
method_switch
(CodeEmitter e, ListSE methods, ObjectSwitchCallback callback) static void
not_equals
(CodeEmitter e, Type type, Label notEquals, Customizer customizer) 使用すべきではありません。代わりにnot_equals(CodeEmitter, Type, Label, CustomizerRegistry)
を使用してくださいstatic void
not_equals
(CodeEmitter e, Type type, Label notEquals, CustomizerRegistry registry) スタックの上位 2 つの項目が等しくない場合は、指定されたラベルに ブランチ。static void
static void
process_array
(CodeEmitter e, Type type, ProcessArrayCallback callback) スタック上の配列を処理します。static void
process_arrays
(CodeEmitter e, Type type, ProcessArrayCallback callback) スタック上の 2 つの配列を並行して処理します。static void
push_array
(CodeEmitter e, ObjectSE[] array) static void
push_object
(CodeEmitter e, ObjectSE obj) static void
string_switch
(CodeEmitter e, StringSE[] strings, int switchStyle, ObjectSwitchCallback callback) static void
wrap_throwable
(Block block, Type wrapper) static void
wrap_undeclared_throwable
(CodeEmitter e, Block handler, Type[] exceptions, Type wrapper)
フィールドの詳細
DEFAULT_DELIMITERS
メソッドの詳細
factory_method
null_constructor
process_array
スタック上の配列を処理します。スタックの一番上の項目が指定された型の配列であると想定します。配列内の各要素について、要素をスタックに置き、コールバックをトリガーします。- パラメーター:
type
- 配列の型 (type.isArray() が真でなければなりません)callback
- 各要素に対してトリガーされるコールバック
process_arrays
スタック上の 2 つの配列を並行して処理します。スタックの上位 2 つの項目が指定されたクラスの配列であると想定します。配列は同じ長さでなければなりません。配列内の要素のペアごとに、ペアをスタックに置き、コールバックをトリガーします。- パラメーター:
type
- 配列の型 (type.isArray() が true でなければなりません)callback
- 要素のペアごとにトリガーされるコールバック
string_switch
public static void string_switch(CodeEmitter e, StringSE[] strings, int switchStyle, ObjectSwitchCallback callback) load_class_this
load_class
push_array
push_object
hash_code
@DeprecatedSE public static void hash_code(CodeEmitter e, Type type, int multiplier, Customizer customizer) 使用すべきではありません。代わりにhash_code(CodeEmitter, Type, int, CustomizerRegistry)
を使用してくださいhash_code
not_equals
@DeprecatedSE public static void not_equals(CodeEmitter e, Type type, Label notEquals, Customizer customizer) 使用すべきではありません。代わりにnot_equals(CodeEmitter, Type, Label, CustomizerRegistry)
を使用してくださいnot_equals
public static void not_equals(CodeEmitter e, Type type, Label notEquals, CustomizerRegistry registry) スタックの上位 2 つの項目が等しくない場合は、指定されたラベルに ブランチ。アイテムは両方とも指定されたクラスでなければなりません。等しいかどうかは、プリミティブ値を直接比較し、オブジェクトに対してequals
メソッドを呼び出すことによって決定されます。配列は同じ方法で再帰的に処理されます。append_string
@DeprecatedSE public static void append_string(CodeEmitter e, Type type, EmitUtils.ArrayDelimiters delims, Customizer customizer) 使用すべきではありません。append_string
public static void append_string(CodeEmitter e, Type type, EmitUtils.ArrayDelimiters delims, CustomizerRegistry registry) load_method
method_switch
constructor_switch
public static void constructor_switch(CodeEmitter e, ListSE constructors, ObjectSwitchCallback callback) wrap_throwable
add_properties
add_property
wrap_undeclared_throwable
public static void wrap_undeclared_throwable(CodeEmitter e, Block handler, Type[] exceptions, Type wrapper) begin_method
begin_method
append_string(CodeEmitter, Type, ArrayDelimiters, CustomizerRegistry)
を使用してください