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
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprivate static classThis is a comparator making things that don't really compare, compare. -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final TreeSet<DescriptorImpl> private static final Stringprivate static final StringFields inherited from class javax.annotation.processing.AbstractProcessor
processingEnv -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate voidGets rid of warnings and this code should work with all source versionsbooleanprocess(Set<? extends TypeElement> annotations, RoundEnvironment roundEnv) Methods inherited from class javax.annotation.processing.AbstractProcessor
getCompletions, getSupportedAnnotationTypes, getSupportedOptions, init, isInitialized
-
Field Details
-
LOCATION_OPTION
- See Also:
-
LOCATION_DEFAULT
- See Also:
-
allDescriptors
-
originators
-
-
Constructor Details
-
ServiceProcessor
public ServiceProcessor()
-
-
Method Details
-
process
- Specified by:
processin interfaceProcessor- Specified by:
processin classAbstractProcessor
-
getSupportedSourceVersion
Gets rid of warnings and this code should work with all source versions- Specified by:
getSupportedSourceVersionin interfaceProcessor- Overrides:
getSupportedSourceVersionin classAbstractProcessor
-
createFile
- Throws:
IOException
-