Class AnnotationBuilder
- java.lang.Object
-
- org.jboss.classfilewriter.annotations.AnnotationBuilder
-
public class AnnotationBuilder extends java.lang.Object
Utility class that can be used to contruct annotations and annotation attributes from javaAnnotation
instances- Author:
- Stuart Douglas
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ClassAnnotation
createAnnotation(ConstPool constPool, java.lang.annotation.Annotation annotation)
static AnnotationValue
createValue(ConstPool constPool, java.lang.String name, java.lang.Object value)
-
-
-
Method Detail
-
createAnnotation
public static ClassAnnotation createAnnotation(ConstPool constPool, java.lang.annotation.Annotation annotation)
-
createValue
public static AnnotationValue createValue(ConstPool constPool, java.lang.String name, java.lang.Object value)
-
-