|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.sca4j.introspection.java.AbstractAnnotationProcessor<A,I>
public abstract class AbstractAnnotationProcessor<A extends java.lang.annotation.Annotation,I extends org.sca4j.scdl.Implementation<? extends org.sca4j.scdl.InjectingComponentType>>
Abstract base class for annotation processors that provides default implementations of the interface methods that simply return.
| Constructor Summary | |
|---|---|
protected |
AbstractAnnotationProcessor(java.lang.Class<A> type)
Constructor binding the annotation type. |
| 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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
protected AbstractAnnotationProcessor(java.lang.Class<A> type)
type - the annotation type| Method Detail |
|---|
public java.lang.Class<A> getType()
AnnotationProcessor
getType in interface AnnotationProcessor<A extends java.lang.annotation.Annotation,I extends org.sca4j.scdl.Implementation<? extends org.sca4j.scdl.InjectingComponentType>>
public void visitPackage(A annotation,
java.lang.Package javaPackage,
I implementation,
IntrospectionContext context)
AnnotationProcessor
visitPackage in interface AnnotationProcessor<A extends java.lang.annotation.Annotation,I extends org.sca4j.scdl.Implementation<? extends org.sca4j.scdl.InjectingComponentType>>annotation - the annotationjavaPackage - the packageimplementation - the implementation being introspectedcontext - the current introspection context
public void visitType(A annotation,
java.lang.Class<?> type,
I implementation,
IntrospectionContext context)
AnnotationProcessor
visitType in interface AnnotationProcessor<A extends java.lang.annotation.Annotation,I extends org.sca4j.scdl.Implementation<? extends org.sca4j.scdl.InjectingComponentType>>annotation - the annotationtype - the class or interfaceimplementation - the implementation being introspectedcontext - the current introspection context
public void visitField(A annotation,
java.lang.reflect.Field field,
I implementation,
IntrospectionContext context)
AnnotationProcessor
visitField in interface AnnotationProcessor<A extends java.lang.annotation.Annotation,I extends org.sca4j.scdl.Implementation<? extends org.sca4j.scdl.InjectingComponentType>>annotation - the annotationfield - the fieldimplementation - the implementation being introspectedcontext - the current introspection context
public void visitMethod(A annotation,
java.lang.reflect.Method method,
I implementation,
IntrospectionContext context)
AnnotationProcessor
visitMethod in interface AnnotationProcessor<A extends java.lang.annotation.Annotation,I extends org.sca4j.scdl.Implementation<? extends org.sca4j.scdl.InjectingComponentType>>annotation - the annotationmethod - the method declarationimplementation - the implementation being introspectedcontext - the current introspection context
public void visitMethodParameter(A annotation,
java.lang.reflect.Method method,
int index,
I implementation,
IntrospectionContext context)
AnnotationProcessor
visitMethodParameter in interface AnnotationProcessor<A extends java.lang.annotation.Annotation,I extends org.sca4j.scdl.Implementation<? extends org.sca4j.scdl.InjectingComponentType>>annotation - the annotationmethod - the method declarationindex - the index of the method parameterimplementation - the implementation being introspectedcontext - the current introspection context
public void visitConstructor(A annotation,
java.lang.reflect.Constructor<?> constructor,
I implementation,
IntrospectionContext context)
AnnotationProcessor
visitConstructor in interface AnnotationProcessor<A extends java.lang.annotation.Annotation,I extends org.sca4j.scdl.Implementation<? extends org.sca4j.scdl.InjectingComponentType>>annotation - the annotationconstructor - the constructorimplementation - the implementation being introspectedcontext - the current introspection context
public void visitConstructorParameter(A annotation,
java.lang.reflect.Constructor<?> constructor,
int index,
I implementation,
IntrospectionContext context)
AnnotationProcessor
visitConstructorParameter in interface AnnotationProcessor<A extends java.lang.annotation.Annotation,I extends org.sca4j.scdl.Implementation<? extends org.sca4j.scdl.InjectingComponentType>>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 | |||||||||