Class AnnotationParser.Reader
java.lang.Object
jodd.util.AnnotationParser.Reader
- Enclosing class:
AnnotationParser
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionClass<? extends Annotation> Returns the annotation type this reader is for.booleanreadBoolean(String name, boolean defaultValue) Reads boolean element from the annotation.readElement(String name) Reads annotation element as an object.intReads int element from the annotation.readString(String name, String defaultValue) Reads string element from the annotation.protected StringreadStringElement(String name) Reads non-empty, trimmed, annotation element value.
-
Field Details
-
annotatedElement
-
-
Constructor Details
-
Reader
-
-
Method Details
-
annotationType
Returns the annotation type this reader is for. -
readStringElement
-
readElement
-
readString
-
readBoolean
Reads boolean element from the annotation. -
readInt
Reads int element from the annotation.
-