Class JSONAnnotationValues

java.lang.Object
jodd.json.meta.JSONAnnotationValues
All Implemented Interfaces:
Annotation

public class JSONAnnotationValues extends Object implements JSON
  • Field Details

    • strict

      protected final boolean strict
    • name

      protected final String name
    • include

      protected final boolean include
    • annotationType

      protected final Class<? extends Annotation> annotationType
  • Constructor Details

    • JSONAnnotationValues

      private JSONAnnotationValues(jodd.util.AnnotationParser.Reader reader)
  • Method Details

    • parserFor

      public static jodd.util.AnnotationParser parserFor(Class<? extends Annotation> annotationClass)
      Shortcut methods for given annotation class.
    • of

      public static JSONAnnotationValues of(jodd.util.AnnotationParser annotationParser, AnnotatedElement annotatedElement)
      Shortcut for checking the annotation on annotated element and returning either the values or null.
    • strict

      public boolean strict()
    • name

      public String name()
    • include

      public boolean include()
    • annotationType

      public Class<? extends Annotation> annotationType()
      Specified by:
      annotationType in interface Annotation