|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.reflext.api.introspection.AnnotationTarget<T,A>
T - the target typeA - the annotation typepublic class AnnotationTarget<T,A>
The target of an annotation.
| Constructor Summary | |
|---|---|
AnnotationTarget(T target,
A annotation)
Create a new annotated target. |
|
| Method Summary | |
|---|---|
A |
getAnnotation()
|
T |
getTarget()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AnnotationTarget(T target,
A annotation)
throws java.lang.NullPointerException
target - the targetannotation - the annotation
java.lang.NullPointerException - if any argument is null| Method Detail |
|---|
public T getTarget()
public A getAnnotation()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||