Class AnnotationBuilder


  • public class AnnotationBuilder
    extends java.lang.Object
    Utility class that can be used to contruct annotations and annotation attributes from java Annotation instances
    • Constructor Detail

      • AnnotationBuilder

        private AnnotationBuilder()
    • 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)