Class TypeProcessor

java.lang.Object
javax.annotation.processing.AbstractProcessor
ru.objectsfill.annotation_processor.TypeProcessor
All Implemented Interfaces:
Processor

@SupportedAnnotationTypes("ru.objectsfill.annotations.*") @SupportedSourceVersion(RELEASE_17) @AutoService(javax.annotation.processing.Processor.class) public class TypeProcessor extends AbstractProcessor
generate class from template
  • Constructor Details

    • TypeProcessor

      public TypeProcessor()
  • Method Details

    • process

      public boolean process(Set<? extends TypeElement> annotations, RoundEnvironment roundEnv)
      Processes the annotations and generates template classes.
      Specified by:
      process in interface Processor
      Specified by:
      process in class AbstractProcessor
      Parameters:
      annotations - the set of annotations being processed
      roundEnv - the round environment
      Returns:
      true to indicate that the annotations have been processed