de.grogra.reflect
public class AnnotationImpl<T extends java.lang.annotation.Annotation> extends java.lang.Object implements Annotation<T>
| Constructor and Description |
|---|
AnnotationImpl(java.lang.Class<T> type) |
AnnotationImpl(Type<T> type) |
| Modifier and Type | Method and Description |
|---|---|
Type<T> |
annotationType() |
java.lang.String[] |
elements() |
AnnotationImpl |
setValue(java.lang.String element,
java.lang.Class<?> value) |
AnnotationImpl |
setValue(java.lang.String element,
java.lang.Object value) |
java.lang.Object |
value(java.lang.String element) |
public AnnotationImpl(java.lang.Class<T> type)
public Type<T> annotationType()
annotationType in interface Annotation<T extends java.lang.annotation.Annotation>public java.lang.String[] elements()
public AnnotationImpl setValue(java.lang.String element, java.lang.Class<?> value)
public AnnotationImpl setValue(java.lang.String element, java.lang.Object value)
public java.lang.Object value(java.lang.String element)
value in interface Annotation<T extends java.lang.annotation.Annotation>