public class AnnotationParser.Reader
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
java.lang.Class<? extends java.lang.annotation.Annotation> |
annotationType()
Returns the annotation type this reader is for.
|
boolean |
readBoolean(java.lang.String name,
boolean defaultValue)
Reads boolean element from the annotation.
|
java.lang.Object |
readElement(java.lang.String name)
Reads annotation element as an object.
|
int |
readInt(java.lang.String name,
int defaultValue)
Reads int element from the annotation.
|
java.lang.String |
readString(java.lang.String name,
java.lang.String defaultValue)
Reads string element from the annotation.
|
protected java.lang.String |
readStringElement(java.lang.String name)
Reads non-empty, trimmed, annotation element value.
|
public java.lang.Class<? extends java.lang.annotation.Annotation> annotationType()
protected java.lang.String readStringElement(java.lang.String name)
null
.public java.lang.Object readElement(java.lang.String name)
null
.public java.lang.String readString(java.lang.String name, java.lang.String defaultValue)
public boolean readBoolean(java.lang.String name, boolean defaultValue)
public int readInt(java.lang.String name, int defaultValue)
Copyright © 2003-present Jodd Team