|
Apache CXF API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface AnnotationVisitor
Visits the annotated elements of an object
Method Summary | |
---|---|
List<Class<? extends Annotation>> |
getTargetAnnotations()
return the list of annotations this visitor wants to be informed about. |
void |
setTarget(Object target)
set the target object being visited. |
void |
visitClass(Class<?> clz,
Annotation annotation)
visit an annotated class. |
void |
visitField(Field field,
Annotation annotation)
visit an annotated field. |
void |
visitMethod(Method method,
Annotation annotation)
visit an annotated method. |
Method Detail |
---|
void setTarget(Object target)
target
- the target objectAnnotationProcessor
List<Class<? extends Annotation>> getTargetAnnotations()
void visitClass(Class<?> clz, Annotation annotation)
visitClass
is called for each of the annotations
that matches and for each class.
clz
- the class with the annotationannotation
- the annotationvoid visitField(Field field, Annotation annotation)
visitField
is called for each of the annotations
that matches and for each field.
field
- the annotated fieldannotation
- the annotationvoid visitMethod(Method method, Annotation annotation)
visitMethod
is called for each of the annotations
that matches and for each method.
method
- the annotated fieldxannotation
- the annotation
|
Apache CXF API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |