org.objectweb.fractal.fraclet.annotation.processor
Class InterfaceProcessor
java.lang.Object
spoon.processing.AbstractProcessor<E>
spoon.processing.AbstractAnnotationProcessor<Interface,spoon.reflect.declaration.CtSimpleType<?>>
org.objectweb.fractal.fraclet.annotation.processor.InterfaceProcessor
- All Implemented Interfaces:
- spoon.processing.AnnotationProcessor<Interface,spoon.reflect.declaration.CtSimpleType<?>>, spoon.processing.FactoryAccessor, spoon.processing.Processor<spoon.reflect.declaration.CtSimpleType<?>>
public class InterfaceProcessor
- extends spoon.processing.AbstractAnnotationProcessor<Interface,spoon.reflect.declaration.CtSimpleType<?>>
An annotation processor to manage the @Interface annotation.
- Author:
- Nicolas Pessemier
Methods inherited from class spoon.processing.AbstractAnnotationProcessor |
addConsumedAnnotationType, addProcessedAnnotationType, clearConsumedAnnotationTypes, clearProcessedAnnotationTypes, getConsumedAnnotationTypes, getProcessedAnnotationTypes, isToBeProcessed, process, removeConsumedAnnotationType, removeProcessedAnnotationType |
Methods inherited from class spoon.processing.AbstractProcessor |
addProcessedElementType, clearProcessedElementType, getEnvironment, getFactory, getProcessedElementTypes, getTraversalStrategy, process, processingDone, removeProcessedElementType, setFactory |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface spoon.processing.Processor |
getEnvironment, getProcessedElementTypes, getTraversalStrategy, process, processingDone |
Methods inherited from interface spoon.processing.FactoryAccessor |
getFactory, setFactory |
InterfaceProcessor
public InterfaceProcessor()
init
public void init()
- Specified by:
init
in interface spoon.processing.Processor<spoon.reflect.declaration.CtSimpleType<?>>
- Overrides:
init
in class spoon.processing.AbstractProcessor<spoon.reflect.declaration.CtSimpleType<?>>
inferConsumedAnnotationType
public boolean inferConsumedAnnotationType()
- Specified by:
inferConsumedAnnotationType
in interface spoon.processing.AnnotationProcessor<Interface,spoon.reflect.declaration.CtSimpleType<?>>
- Overrides:
inferConsumedAnnotationType
in class spoon.processing.AbstractAnnotationProcessor<Interface,spoon.reflect.declaration.CtSimpleType<?>>
process
public void process(Interface itfAnnotation,
spoon.reflect.declaration.CtSimpleType<?> processedItf)
- A constructor for the InterfaceProcessor
- Parameters:
itfAnnotation
- the Interface annotationprocessedItf
- the CtInterface processed