@SupportedAnnotationTypes(value="com.luciad.util.service.LcdService") public class TLcdServiceAnnotationProcessor extends AbstractProcessor
Annotation processor that is able to process LcdService
annotations
at compile time. It retrieves the service, and writes it away in the
META-INF/services
directory. Services and their priority can be queried at
runtime using TLcdServiceLoader
.
Note: In order to use this processor in an IDE, annotation processing should be enabled.
processingEnv
Constructor and Description |
---|
TLcdServiceAnnotationProcessor() |
Modifier and Type | Method and Description |
---|---|
SourceVersion |
getSupportedSourceVersion() |
boolean |
process(Set<? extends TypeElement> annotations,
RoundEnvironment roundEnv) |
getCompletions, getSupportedAnnotationTypes, getSupportedOptions, init, isInitialized
public SourceVersion getSupportedSourceVersion()
getSupportedSourceVersion
in interface Processor
getSupportedSourceVersion
in class AbstractProcessor
public boolean process(Set<? extends TypeElement> annotations, RoundEnvironment roundEnv)
process
in interface Processor
process
in class AbstractProcessor