SpineAnnotationProcessor extends AbstractProcessor { protected abstract Class<? extends Annotation> getAnnotationType();  @Override final synchronized void init(ProcessingEnvironment processingEnv); @Override final Set<String> getSupportedAnnotationTypes(); @Override final SourceVersion getSupportedSourceVersion(); @Override final boolean process(Set<? extends TypeElement> annotations,
                                 RoundEnvironment roundEnv);  }
@Test @DisplayName("have constant annotation type") void getAnnotationType() { Class<?> target = processor.getAnnotationType(); assertNotNull(target); assertTrue(target.isAnnotation()); processor.setOptions(newHashMap()); processor.onRoundStarted(); processor.onRoundFinished(); assertEquals(target, processor.getAnnotationType()); }