Class ServiceProcessor
- java.lang.Object
-
- javax.annotation.processing.AbstractProcessor
-
- org.glassfish.hk2.metadata.generator.ServiceProcessor
-
- All Implemented Interfaces:
Processor
@SupportedAnnotationTypes("org.jvnet.hk2.annotations.Service") @SupportedOptions("org.glassfish.hk2.metadata.location") public class ServiceProcessor extends AbstractProcessor
The entry point for service @Service annotations- Author:
- jwells
-
-
Field Summary
-
Fields inherited from class javax.annotation.processing.AbstractProcessor
processingEnv
-
-
Constructor Summary
Constructors Constructor Description ServiceProcessor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SourceVersion
getSupportedSourceVersion()
Gets rid of warnings and this code should work with all source versionsboolean
process(Set<? extends TypeElement> annotations, RoundEnvironment roundEnv)
-
Methods inherited from class javax.annotation.processing.AbstractProcessor
getCompletions, getSupportedAnnotationTypes, getSupportedOptions, init, isInitialized
-
-
-
-
Method Detail
-
process
public boolean process(Set<? extends TypeElement> annotations, RoundEnvironment roundEnv)
- Specified by:
process
in interfaceProcessor
- Specified by:
process
in classAbstractProcessor
-
getSupportedSourceVersion
public SourceVersion getSupportedSourceVersion()
Gets rid of warnings and this code should work with all source versions- Specified by:
getSupportedSourceVersion
in interfaceProcessor
- Overrides:
getSupportedSourceVersion
in classAbstractProcessor
-
-