Top Inners Fields Constructors Methods
org.eclipse.persistence.asm.internal.platform.ow2

public Class AnnotationVisitorImpl

extends AnnotationVisitor
Class Inheritance
Imports
org.objectweb.asm.AnnotationVisitor

Nested and Inner Type Summary

Modifier and TypeClass and Description
private class

Field Summary

Modifier and TypeField and Description
pack-priv AnnotationVisitor
Inherited from org.eclipse.persistence.asm.AnnotationVisitor:
customAnnotationVisitor

Constructor Summary

AccessConstructor and Description
public
AnnotationVisitorImpl(final int api)

public
AnnotationVisitorImpl(final int api, final AnnotationVisitor annotationVisitor)

public

Method Summary

Modifier and TypeMethod and Description
public AnnotationVisitor
getInternal(final AnnotationVisitor annotationVisitor)

public <T> T
public void
public AnnotationVisitor
public AnnotationVisitor
public void
public void
Inherited from org.eclipse.persistence.asm.AnnotationVisitor:
setCustomAnnotationVisitor

Field Detail

ow2AnnotationVisitorback to summary
pack-priv AnnotationVisitor ow2AnnotationVisitor

Constructor Detail

AnnotationVisitorImplback to summary
public AnnotationVisitorImpl(final int api)
AnnotationVisitorImplback to summary
public AnnotationVisitorImpl(final int api, final AnnotationVisitor annotationVisitor)
AnnotationVisitorImplback to summary
public AnnotationVisitorImpl(AnnotationVisitor annotationVisitor)

Method Detail

getInternalback to summary
public AnnotationVisitor getInternal(final AnnotationVisitor annotationVisitor)
unwrapback to summary
public <T> T unwrap()

Implements abstract org.eclipse.persistence.asm.AnnotationVisitor.unwrap.

Annotations
@Override
visitback to summary
public void visit(String name, Object value)

Implements abstract org.eclipse.persistence.asm.AnnotationVisitor.visit.

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

Implements abstract org.eclipse.persistence.asm.AnnotationVisitor.visitAnnotation.

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

Implements abstract org.eclipse.persistence.asm.AnnotationVisitor.visitArray.

Annotations
@Override
visitEndback to summary
public void visitEnd()

Implements abstract org.eclipse.persistence.asm.AnnotationVisitor.visitEnd.

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

Implements abstract org.eclipse.persistence.asm.AnnotationVisitor.visitEnum.

Annotations
@Override
org.eclipse.persistence.asm.internal.platform.ow2 back to summary

private Class AnnotationVisitorImpl.OW2AnnotationVisitor

extends AnnotationVisitor
Class Inheritance

Field Summary

Inherited from org.objectweb.asm.AnnotationVisitor:
apiav

Constructor Summary

AccessConstructor and Description
public
public
OW2AnnotationVisitor(int api, final AnnotationVisitor annotationVisitor)

Method Summary

Modifier and TypeMethod and Description
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.objectweb.asm.AnnotationVisitor.visit.

Visits a primitive value of the annotation.
public AnnotationVisitor
visitAnnotation(final String
the value name.
name
,
final String
the class descriptor of the nested annotation class.
descriptor
)

Overrides org.objectweb.asm.AnnotationVisitor.visitAnnotation.

Visits a nested annotation value of the annotation.
public AnnotationVisitor
visitArray(String
the value name.
name
)

Overrides org.objectweb.asm.AnnotationVisitor.visitArray.

Visits an array value of the annotation.
public void
visitEnd()

Overrides org.objectweb.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.objectweb.asm.AnnotationVisitor.visitEnum.

Visits an enumeration value of the annotation.
Inherited from org.objectweb.asm.AnnotationVisitor:
getDelegate

Constructor Detail

OW2AnnotationVisitorback to summary
public OW2AnnotationVisitor(int api)
OW2AnnotationVisitorback to summary
public OW2AnnotationVisitor(int api, final AnnotationVisitor annotationVisitor)

Method Detail

visitback to summary
public void visit(String name, Object value)

Overrides org.objectweb.asm.AnnotationVisitor.visit.

Doc from org.objectweb.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(final String name, final String descriptor)

Overrides org.objectweb.asm.AnnotationVisitor.visitAnnotation.

Doc from org.objectweb.asm.AnnotationVisitor.visitAnnotation.

Visits a nested annotation value of the annotation.

Parameters
name:String

the value name.

descriptor: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.objectweb.asm.AnnotationVisitor.visitArray.

Doc from org.objectweb.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.objectweb.asm.AnnotationVisitor.visitEnd.

Doc from org.objectweb.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.objectweb.asm.AnnotationVisitor.visitEnum.

Doc from org.objectweb.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