Package jodd.json.meta
Class JSONAnnotationValues
- java.lang.Object
-
- jodd.json.meta.JSONAnnotationValues
-
- All Implemented Interfaces:
java.lang.annotation.Annotation
public class JSONAnnotationValues extends java.lang.Object implements JSON
-
-
Field Summary
Fields Modifier and Type Field Description protected java.lang.Class<? extends java.lang.annotation.Annotation>annotationTypeprotected booleanincludeprotected java.lang.Stringnameprotected booleanstrict
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Class<? extends java.lang.annotation.Annotation>annotationType()booleaninclude()java.lang.Stringname()static JSONAnnotationValuesof(jodd.util.AnnotationParser annotationParser, java.lang.reflect.AnnotatedElement annotatedElement)Shortcut for checking the annotation on annotated element and returning either the values ornull.static jodd.util.AnnotationParserparserFor(java.lang.Class<? extends java.lang.annotation.Annotation> annotationClass)Shortcut methods for given annotation class.booleanstrict()
-
-
-
Method Detail
-
parserFor
public static jodd.util.AnnotationParser parserFor(java.lang.Class<? extends java.lang.annotation.Annotation> annotationClass)
Shortcut methods for given annotation class.
-
of
public static JSONAnnotationValues of(jodd.util.AnnotationParser annotationParser, java.lang.reflect.AnnotatedElement annotatedElement)
Shortcut for checking the annotation on annotated element and returning either the values ornull.
-
strict
public boolean strict()
-
name
public java.lang.String name()
-
include
public boolean include()
-
annotationType
public java.lang.Class<? extends java.lang.annotation.Annotation> annotationType()
- Specified by:
annotationTypein interfacejava.lang.annotation.Annotation
-
-