Class AbstractBuilderProcessor
- java.lang.Object
-
- javax.annotation.processing.AbstractProcessor
-
- io.sundr.codegen.apt.processor.AbstractCodeGeneratingProcessor
-
- io.sundr.builder.internal.processor.AbstractBuilderProcessor
-
- All Implemented Interfaces:
Processor
- Direct Known Subclasses:
BuildableProcessor
,ExternalBuildableProcessor
public abstract class AbstractBuilderProcessor extends io.sundr.codegen.apt.processor.AbstractCodeGeneratingProcessor
-
-
Field Summary
Fields Modifier and Type Field Description static String
EMPTY
-
Fields inherited from class io.sundr.codegen.apt.processor.AbstractCodeGeneratingProcessor
generator
-
Fields inherited from class javax.annotation.processing.AbstractProcessor
processingEnv
-
-
Constructor Summary
Constructors Constructor Description AbstractBuilderProcessor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
generateBuildables(BuilderContext ctx, Set<io.sundr.model.TypeDef> buildables)
void
generatePojos(BuilderContext builderContext, Set<io.sundr.model.TypeDef> buildables)
Returns true if pojos where generated.-
Methods inherited from class io.sundr.codegen.apt.processor.AbstractCodeGeneratingProcessor
generate, getAdapterContext, getAptContext, getDefinitionRepository, getSupportedSourceVersion, init
-
Methods inherited from class javax.annotation.processing.AbstractProcessor
getCompletions, getSupportedAnnotationTypes, getSupportedOptions, isInitialized, process
-
-
-
-
Field Detail
-
EMPTY
public static final String EMPTY
- See Also:
- Constant Field Values
-
-
Method Detail
-
generateBuildables
public void generateBuildables(BuilderContext ctx, Set<io.sundr.model.TypeDef> buildables)
-
generatePojos
public void generatePojos(BuilderContext builderContext, Set<io.sundr.model.TypeDef> buildables)
Returns true if pojos where generated.- Parameters:
builderContext
- The builder context.buildables
- The set of buildables.
-
-