A - the type of annotation this processor handlespublic interface AnnotationProcessor<A extends java.lang.annotation.Annotation>
| Modifier and Type | Method and Description |
|---|---|
java.lang.Class<A> |
getType()
Returns the type of annotation this processor handles.
|
void |
visitConstructor(A annotation,
java.lang.reflect.Constructor<?> constructor,
java.lang.Class<?> implClass,
org.fabric3.api.model.type.java.InjectingComponentType componentType,
IntrospectionContext context)
Visit an annotation on a constructor declaration.
|
void |
visitConstructorParameter(A annotation,
java.lang.reflect.Constructor<?> constructor,
int index,
java.lang.Class<?> implClass,
org.fabric3.api.model.type.java.InjectingComponentType componentType,
IntrospectionContext context)
Visit an annotation on a constructor parameter declaration.
|
void |
visitField(A annotation,
java.lang.reflect.Field field,
java.lang.Class<?> implClass,
org.fabric3.api.model.type.java.InjectingComponentType componentType,
IntrospectionContext context)
Visit an annotation on a field declaration.
|
void |
visitMethod(A annotation,
java.lang.reflect.Method method,
java.lang.Class<?> implClass,
org.fabric3.api.model.type.java.InjectingComponentType componentType,
IntrospectionContext context)
Visit an annotation on a method declaration.
|
void |
visitMethodParameter(A annotation,
java.lang.reflect.Method method,
int index,
java.lang.Class<?> implClass,
org.fabric3.api.model.type.java.InjectingComponentType componentType,
IntrospectionContext context)
Visit an annotation on a method parameter declaration.
|
void |
visitType(A annotation,
java.lang.Class<?> type,
org.fabric3.api.model.type.java.InjectingComponentType componentType,
IntrospectionContext context)
Visit an annotation on a class or interface declaration.
|
java.lang.Class<A> getType()
void visitType(A annotation, java.lang.Class<?> type, org.fabric3.api.model.type.java.InjectingComponentType componentType, IntrospectionContext context)
annotation - the annotationtype - the class or interfacecomponentType - the implementation component type being introspectedcontext - the current introspection contextvoid visitField(A annotation, java.lang.reflect.Field field, java.lang.Class<?> implClass, org.fabric3.api.model.type.java.InjectingComponentType componentType, IntrospectionContext context)
annotation - the annotationfield - the fieldimplClass - the component implementation class. This may be different than the declaring field class.componentType - the implementation component type being introspectedcontext - the current introspection contextvoid visitMethod(A annotation, java.lang.reflect.Method method, java.lang.Class<?> implClass, org.fabric3.api.model.type.java.InjectingComponentType componentType, IntrospectionContext context)
annotation - the annotationmethod - the method declarationimplClass - the component implementation class. This may be different than the declaring method class.componentType - the implementation component type being introspectedcontext - the current introspection contextvoid visitMethodParameter(A annotation, java.lang.reflect.Method method, int index, java.lang.Class<?> implClass, org.fabric3.api.model.type.java.InjectingComponentType componentType, IntrospectionContext context)
annotation - the annotationmethod - the method declarationindex - the index of the method parameterimplClass - the component implementation class. This may be different than the declaring method class.componentType - the implementation component type being introspectedcontext - the current introspection contextvoid visitConstructor(A annotation, java.lang.reflect.Constructor<?> constructor, java.lang.Class<?> implClass, org.fabric3.api.model.type.java.InjectingComponentType componentType, IntrospectionContext context)
annotation - the annotationconstructor - the constructorimplClass - the component implementation class.componentType - the implementation component type being introspectedcontext - the current introspection contextvoid visitConstructorParameter(A annotation, java.lang.reflect.Constructor<?> constructor, int index, java.lang.Class<?> implClass, org.fabric3.api.model.type.java.InjectingComponentType componentType, IntrospectionContext context)
annotation - the annotationconstructor - the constructorindex - the index of the constructor parameterimplClass - the component implementation class.componentType - the implementation component type being introspectedcontext - the current introspection context