|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
A - the type of annotation this processor handlespublic interface AnnotationProcessor<A extends java.lang.annotation.Annotation,I extends org.sca4j.scdl.Implementation<? extends org.sca4j.scdl.InjectingComponentType>>
Interface for processors that handle annotations attached to Java declarations.
| Method Summary | |
|---|---|
java.lang.Class<A> |
getType()
Returns the type of annotation this processor handles. |
void |
visitConstructor(A annotation,
java.lang.reflect.Constructor<?> constructor,
I implementation,
IntrospectionContext context)
Visit an annotation on a constructor declaration. |
void |
visitConstructorParameter(A annotation,
java.lang.reflect.Constructor<?> constructor,
int index,
I implementation,
IntrospectionContext context)
Visit an annotation on a constructor parameter declaration. |
void |
visitField(A annotation,
java.lang.reflect.Field field,
I implementation,
IntrospectionContext context)
Visit an annotation on a field declaration. |
void |
visitMethod(A annotation,
java.lang.reflect.Method method,
I implementation,
IntrospectionContext context)
Visit an annotation on a method declaration. |
void |
visitMethodParameter(A annotation,
java.lang.reflect.Method method,
int index,
I implementation,
IntrospectionContext context)
Visit an annotation on a method parameter declaration. |
void |
visitPackage(A annotation,
java.lang.Package javaPackage,
I implementation,
IntrospectionContext context)
Visit an annotation on a package declaration. |
void |
visitType(A annotation,
java.lang.Class<?> type,
I implementation,
IntrospectionContext context)
Visit an annotation on a class or interface declaration. |
| Method Detail |
|---|
java.lang.Class<A> getType()
void visitPackage(A annotation,
java.lang.Package javaPackage,
I implementation,
IntrospectionContext context)
annotation - the annotationjavaPackage - the packageimplementation - the implementation being introspectedcontext - the current introspection context
void visitType(A annotation,
java.lang.Class<?> type,
I implementation,
IntrospectionContext context)
annotation - the annotationtype - the class or interfaceimplementation - the implementation being introspectedcontext - the current introspection context
void visitField(A annotation,
java.lang.reflect.Field field,
I implementation,
IntrospectionContext context)
annotation - the annotationfield - the fieldimplementation - the implementation being introspectedcontext - the current introspection context
void visitMethod(A annotation,
java.lang.reflect.Method method,
I implementation,
IntrospectionContext context)
annotation - the annotationmethod - the method declarationimplementation - the implementation being introspectedcontext - the current introspection context
void visitMethodParameter(A annotation,
java.lang.reflect.Method method,
int index,
I implementation,
IntrospectionContext context)
annotation - the annotationmethod - the method declarationindex - the index of the method parameterimplementation - the implementation being introspectedcontext - the current introspection context
void visitConstructor(A annotation,
java.lang.reflect.Constructor<?> constructor,
I implementation,
IntrospectionContext context)
annotation - the annotationconstructor - the constructorimplementation - the implementation being introspectedcontext - the current introspection context
void visitConstructorParameter(A annotation,
java.lang.reflect.Constructor<?> constructor,
int index,
I implementation,
IntrospectionContext context)
annotation - the annotationconstructor - the constructorindex - the index of the constructor parameterimplementation - the implementation being introspectedcontext - the current introspection context
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||