Class MittenLibCodegenProcessor

java.lang.Object
javax.annotation.processing.AbstractProcessor
io.toolisticon.aptk.tools.AbstractAnnotationProcessor
me.bristermitten.mittenlib.codegen.MittenLibCodegenProcessor
All Implemented Interfaces:
Processor

@SupportedSourceVersion(RELEASE_21) @AutoService(javax.annotation.processing.Processor.class) @SupportedOptions("org.gradle.annotation.processing.isolating") public class MittenLibCodegenProcessor extends io.toolisticon.aptk.tools.AbstractAnnotationProcessor
  • Constructor Details

    • MittenLibCodegenProcessor

      public MittenLibCodegenProcessor()
  • Method Details

    • getSupportedAnnotationTypes

      public Set<String> getSupportedAnnotationTypes()
      Specified by:
      getSupportedAnnotationTypes in interface Processor
      Overrides:
      getSupportedAnnotationTypes in class AbstractProcessor
    • processAnnotations

      @DeclareCompilerMessage(code="001",enumValueName="METHOD_BAD_RETURN",message="Method must return the record type ${0}!") @DeclareCompilerMessage(code="002",enumValueName="DUPLICATE_CONSTRUCTOR",message="Constructors must have distinct names, overloading is not allowed") public boolean processAnnotations(Set<? extends TypeElement> annotations, RoundEnvironment roundEnv)
      Specified by:
      processAnnotations in class io.toolisticon.aptk.tools.AbstractAnnotationProcessor