Top Description Constructors Methods
org.jboss.classfilewriter.annotations

public Class AnnotationBuilder

extends Object
Class Inheritance
Imports
java.lang.annotation.Annotation, java.lang.reflect.Array, .InvocationTargetException, .Method, java.security.AccessController, .PrivilegedActionException, .PrivilegedExceptionAction, java.util.ArrayList, .List, org.jboss.classfilewriter.constpool.ConstPool

Utility class that can be used to contruct annotations and annotation attributes from java Annotation instances
Author
Stuart Douglas

Constructor Summary

AccessConstructor and Description
private

Method Summary

Modifier and TypeMethod and Description
public static ClassAnnotation
createAnnotation(ConstPool constPool, final Annotation annotation)

public static AnnotationValue
createValue(ConstPool constPool, String name, Object value)

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Constructor Detail

AnnotationBuilderback to summary
private AnnotationBuilder()

Method Detail

createAnnotationback to summary
public static ClassAnnotation createAnnotation(ConstPool constPool, final Annotation annotation)
createValueback to summary
public static AnnotationValue createValue(ConstPool constPool, String name, Object value)