Package spoon.processing
Class SpoonTagger
java.lang.Object
spoon.processing.AbstractManualProcessor
spoon.processing.SpoonTagger
- All Implemented Interfaces:
FactoryAccessor
,Processor<CtElement>
Creates an empty class spoon.Spoon
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
process()
A callback method called by the manager so that this processor can manually implement a processing job.Methods inherited from class spoon.processing.AbstractManualProcessor
addProcessedElementType, getEnvironment, getFactory, getProcessedElementTypes, getTraversalStrategy, init, initProperties, interrupt, isPrivileged, isToBeProcessed, process, processingDone, setFactory
-
Constructor Details
-
SpoonTagger
public SpoonTagger()
-
-
Method Details
-
process
public void process()Description copied from interface:Processor
A callback method called by the manager so that this processor can manually implement a processing job. On contrary toProcessor.process(CtElement)
, this method does not rely on a built-in meta-model scanner and has to implement its own traversal strategy on the meta-model, which is stored in the factory (FactoryAccessor.getFactory()
). Note that if a processor implements both process methods, this one is called first. This method does nothing in default implementations (AbstractProcessor
).
-