public interface AnnoBean
Provides a proxied, modifiable view of a JSR175 annotation. Implementations of this interface are usually code-generated by the AnnogenTask.
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
SINGLE_MEMBER_NAME
Name of the member of annotations which have only a single member.
|
Modifier and Type | Method and Description |
---|---|
AnnoBean |
createNestableBean(java.lang.Class beanOrAnnoType)
Returns an instance of an AnnoBean for the given annotation type
which can be used as an AnnoBean for a nested annotation value.
|
boolean |
setValue(java.lang.String name,
java.lang.Object value) |
static final java.lang.String SINGLE_MEMBER_NAME
Name of the member of annotations which have only a single member. As specified in JSR175, that name is "value", but you should use this constant to prevent typos.
boolean setValue(java.lang.String name, java.lang.Object value)
AnnoBean createNestableBean(java.lang.Class beanOrAnnoType)