Package | Description |
---|---|
org.mockito.cglib.core | |
org.mockito.cglib.transform.impl |
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,
Type[] exceptions) |
CodeEmitter |
ClassEmitter.begin_static() |
CodeEmitter |
Block.getCodeEmitter() |
CodeEmitter |
ClassEmitter.getStaticHook() |
Modifier and Type | Method and Description |
---|---|
static void |
EmitUtils.append_string(CodeEmitter e,
Type type,
EmitUtils.ArrayDelimiters delims,
Customizer customizer) |
static void |
EmitUtils.constructor_switch(CodeEmitter e,
List constructors,
ObjectSwitchCallback callback) |
void |
Customizer.customize(CodeEmitter e,
Type type) |
static void |
EmitUtils.hash_code(CodeEmitter e,
Type type,
int multiplier,
Customizer customizer) |
static void |
EmitUtils.load_class_this(CodeEmitter e) |
static void |
EmitUtils.load_class(CodeEmitter e,
Type type) |
static void |
EmitUtils.load_method(CodeEmitter e,
MethodInfo method) |
static void |
EmitUtils.method_switch(CodeEmitter e,
List methods,
ObjectSwitchCallback callback) |
static void |
EmitUtils.not_equals(CodeEmitter e,
Type type,
Label notEquals,
Customizer customizer)
Branches to the specified label if the top two items on the stack
are not equal.
|
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.
|
static void |
EmitUtils.push_array(CodeEmitter e,
Object[] array) |
static void |
EmitUtils.push_object(CodeEmitter e,
Object obj) |
static void |
EmitUtils.string_switch(CodeEmitter e,
String[] strings,
int switchStyle,
ObjectSwitchCallback callback) |
static void |
EmitUtils.wrap_undeclared_throwable(CodeEmitter e,
Block handler,
Type[] exceptions,
Type wrapper) |
Constructor and Description |
---|
Block(CodeEmitter e) |
CodeEmitter(CodeEmitter wrap) |
Modifier and Type | Method and Description |
---|---|
CodeEmitter |
UndeclaredThrowableTransformer.begin_method(int access,
Signature sig,
Type[] exceptions) |
CodeEmitter |
InterceptFieldTransformer.begin_method(int access,
Signature sig,
Type[] exceptions) |
CodeEmitter |
AddInitTransformer.begin_method(int access,
Signature sig,
Type[] exceptions) |
CodeEmitter |
AddDelegateTransformer.begin_method(int access,
Signature sig,
Type[] exceptions) |
Copyright © 2018. All rights reserved.