java.lang.Object
io.helidon.codegen.classmodel.Annotation

public final class Annotation extends Object
Model of the annotation.
  • Method Details

    • builder

      public static Annotation.Builder builder()
      New Annotation.Builder instance.
      Returns:
      new builder instance
    • create

      public static Annotation create(Class<?> type)
      New Annotation instance based on the type.
      Parameters:
      type - class type
      Returns:
      new annotation instance
    • parse

      public static Annotation parse(String annotationDefinition)
      Parse new Annotation object out of the String.
      Parameters:
      annotationDefinition - annotation definition
      Returns:
      new annotation instance