Package | Description |
---|---|
net.sf.cglib.core | |
net.sf.cglib.proxy | |
net.sf.cglib.reflect | |
net.sf.cglib.transform.impl |
Modifier and Type | Field and Description |
---|---|
private CodeEmitter |
Block.e |
private CodeEmitter |
ClassEmitter.staticHook |
private CodeEmitter |
ClassEmitter.staticInit |
Modifier and Type | Method and Description |
---|---|
static CodeEmitter |
EmitUtils.begin_method(ClassEmitter e,
MethodInfo method) |
static CodeEmitter |
EmitUtils.begin_method(ClassEmitter e,
MethodInfo method,
int access) |
CodeEmitter |
ClassEmitter.begin_method(int access,
Signature sig,
org.objectweb.asm.Type[] exceptions) |
CodeEmitter |
ClassEmitter.begin_static() |
CodeEmitter |
Block.getCodeEmitter() |
CodeEmitter |
ClassEmitter.getStaticHook() |
Modifier and Type | Method and Description |
---|---|
private static void |
EmitUtils.append_string_helper(CodeEmitter e,
org.objectweb.asm.Type type,
EmitUtils.ArrayDelimiters delims,
CustomizerRegistry registry,
ProcessArrayCallback callback) |
static void |
EmitUtils.append_string(CodeEmitter e,
org.objectweb.asm.Type type,
EmitUtils.ArrayDelimiters delims,
Customizer customizer)
Deprecated.
|
static void |
EmitUtils.append_string(CodeEmitter e,
org.objectweb.asm.Type type,
EmitUtils.ArrayDelimiters delims,
CustomizerRegistry registry) |
static void |
EmitUtils.constructor_switch(CodeEmitter e,
java.util.List constructors,
ObjectSwitchCallback callback) |
void |
FieldTypeCustomizer.customize(CodeEmitter e,
int index,
org.objectweb.asm.Type type)
Customizes
this.FIELD_0 = ? assignment in key constructor |
boolean |
HashCodeCustomizer.customize(CodeEmitter e,
org.objectweb.asm.Type type)
Customizes calculation of hashcode
|
void |
Customizer.customize(CodeEmitter e,
org.objectweb.asm.Type type) |
private static void |
EmitUtils.hash_array(CodeEmitter e,
org.objectweb.asm.Type type,
int multiplier,
CustomizerRegistry registry) |
static void |
EmitUtils.hash_code(CodeEmitter e,
org.objectweb.asm.Type type,
int multiplier,
Customizer customizer)
Deprecated.
|
static void |
EmitUtils.hash_code(CodeEmitter e,
org.objectweb.asm.Type type,
int multiplier,
CustomizerRegistry registry) |
private static void |
EmitUtils.hash_long(CodeEmitter e) |
private static void |
EmitUtils.hash_object(CodeEmitter e,
org.objectweb.asm.Type type,
CustomizerRegistry registry) |
private static void |
EmitUtils.hash_primitive(CodeEmitter e,
org.objectweb.asm.Type type) |
private static void |
EmitUtils.load_class_helper(CodeEmitter e,
org.objectweb.asm.Type type) |
static void |
EmitUtils.load_class_this(CodeEmitter e) |
static void |
EmitUtils.load_class(CodeEmitter e,
org.objectweb.asm.Type type) |
static void |
EmitUtils.load_method(CodeEmitter e,
MethodInfo method) |
private static void |
EmitUtils.member_helper_size(CodeEmitter e,
java.util.List members,
ObjectSwitchCallback callback,
EmitUtils.ParameterTyper typer,
org.objectweb.asm.Label def,
org.objectweb.asm.Label end) |
private static void |
EmitUtils.member_helper_type(CodeEmitter e,
java.util.List members,
ObjectSwitchCallback callback,
EmitUtils.ParameterTyper typer,
org.objectweb.asm.Label def,
org.objectweb.asm.Label end,
java.util.BitSet checked) |
private static void |
EmitUtils.member_switch_helper(CodeEmitter e,
java.util.List members,
ObjectSwitchCallback callback,
boolean useName) |
static void |
EmitUtils.method_switch(CodeEmitter e,
java.util.List methods,
ObjectSwitchCallback callback) |
private static void |
EmitUtils.not_equals_helper(CodeEmitter e,
org.objectweb.asm.Type type,
org.objectweb.asm.Label notEquals,
CustomizerRegistry registry,
ProcessArrayCallback callback) |
static void |
EmitUtils.not_equals(CodeEmitter e,
org.objectweb.asm.Type type,
org.objectweb.asm.Label notEquals,
Customizer customizer)
Deprecated.
|
static void |
EmitUtils.not_equals(CodeEmitter e,
org.objectweb.asm.Type type,
org.objectweb.asm.Label notEquals,
CustomizerRegistry registry)
Branches to the specified label if the top two items on the stack
are not equal.
|
private static void |
EmitUtils.nullcmp(CodeEmitter e,
org.objectweb.asm.Label oneNull,
org.objectweb.asm.Label bothNull)
If both objects on the top of the stack are non-null, does nothing.
|
static void |
EmitUtils.process_array(CodeEmitter e,
org.objectweb.asm.Type type,
ProcessArrayCallback callback)
Process an array on the stack.
|
static void |
EmitUtils.process_arrays(CodeEmitter e,
org.objectweb.asm.Type type,
ProcessArrayCallback callback)
Process two arrays on the stack in parallel.
|
static void |
EmitUtils.push_array(CodeEmitter e,
java.lang.Object[] array) |
static void |
EmitUtils.push_object(CodeEmitter e,
java.lang.Object obj) |
private static void |
EmitUtils.shrinkStringBuffer(CodeEmitter e,
int amt) |
private static void |
EmitUtils.string_switch_hash(CodeEmitter e,
java.lang.String[] strings,
ObjectSwitchCallback callback,
boolean skipEquals) |
private static void |
EmitUtils.string_switch_trie(CodeEmitter e,
java.lang.String[] strings,
ObjectSwitchCallback callback) |
static void |
EmitUtils.string_switch(CodeEmitter e,
java.lang.String[] strings,
int switchStyle,
ObjectSwitchCallback callback) |
private static void |
EmitUtils.stringSwitchHelper(CodeEmitter e,
java.util.List strings,
ObjectSwitchCallback callback,
org.objectweb.asm.Label def,
org.objectweb.asm.Label end,
int index) |
static void |
EmitUtils.wrap_undeclared_throwable(CodeEmitter e,
Block handler,
org.objectweb.asm.Type[] exceptions,
org.objectweb.asm.Type wrapper) |
Constructor and Description |
---|
Block(CodeEmitter e) |
CodeEmitter(CodeEmitter wrap) |
Modifier and Type | Method and Description |
---|---|
CodeEmitter |
CallbackGenerator.Context.beginMethod(ClassEmitter ce,
MethodInfo method) |
Modifier and Type | Method and Description |
---|---|
void |
CallbackGenerator.Context.emitCallback(CodeEmitter ce,
int index) |
private void |
Enhancer.emitCommonNewInstance(CodeEmitter e) |
private void |
Enhancer.emitCurrentCallback(CodeEmitter e,
int index) |
void |
CallbackGenerator.Context.emitInvoke(CodeEmitter e,
MethodInfo method) |
void |
LazyLoaderGenerator.generateStatic(CodeEmitter e,
CallbackGenerator.Context context,
java.util.List methods) |
void |
NoOpGenerator.generateStatic(CodeEmitter e,
CallbackGenerator.Context context,
java.util.List methods) |
void |
MethodInterceptorGenerator.generateStatic(CodeEmitter e,
CallbackGenerator.Context context,
java.util.List methods) |
void |
CallbackGenerator.generateStatic(CodeEmitter e,
CallbackGenerator.Context context,
java.util.List methods) |
void |
DispatcherGenerator.generateStatic(CodeEmitter e,
CallbackGenerator.Context context,
java.util.List methods) |
void |
FixedValueGenerator.generateStatic(CodeEmitter e,
CallbackGenerator.Context context,
java.util.List methods) |
void |
InvocationHandlerGenerator.generateStatic(CodeEmitter e,
CallbackGenerator.Context context,
java.util.List methods) |
private org.objectweb.asm.Type |
Enhancer.getThisType(CodeEmitter e) |
private static void |
MethodInterceptorGenerator.superHelper(CodeEmitter e,
MethodInfo method,
CallbackGenerator.Context context) |
Modifier and Type | Field and Description |
---|---|
private CodeEmitter |
FastClassEmitter.GetIndexCallback.e |
Modifier and Type | Method and Description |
---|---|
private static void |
FastClassEmitter.invokeSwitchHelper(CodeEmitter e,
java.util.List members,
int arg,
org.objectweb.asm.Type base) |
private void |
FastClassEmitter.signatureSwitchHelper(CodeEmitter e,
java.util.List signatures) |
Constructor and Description |
---|
GetIndexCallback(CodeEmitter e,
java.util.List methods) |
Modifier and Type | Method and Description |
---|---|
CodeEmitter |
AddDelegateTransformer.begin_method(int access,
Signature sig,
org.objectweb.asm.Type[] exceptions) |
CodeEmitter |
UndeclaredThrowableTransformer.begin_method(int access,
Signature sig,
org.objectweb.asm.Type[] exceptions) |
CodeEmitter |
AddInitTransformer.begin_method(int access,
Signature sig,
org.objectweb.asm.Type[] exceptions) |
CodeEmitter |
InterceptFieldTransformer.begin_method(int access,
Signature sig,
org.objectweb.asm.Type[] exceptions) |