Module colesico.framework.service
Class ServiceProcessor
- java.lang.Object
-
- javax.annotation.processing.AbstractProcessor
-
- colesico.framework.assist.codegen.FrameworkAbstractProcessor
-
- colesico.framework.service.codegen.parser.ServiceProcessor
-
- All Implemented Interfaces:
Processor
public class ServiceProcessor extends colesico.framework.assist.codegen.FrameworkAbstractProcessorПроцессор аннотации осуществляющий обработку классов помеченных аннотацией @Service- Author:
- Vladlen Larionov
-
-
Field Summary
Fields Modifier and Type Field Description protected ProcessorContextcontextprotected org.slf4j.Loggerloggerprotected ModulatorKitmodulatorKit-
Fields inherited from class javax.annotation.processing.AbstractProcessor
processingEnv
-
-
Constructor Summary
Constructors Constructor Description ServiceProcessor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected Class<? extends Annotation>[]getSupportedAnnotations()SourceVersiongetSupportedSourceVersion()voidinit(ProcessingEnvironment processingEnv)booleanprocess(Set<? extends TypeElement> annotations, RoundEnvironment roundEnv)protected voidprocessClasses(Set<? extends TypeElement> annotations, RoundEnvironment roundEnv)-
Methods inherited from class colesico.framework.assist.codegen.FrameworkAbstractProcessor
getCodegenMode, getElementUtils, getFiler, getMessager, getOptions, getSupportedAnnotationTypes, getSupportedOptions, getTypeUtils, onInit
-
Methods inherited from class javax.annotation.processing.AbstractProcessor
getCompletions, isInitialized
-
-
-
-
Field Detail
-
logger
protected final org.slf4j.Logger logger
-
modulatorKit
protected final ModulatorKit modulatorKit
-
context
protected ProcessorContext context
-
-
Method Detail
-
getSupportedSourceVersion
public SourceVersion getSupportedSourceVersion()
- Specified by:
getSupportedSourceVersionin interfaceProcessor- Overrides:
getSupportedSourceVersionin classcolesico.framework.assist.codegen.FrameworkAbstractProcessor
-
getSupportedAnnotations
protected Class<? extends Annotation>[] getSupportedAnnotations()
- Specified by:
getSupportedAnnotationsin classcolesico.framework.assist.codegen.FrameworkAbstractProcessor
-
init
public void init(ProcessingEnvironment processingEnv)
-
process
public boolean process(Set<? extends TypeElement> annotations, RoundEnvironment roundEnv)
- Specified by:
processin interfaceProcessor- Specified by:
processin classAbstractProcessor
-
processClasses
protected void processClasses(Set<? extends TypeElement> annotations, RoundEnvironment roundEnv)
-
-