Class JSONAnnotationValues
java.lang.Object
jodd.json.meta.JSONAnnotationValues
- All Implemented Interfaces:
Annotation
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final Class<? extends Annotation> protected final booleanprotected final Stringprotected final boolean -
Constructor Summary
ConstructorsModifierConstructorDescriptionprivateJSONAnnotationValues(jodd.util.AnnotationParser.Reader reader) -
Method Summary
Modifier and TypeMethodDescriptionClass<? extends Annotation> booleaninclude()name()static JSONAnnotationValuesof(jodd.util.AnnotationParser annotationParser, AnnotatedElement annotatedElement) Shortcut for checking the annotation on annotated element and returning either the values ornull.static jodd.util.AnnotationParserparserFor(Class<? extends Annotation> annotationClass) Shortcut methods for given annotation class.booleanstrict()
-
Field Details
-
strict
protected final boolean strict -
name
-
include
protected final boolean include -
annotationType
-
-
Constructor Details
-
JSONAnnotationValues
private JSONAnnotationValues(jodd.util.AnnotationParser.Reader reader)
-
-
Method Details
-
parserFor
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 ornull. -
strict
public boolean strict() -
name
-
include
public boolean include() -
annotationType
- Specified by:
annotationTypein interfaceAnnotation
-