Top Fields Constructors Methods
org.springframework.cglib.transform

public Class AnnotationVisitorTee

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

Field Summary

Modifier and TypeField and Description
private AnnotationVisitor
private AnnotationVisitor
Inherited from org.springframework.asm.AnnotationVisitor:
apiav

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public static AnnotationVisitor
public void
visit(String
the value name.
name
,
Object
the actual value, whose type must be Byte, Boolean, Character, Short, Integer , Long, Float, Double, String or Type of Type#OBJECT or Type#ARRAY sort. This value can also be an array of byte, boolean, short, char, int, long, float or double values (this is equivalent to using visitArray and visiting each array element in turn, but is more convenient).
value
)

Overrides org.springframework.asm.AnnotationVisitor.visit.

Visits a primitive value of the annotation.

public AnnotationVisitor
visitAnnotation(String
the value name.
name
,
String
the class descriptor of the nested annotation class.
desc
)

Overrides org.springframework.asm.AnnotationVisitor.visitAnnotation.

Visits a nested annotation value of the annotation.

public AnnotationVisitor
visitArray(String
the value name.
name
)

Overrides org.springframework.asm.AnnotationVisitor.visitArray.

Visits an array value of the annotation.

public void
visitEnd()

Overrides org.springframework.asm.AnnotationVisitor.visitEnd.

Visits the end of the annotation.

public void
visitEnum(String
the value name.
name
,
String
the class descriptor of the enumeration class.
desc
,
String
the actual enumeration value.
value
)

Overrides org.springframework.asm.AnnotationVisitor.visitEnum.

Visits an enumeration value of the annotation.

Inherited from org.springframework.asm.AnnotationVisitor:
getDelegate

Field Detail

av1back to summary
private AnnotationVisitor av1
av2back to summary
private AnnotationVisitor av2

Constructor Detail

AnnotationVisitorTeeback to summary
public AnnotationVisitorTee(AnnotationVisitor av1, AnnotationVisitor av2)

Method Detail

getInstanceback to summary
public static AnnotationVisitor getInstance(AnnotationVisitor av1, AnnotationVisitor av2)
visitback to summary
public void visit(String name, Object value)

Overrides org.springframework.asm.AnnotationVisitor.visit.

Doc from org.springframework.asm.AnnotationVisitor.visit.

Visits a primitive value of the annotation.

Parameters
name:String

the value name.

value:Object

the actual value, whose type must be Byte, Boolean, Character, Short, Integer , Long, Float, Double, String or Type of Type#OBJECT or Type#ARRAY sort. This value can also be an array of byte, boolean, short, char, int, long, float or double values (this is equivalent to using visitArray and visiting each array element in turn, but is more convenient).

Annotations
@Override
visitAnnotationback to summary
public AnnotationVisitor visitAnnotation(String name, String desc)

Overrides org.springframework.asm.AnnotationVisitor.visitAnnotation.

Doc from org.springframework.asm.AnnotationVisitor.visitAnnotation.

Visits a nested annotation value of the annotation.

Parameters
name:String

the value name.

desc:String

the class descriptor of the nested annotation class.

Returns:AnnotationVisitor

a visitor to visit the actual nested annotation value, or null if this visitor is not interested in visiting this nested annotation. The nested annotation value must be fully visited before calling other methods on this annotation visitor.

Annotations
@Override
visitArrayback to summary
public AnnotationVisitor visitArray(String name)

Overrides org.springframework.asm.AnnotationVisitor.visitArray.

Doc from org.springframework.asm.AnnotationVisitor.visitArray.

Visits an array value of the annotation. Note that arrays of primitive values (such as byte, boolean, short, char, int, long, float or double) can be passed as value to visit. This is what ClassReader does for non empty arrays of primitive values.

Parameters
name:String

the value name.

Returns:AnnotationVisitor

a visitor to visit the actual array value elements, or null if this visitor is not interested in visiting these values. The 'name' parameters passed to the methods of this visitor are ignored. All the array values must be visited before calling other methods on this annotation visitor.

Annotations
@Override
visitEndback to summary
public void visitEnd()

Overrides org.springframework.asm.AnnotationVisitor.visitEnd.

Doc from org.springframework.asm.AnnotationVisitor.visitEnd.

Visits the end of the annotation.

Annotations
@Override
visitEnumback to summary
public void visitEnum(String name, String desc, String value)

Overrides org.springframework.asm.AnnotationVisitor.visitEnum.

Doc from org.springframework.asm.AnnotationVisitor.visitEnum.

Visits an enumeration value of the annotation.

Parameters
name:String

the value name.

desc:String

the class descriptor of the enumeration class.

value:String

the actual enumeration value.

Annotations
@Override