Top Fields Constructors Methods
org.springframework.cglib.transform

public Class ClassTransformerChain

extends AbstractClassTransformer
Class Inheritance
Imports
org.springframework.asm.ClassVisitor, .MethodVisitor, org.springframework.cglib.core.ClassTransformer

Field Summary

Modifier and TypeField and Description
private ClassTransformer[]

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public void
public String
toString()

Overrides java.lang.Object.toString.

Returns a string representation of the object.
public MethodVisitor
visitMethod(int
the method's access flags (see Opcodes). This parameter also indicates if the method is synthetic and/or deprecated.
access
,
String
the method's name.
name
,
String
the method's descriptor (see Type).
desc
,
String
the method's signature. May be null if the method parameters, return type and exceptions do not use generic types.
signature
,
String[]
the internal names of the method's exception classes (see Type#getInternalName()). May be null.
exceptions
)

Overrides org.springframework.asm.ClassVisitor.visitMethod.

Visits a method of the class.

Field Detail

chainback to summary
private ClassTransformer[] chain

Constructor Detail

ClassTransformerChainback to summary
public ClassTransformerChain(ClassTransformer[] chain)

Method Detail

setTargetback to summary
public void setTarget(ClassVisitor v)

Overrides org.springframework.cglib.transform.AbstractClassTransformer.setTarget.

Annotations
@Override
toStringback to summary
public String toString()

Overrides java.lang.Object.toString.

Doc from java.lang.Object.toString.

Returns a string representation of the object.

Returns:String

a string representation of the object.

Annotations
@Override
visitMethodback to summary
public MethodVisitor visitMethod(int access, String name, String desc, String signature, String[] exceptions)

Overrides org.springframework.asm.ClassVisitor.visitMethod.

Doc from org.springframework.asm.ClassVisitor.visitMethod.

Visits a method of the class. This method must return a new MethodVisitor instance (or null) each time it is called, i.e., it should not return a previously returned visitor.

Parameters
access:int

the method's access flags (see Opcodes). This parameter also indicates if the method is synthetic and/or deprecated.

name:String

the method's name.

desc:String

the method's descriptor (see Type).

signature:String

the method's signature. May be null if the method parameters, return type and exceptions do not use generic types.

exceptions:String[]

the internal names of the method's exception classes (see Type#getInternalName()). May be null.

Returns:MethodVisitor

an object to visit the byte code of the method, or null if this class visitor is not interested in visiting the code of this method.

Annotations
@Override