io.avaje.prism.AnnotationProcessor Maven / Gradle / Ivy
package io.avaje.prism;
import static java.lang.annotation.ElementType.TYPE;
import static java.lang.annotation.RetentionPolicy.SOURCE;
import java.lang.annotation.Retention;
import java.lang.annotation.Target;
/**
* Dedicated annotation for signaling the prism generator to create an entry in {@code META-INF/services/javax.annotation.processing.Processor}.
* The generator will automatically try to write META-INF files if the following annotations are
* detected on a concrete processor class.
*
*
* - Any avaje prism annotation
*
- {@link javax.annotation.processing.SupportedAnnotationTypes @SupportedAnnotationTypes}
*
- {@link javax.annotation.processing.SupportedOptions @SupportedOptions}
*
- {@link javax.annotation.processing.SupportedSourceVersion @SupportedSourceVersion}
*
*/
@Target(TYPE)
@Retention(SOURCE)
public @interface AnnotationProcessor {}