Package | Description |
---|---|
org.mockito.asm |
Provides a small and fast bytecode manipulation framework.
|
org.mockito.asm.tree |
Provides an ASM visitor that constructs a tree representation of the
classes it visits.
|
org.mockito.asm.util |
Provides ASM visitors that can be useful for programming and
debugging purposes.
|
org.mockito.cglib.core | |
org.mockito.cglib.transform |
Modifier and Type | Method and Description |
---|---|
protected Label[] |
Attribute.getLabels()
Returns the labels corresponding to this attribute.
|
protected Label |
ClassReader.readLabel(int offset,
Label[] labels)
Returns the label corresponding to the given offset.
|
Modifier and Type | Method and Description |
---|---|
protected Attribute |
Attribute.read(ClassReader cr,
int off,
int len,
char[] buf,
int codeOff,
Label[] labels)
Reads a
type attribute. |
protected Label |
ClassReader.readLabel(int offset,
Label[] labels)
Returns the label corresponding to the given offset.
|
void |
MethodVisitor.visitJumpInsn(int opcode,
Label label)
Visits a jump instruction.
|
void |
MethodAdapter.visitJumpInsn(int opcode,
Label label) |
void |
MethodVisitor.visitLabel(Label label)
Visits a label.
|
void |
MethodAdapter.visitLabel(Label label) |
void |
MethodVisitor.visitLineNumber(int line,
Label start)
Visits a line number declaration.
|
void |
MethodAdapter.visitLineNumber(int line,
Label start) |
void |
MethodVisitor.visitLocalVariable(String name,
String desc,
String signature,
Label start,
Label end,
int index)
Visits a local variable declaration.
|
void |
MethodAdapter.visitLocalVariable(String name,
String desc,
String signature,
Label start,
Label end,
int index) |
void |
MethodVisitor.visitLookupSwitchInsn(Label dflt,
int[] keys,
Label[] labels)
Visits a LOOKUPSWITCH instruction.
|
void |
MethodVisitor.visitLookupSwitchInsn(Label dflt,
int[] keys,
Label[] labels)
Visits a LOOKUPSWITCH instruction.
|
void |
MethodAdapter.visitLookupSwitchInsn(Label dflt,
int[] keys,
Label[] labels) |
void |
MethodAdapter.visitLookupSwitchInsn(Label dflt,
int[] keys,
Label[] labels) |
void |
MethodVisitor.visitTableSwitchInsn(int min,
int max,
Label dflt,
Label[] labels)
Visits a TABLESWITCH instruction.
|
void |
MethodVisitor.visitTableSwitchInsn(int min,
int max,
Label dflt,
Label[] labels)
Visits a TABLESWITCH instruction.
|
void |
MethodAdapter.visitTableSwitchInsn(int min,
int max,
Label dflt,
Label[] labels) |
void |
MethodAdapter.visitTableSwitchInsn(int min,
int max,
Label dflt,
Label[] labels) |
void |
MethodVisitor.visitTryCatchBlock(Label start,
Label end,
Label handler,
String type)
Visits a try catch block.
|
void |
MethodAdapter.visitTryCatchBlock(Label start,
Label end,
Label handler,
String type) |
Modifier and Type | Method and Description |
---|---|
Label |
LabelNode.getLabel() |
Modifier and Type | Method and Description |
---|---|
protected LabelNode |
MethodNode.getLabelNode(Label l)
Returns the LabelNode corresponding to the given Label.
|
void |
MethodNode.visitJumpInsn(int opcode,
Label label) |
void |
MethodNode.visitLabel(Label label) |
void |
MethodNode.visitLineNumber(int line,
Label start) |
void |
MethodNode.visitLocalVariable(String name,
String desc,
String signature,
Label start,
Label end,
int index) |
void |
MethodNode.visitLookupSwitchInsn(Label dflt,
int[] keys,
Label[] labels) |
void |
MethodNode.visitLookupSwitchInsn(Label dflt,
int[] keys,
Label[] labels) |
void |
MethodNode.visitTableSwitchInsn(int min,
int max,
Label dflt,
Label[] labels) |
void |
MethodNode.visitTableSwitchInsn(int min,
int max,
Label dflt,
Label[] labels) |
void |
MethodNode.visitTryCatchBlock(Label start,
Label end,
Label handler,
String type) |
Constructor and Description |
---|
LabelNode(Label label) |
Modifier and Type | Method and Description |
---|---|
protected void |
TraceMethodVisitor.appendLabel(Label l)
Appends the name of the given label to
buf . |
void |
TraceMethodVisitor.visitJumpInsn(int opcode,
Label label) |
void |
CheckMethodAdapter.visitJumpInsn(int opcode,
Label label) |
void |
ASMifierMethodVisitor.visitJumpInsn(int opcode,
Label label) |
void |
TraceMethodVisitor.visitLabel(Label label) |
void |
CheckMethodAdapter.visitLabel(Label label) |
void |
ASMifierMethodVisitor.visitLabel(Label label) |
void |
TraceMethodVisitor.visitLineNumber(int line,
Label start) |
void |
CheckMethodAdapter.visitLineNumber(int line,
Label start) |
void |
ASMifierMethodVisitor.visitLineNumber(int line,
Label start) |
void |
TraceMethodVisitor.visitLocalVariable(String name,
String desc,
String signature,
Label start,
Label end,
int index) |
void |
CheckMethodAdapter.visitLocalVariable(String name,
String desc,
String signature,
Label start,
Label end,
int index) |
void |
ASMifierMethodVisitor.visitLocalVariable(String name,
String desc,
String signature,
Label start,
Label end,
int index) |
void |
TraceMethodVisitor.visitLookupSwitchInsn(Label dflt,
int[] keys,
Label[] labels) |
void |
TraceMethodVisitor.visitLookupSwitchInsn(Label dflt,
int[] keys,
Label[] labels) |
void |
CheckMethodAdapter.visitLookupSwitchInsn(Label dflt,
int[] keys,
Label[] labels) |
void |
CheckMethodAdapter.visitLookupSwitchInsn(Label dflt,
int[] keys,
Label[] labels) |
void |
ASMifierMethodVisitor.visitLookupSwitchInsn(Label dflt,
int[] keys,
Label[] labels) |
void |
ASMifierMethodVisitor.visitLookupSwitchInsn(Label dflt,
int[] keys,
Label[] labels) |
void |
TraceMethodVisitor.visitTableSwitchInsn(int min,
int max,
Label dflt,
Label[] labels) |
void |
TraceMethodVisitor.visitTableSwitchInsn(int min,
int max,
Label dflt,
Label[] labels) |
void |
CheckMethodAdapter.visitTableSwitchInsn(int min,
int max,
Label dflt,
Label[] labels) |
void |
CheckMethodAdapter.visitTableSwitchInsn(int min,
int max,
Label dflt,
Label[] labels) |
void |
ASMifierMethodVisitor.visitTableSwitchInsn(int min,
int max,
Label dflt,
Label[] labels) |
void |
ASMifierMethodVisitor.visitTableSwitchInsn(int min,
int max,
Label dflt,
Label[] labels) |
void |
TraceMethodVisitor.visitTryCatchBlock(Label start,
Label end,
Label handler,
String type) |
void |
CheckMethodAdapter.visitTryCatchBlock(Label start,
Label end,
Label handler,
String type) |
void |
ASMifierMethodVisitor.visitTryCatchBlock(Label start,
Label end,
Label handler,
String type) |
Modifier and Type | Method and Description |
---|---|
Label |
Block.getEnd() |
Label |
Block.getStart() |
Label |
CodeEmitter.make_label() |
Modifier and Type | Method and Description |
---|---|
void |
CodeEmitter.goTo(Label label) |
void |
CodeEmitter.if_cmp(Type type,
int mode,
Label label) |
void |
CodeEmitter.if_icmp(int mode,
Label label) |
void |
CodeEmitter.if_jump(int mode,
Label label) |
void |
CodeEmitter.ifnonnull(Label label) |
void |
CodeEmitter.ifnull(Label label) |
void |
CodeEmitter.mark(Label label) |
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.
|
void |
ProcessSwitchCallback.processCase(int key,
Label end) |
void |
ObjectSwitchCallback.processCase(Object key,
Label end) |
void |
LocalVariablesSorter.visitLocalVariable(String name,
String desc,
String signature,
Label start,
Label end,
int index) |
Modifier and Type | Method and Description |
---|---|
void |
MethodVisitorTee.visitJumpInsn(int opcode,
Label label) |
void |
MethodVisitorTee.visitLabel(Label label) |
void |
MethodVisitorTee.visitLineNumber(int line,
Label start) |
void |
MethodVisitorTee.visitLocalVariable(String name,
String desc,
String signature,
Label start,
Label end,
int index) |
void |
MethodVisitorTee.visitLookupSwitchInsn(Label dflt,
int[] keys,
Label[] labels) |
void |
MethodVisitorTee.visitLookupSwitchInsn(Label dflt,
int[] keys,
Label[] labels) |
void |
MethodVisitorTee.visitTableSwitchInsn(int min,
int max,
Label dflt,
Label[] labels) |
void |
MethodVisitorTee.visitTableSwitchInsn(int min,
int max,
Label dflt,
Label[] labels) |
void |
MethodVisitorTee.visitTryCatchBlock(Label start,
Label end,
Label handler,
String type) |
Copyright © 2018. All rights reserved.