org.objectweb.fractal.fraclet.annotation.processor
Class InterfaceProcessor

java.lang.Object
  extended by spoon.processing.AbstractProcessor<E>
      extended by spoon.processing.AbstractAnnotationProcessor<Interface,spoon.reflect.declaration.CtSimpleType<?>>
          extended by 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

Constructor Summary
InterfaceProcessor()
           
 
Method Summary
 boolean inferConsumedAnnotationType()
           
 void init()
           
 void process(Interface itfAnnotation, spoon.reflect.declaration.CtSimpleType<?> processedItf)
          A constructor for the InterfaceProcessor
 
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
 

Constructor Detail

InterfaceProcessor

public InterfaceProcessor()
Method Detail

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 annotation
processedItf - the CtInterface processed