Class FixtureProcessor

java.lang.Object
javax.annotation.processing.AbstractProcessor
de.floydkretschmar.fixturize.FixtureProcessor
All Implemented Interfaces:
Processor

@SupportedAnnotationTypes("de.floydkretschmar.fixturize.annotations.Fixture") @SupportedSourceVersion(RELEASE_21) @AutoService(javax.annotation.processing.Processor.class) public class FixtureProcessor extends AbstractProcessor
Processes all classes annotated with Fixture and tries to generate a corresponding fixture class for all of these classes. A fixture class generally has the following format:

public class classNameFixture {
constant1
...
constantM

creationMethod1
...
creationMethod2
}

For the exact format of each constant and creationMethod please reference ConstantGenerationStrategy and CreationMethodGenerationStrategy respectively.