| org.objectweb.celtix.common.annotation.AnnotationVisitor
All known Subclasses: org.objectweb.celtix.common.injection.ResourceInjector, org.objectweb.celtix.common.annotation.AbstractAnnotationVisitor,
AnnotationVisitor | public interface AnnotationVisitor (Code) | | Visits the annotated elements of an object
|
getTargetAnnotations | List<Class<? extends Annotation>> getTargetAnnotations()(Code) | | return the list of annotations this visitor wants to be
informed about.
list of annotation types to be informed about |
setTarget | void setTarget(Object target)(Code) | | set the target object being visited. Invoked before any of
the visit methods.
See Also: AnnotationProcessor Parameters: target - the target object |
visitClass | void visitClass(Class> clz, Annotation annotation)(Code) | | visit an annotated class. Invoked when the class of an object
is annotated by one of the specified annotations.
visitClass is called for each of the annotations
that matches and for each class.
Parameters: clz - the class with the annotation Parameters: annotation - the annotation |
visitField | void visitField(Field field, Annotation annotation)(Code) | | visit an annotated field. Invoked when the field of an object
is annotated by one of the specified annotations.
visitField is called for each of the annotations
that matches and for each field.
Parameters: field - the annotated field Parameters: annotation - the annotation |
visitMethod | void visitMethod(Method method, Annotation annotation)(Code) | | visit an annotated method. Invoked when the method of an object
is annotated by one of the specified annotations.
visitMethod is called for each of the annotations
that matches and for each method.
Parameters: method - the annotated fieldx Parameters: annotation - the annotation |
|
|