Class Annotations

java.lang.Object
gw.lang.annotation.Annotations

public class Annotations extends Object
  • Constructor Details

    • Annotations

      private Annotations()
  • Method Details

    • builder

      public static <T extends Annotation> Annotations.Builder<T> builder(Class<T> annotationType)
      Returns a builder that can be used to construct an annotation instance.
    • create

      public static <T extends Annotation> T create(Class<T> annotationType, Object value)
      Convenience method that constructs an annotation instance with a single "value" element.
    • create

      public static <T extends Annotation> T create(Class<T> annotationType)
      Convenience method that constructs an annotation instance with no elements.