| Modifier and Type | Field and Description |
|---|---|
| pack-priv final AnnotatedElement | |
| pack-priv final AnnotationType | |
| private final Map |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | |
| public AnnotatedElement | getElement()
Implements org. Returns the annotated element with this annotation instance |
| public AnnotationType | getType()
Implements org. Returns the annotation type for this model |
| public <T> T | getValue(String key, Class<T> type, Object defaultValue)
Implements org. Returns the value to which the key is mapped or specified default value if mapping not found |
| public <T> T | getValue(String key, Class<T> type)
Implements org. Returns the value to which the key is mapped or annotation default value if mapping not found |
| public Map | getValues()
Implements org. Returns an unmodifiable collection of annotation values. |
| public String | |
| private Object |
| element | back to summary |
|---|---|
| pack-priv final AnnotatedElement element | |
| type | back to summary |
|---|---|
| pack-priv final AnnotationType type | |
| values | back to summary |
|---|---|
| private final Map<String, Object> values | |
| AnnotationModelImpl | back to summary |
|---|---|
| public AnnotationModelImpl(AnnotatedElement element, AnnotationType type) | |
| addValue | back to summary |
|---|---|
public void addValue(String name, Object value)
| |
| getElement | back to summary |
|---|---|
| public AnnotatedElement getElement() Implements org. Doc from org. Returns the annotated element with this annotation instance
| |
| getType | back to summary |
|---|---|
| public AnnotationType getType() Implements org. Doc from org. Returns the annotation type for this model
| |
| getValue | back to summary |
|---|---|
| public <T> T getValue(String key, Class<T> type, Object defaultValue) Implements org. Doc from org. Returns the value to which the key is mapped or specified default value if mapping not found
| |
| getValue | back to summary |
|---|---|
| public <T> T getValue(String key, Class<T> type) Implements org. Doc from org. Returns the value to which the key is mapped or annotation default value if mapping not found
| |
| getValues | back to summary |
|---|---|
| public Map Implements org. Doc from org. Returns an unmodifiable collection of annotation values.
| |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object.
Satisfying this method's contract implies a non-
| |
| unwrap | back to summary |
|---|---|
| private Object unwrap(Object value) | |