de.grogra.reflect
Class AnnotationImpl<T extends java.lang.annotation.Annotation>
java.lang.Object
de.grogra.reflect.AnnotationImpl<T>
- All Implemented Interfaces:
- Annotation<T>
public class AnnotationImpl<T extends java.lang.annotation.Annotation>
- extends java.lang.Object
- implements Annotation<T>
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AnnotationImpl
public AnnotationImpl(java.lang.Class<T> type)
AnnotationImpl
public AnnotationImpl(Type<T> type)
annotationType
public Type<T> annotationType()
- Specified by:
annotationType
in interface Annotation<T extends java.lang.annotation.Annotation>
elements
public java.lang.String[] elements()
setValue
public AnnotationImpl setValue(java.lang.String element,
java.lang.Class<?> value)
setValue
public AnnotationImpl setValue(java.lang.String element,
java.lang.Object value)
value
public java.lang.Object value(java.lang.String element)
- Specified by:
value
in interface Annotation<T extends java.lang.annotation.Annotation>