Top Fields Constructors Methods
org.springframework.cglib.transform

public Class FieldVisitorTee

extends FieldVisitor
Class Inheritance
Imports
org.springframework.asm.AnnotationVisitor, .Attribute, .FieldVisitor, .TypePath, org.springframework.cglib.core.Constants

Field Summary

Modifier and TypeField and Description
private FieldVisitor
private FieldVisitor
Inherited from org.springframework.asm.FieldVisitor:
apifv

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public AnnotationVisitor
visitAnnotation(String
the class descriptor of the annotation class.
desc
,
boolean
true if the annotation is visible at runtime.
visible
)

Overrides org.springframework.asm.FieldVisitor.visitAnnotation.

Visits an annotation of the field.

public void
visitAttribute(Attribute
an attribute.
attr
)

Overrides org.springframework.asm.FieldVisitor.visitAttribute.

Visits a non standard attribute of the field.

public void
visitEnd()

Overrides org.springframework.asm.FieldVisitor.visitEnd.

Visits the end of the field.

public AnnotationVisitor
visitTypeAnnotation(int
a reference to the annotated type. The sort of this type reference must be TypeReference#FIELD. See TypeReference.
typeRef
,
TypePath
the path to the annotated type argument, wildcard bound, array element type, or static inner type within 'typeRef'. May be null if the annotation targets 'typeRef' as a whole.
typePath
,
String
the class descriptor of the annotation class.
desc
,
boolean
true if the annotation is visible at runtime.
visible
)

Overrides org.springframework.asm.FieldVisitor.visitTypeAnnotation.

Visits an annotation on the type of the field.

Inherited from org.springframework.asm.FieldVisitor:
getDelegate

Field Detail

fv1back to summary
private FieldVisitor fv1
fv2back to summary
private FieldVisitor fv2

Constructor Detail

FieldVisitorTeeback to summary
public FieldVisitorTee(FieldVisitor fv1, FieldVisitor fv2)

Method Detail

visitAnnotationback to summary
public AnnotationVisitor visitAnnotation(String desc, boolean visible)

Overrides org.springframework.asm.FieldVisitor.visitAnnotation.

Doc from org.springframework.asm.FieldVisitor.visitAnnotation.

Visits an annotation of the field.

Parameters
desc:String

the class descriptor of the annotation class.

visible:boolean

true if the annotation is visible at runtime.

Returns:AnnotationVisitor

a visitor to visit the annotation values, or null if this visitor is not interested in visiting this annotation.

Annotations
@Override
visitAttributeback to summary
public void visitAttribute(Attribute attr)

Overrides org.springframework.asm.FieldVisitor.visitAttribute.

Doc from org.springframework.asm.FieldVisitor.visitAttribute.

Visits a non standard attribute of the field.

Parameters
attr:Attribute

an attribute.

Annotations
@Override
visitEndback to summary
public void visitEnd()

Overrides org.springframework.asm.FieldVisitor.visitEnd.

Doc from org.springframework.asm.FieldVisitor.visitEnd.

Visits the end of the field. This method, which is the last one to be called, is used to inform the visitor that all the annotations and attributes of the field have been visited.

Annotations
@Override
visitTypeAnnotationback to summary
public AnnotationVisitor visitTypeAnnotation(int typeRef, TypePath typePath, String desc, boolean visible)

Overrides org.springframework.asm.FieldVisitor.visitTypeAnnotation.

Doc from org.springframework.asm.FieldVisitor.visitTypeAnnotation.

Visits an annotation on the type of the field.

Parameters
typeRef:int

a reference to the annotated type. The sort of this type reference must be TypeReference#FIELD. See TypeReference.

typePath:TypePath

the path to the annotated type argument, wildcard bound, array element type, or static inner type within 'typeRef'. May be null if the annotation targets 'typeRef' as a whole.

desc:String

the class descriptor of the annotation class.

visible:boolean

true if the annotation is visible at runtime.

Returns:AnnotationVisitor

a visitor to visit the annotation values, or null if this visitor is not interested in visiting this annotation.

Annotations
@Override