Class RepositoryGeneratorProcessor
java.lang.Object
javax.annotation.processing.AbstractProcessor
io.github.opensabe.mapstruct.processor.FreeMarkerProcessor
io.github.opensabe.mapstruct.processor.RepositoryGeneratorProcessor
- All Implemented Interfaces:
Processor
@SupportedAnnotationTypes("org.mapstruct.Mapper")
public class RepositoryGeneratorProcessor
extends FreeMarkerProcessor
最后将自动生成的Mapper添加到
MapperRepository中- Author:
- heng.ma
-
Field Summary
Fields inherited from class javax.annotation.processing.AbstractProcessor
processingEnv -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanprocess(Set<? extends TypeElement> annotations, RoundEnvironment roundEnv) Methods inherited from class io.github.opensabe.mapstruct.processor.FreeMarkerProcessor
init, writeClassMethods inherited from class javax.annotation.processing.AbstractProcessor
getCompletions, getSupportedAnnotationTypes, getSupportedOptions, getSupportedSourceVersion, isInitialized
-
Constructor Details
-
RepositoryGeneratorProcessor
public RepositoryGeneratorProcessor()
-
-
Method Details
-
process
- Specified by:
processin interfaceProcessor- Specified by:
processin classAbstractProcessor
-