net.jbock.processor.ProcessorComponent Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of jbock-compiler Show documentation
Show all versions of jbock-compiler Show documentation
jbock annotation processor
package net.jbock.processor;
import io.jbock.simple.Component;
import javax.annotation.processing.ProcessingEnvironment;
@Component
interface ProcessorComponent {
MethodStep methodStep();
CommandStep commandStep();
@Component.Factory
interface Factory {
ProcessorComponent create(ProcessingEnvironment processingEnvironment);
}
static ProcessorComponent create(ProcessingEnvironment processingEnvironment) {
return ProcessorComponent_Impl.factory().create(processingEnvironment);
}
}