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.beans | |
org.mockito.cglib.core | |
org.mockito.cglib.proxy | |
org.mockito.cglib.reflect | |
org.mockito.cglib.transform | |
org.mockito.cglib.transform.impl | |
org.mockito.cglib.util |
Modifier and Type | Class and Description |
---|---|
class |
ClassAdapter
An empty
ClassVisitor that delegates to another ClassVisitor . |
class |
ClassWriter
A
ClassVisitor that generates classes in bytecode form. |
Modifier and Type | Field and Description |
---|---|
protected ClassVisitor |
ClassAdapter.cv
The
ClassVisitor to which this adapter delegates calls. |
Modifier and Type | Method and Description |
---|---|
void |
ClassReader.accept(ClassVisitor classVisitor,
Attribute[] attrs,
int flags)
Makes the given visitor visit the Java class of this
ClassReader . |
void |
ClassReader.accept(ClassVisitor classVisitor,
int flags)
Makes the given visitor visit the Java class of this
ClassReader . |
Constructor and Description |
---|
ClassAdapter(ClassVisitor cv)
Constructs a new
ClassAdapter object. |
Modifier and Type | Class and Description |
---|---|
class |
ClassNode
A node that represents a class.
|
Modifier and Type | Method and Description |
---|---|
void |
MethodNode.accept(ClassVisitor cv)
Makes the given class visitor visit this method.
|
void |
InnerClassNode.accept(ClassVisitor cv)
Makes the given class visitor visit this inner class.
|
void |
FieldNode.accept(ClassVisitor cv)
Makes the given class visitor visit this field.
|
void |
ClassNode.accept(ClassVisitor cv)
Makes the given class visitor visit this class.
|
Modifier and Type | Class and Description |
---|---|
class |
ASMifierClassVisitor
A
ClassVisitor that prints the ASM code that generates the classes it
visits. |
class |
CheckClassAdapter
A
ClassAdapter that checks that its methods are properly used. |
class |
TraceClassVisitor
A
ClassVisitor that prints a disassembled view of the classes it
visits. |
Modifier and Type | Field and Description |
---|---|
protected ClassVisitor |
TraceClassVisitor.cv
The
ClassVisitor to which this visitor delegates calls. |
Constructor and Description |
---|
CheckClassAdapter(ClassVisitor cv)
Constructs a new
CheckClassAdapter . |
TraceClassVisitor(ClassVisitor cv,
PrintWriter pw)
Constructs a new
TraceClassVisitor . |
Modifier and Type | Method and Description |
---|---|
void |
ImmutableBean.Generator.generateClass(ClassVisitor v) |
void |
BulkBean.Generator.generateClass(ClassVisitor v) |
void |
BeanMap.Generator.generateClass(ClassVisitor v) |
void |
BeanGenerator.generateClass(ClassVisitor v) |
void |
BeanCopier.Generator.generateClass(ClassVisitor v) |
Modifier and Type | Class and Description |
---|---|
class |
ClassEmitter |
class |
DebuggingClassWriter |
Modifier and Type | Method and Description |
---|---|
void |
KeyFactory.Generator.generateClass(ClassVisitor v) |
void |
ClassGenerator.generateClass(ClassVisitor v) |
void |
ClassEmitter.setTarget(ClassVisitor cv) |
Constructor and Description |
---|
ClassEmitter(ClassVisitor cv) |
Modifier and Type | Method and Description |
---|---|
void |
Mixin.Generator.generateClass(ClassVisitor v) |
void |
InterfaceMaker.generateClass(ClassVisitor v) |
void |
Enhancer.generateClass(ClassVisitor v) |
Modifier and Type | Method and Description |
---|---|
void |
MulticastDelegate.Generator.generateClass(ClassVisitor cv) |
void |
MethodDelegate.Generator.generateClass(ClassVisitor v) |
void |
FastClass.Generator.generateClass(ClassVisitor v) |
void |
ConstructorDelegate.Generator.generateClass(ClassVisitor v) |
Modifier and Type | Interface and Description |
---|---|
interface |
ClassTransformer |
Modifier and Type | Class and Description |
---|---|
class |
AbstractClassFilterTransformer |
class |
AbstractClassTransformer |
class |
ClassEmitterTransformer |
class |
ClassFilterTransformer |
class |
ClassTransformerChain |
class |
ClassTransformerTee |
class |
ClassVisitorTee |
class |
MethodFilterTransformer |
Modifier and Type | Method and Description |
---|---|
void |
TransformingClassGenerator.generateClass(ClassVisitor v) |
void |
ClassReaderGenerator.generateClass(ClassVisitor v) |
void |
MethodFilterTransformer.setTarget(ClassVisitor target) |
void |
ClassTransformerTee.setTarget(ClassVisitor target) |
void |
ClassTransformerChain.setTarget(ClassVisitor v) |
void |
ClassTransformer.setTarget(ClassVisitor target) |
void |
AbstractClassTransformer.setTarget(ClassVisitor target) |
void |
AbstractClassFilterTransformer.setTarget(ClassVisitor target) |
Constructor and Description |
---|
ClassTransformerTee(ClassVisitor branch) |
ClassVisitorTee(ClassVisitor cv1,
ClassVisitor cv2) |
Modifier and Type | Class and Description |
---|---|
class |
AccessFieldTransformer |
class |
AddDelegateTransformer |
class |
AddInitTransformer |
class |
AddPropertyTransformer |
class |
AddStaticInitTransformer |
class |
FieldProviderTransformer |
class |
InterceptFieldTransformer |
class |
UndeclaredThrowableTransformer |
Modifier and Type | Method and Description |
---|---|
void |
StringSwitcher.Generator.generateClass(ClassVisitor v) |
void |
ParallelSorter.Generator.generateClass(ClassVisitor v) |
Copyright © 2018. All rights reserved.