Class AnnotationCreatorImpl

java.lang.Object
io.quarkus.gizmo.AnnotationCreatorImpl
All Implemented Interfaces:
AnnotationCreator

class AnnotationCreatorImpl extends Object implements AnnotationCreator
  • Field Details

  • Constructor Details

  • Method Details

    • addValue

      public void addValue(String name, Object value)
      Description copied from interface: AnnotationCreator
      Add a new annotation element with the given name and value. The name may be any permissible annotation element name (for example, toString or annotationType are invalid). The value may be:
      • primitive wrapper type
      • String
      • Enum
      • Class
      • nested annotation as an AnnotationCreator created using AnnotationCreator.of(), or as a Jandex AnnotationInstance
      • array of previously mentioned types
      In addition to the types listed above, the value may also be a Jandex AnnotationValue.
      Specified by:
      addValue in interface AnnotationCreator
      Parameters:
      name - name of the annotation element to add
      value - value of the annotation element to add
    • getValues

      public Map<String,Object> getValues()
    • getAnnotationType

      public String getAnnotationType()
    • getRetentionPolicy

      public RetentionPolicy getRetentionPolicy()