Processor
.@Deprecated public interface AnnotationProcessorFactory
Each implementation of an AnnotationProcessorFactory must provide a public no-argument constructor to be used by tools to instantiate the factory.
Modifier and Type | Method and Description |
---|---|
AnnotationProcessor |
getProcessorFor(Set<AnnotationTypeDeclaration> atds,
AnnotationProcessorEnvironment env)
Deprecated.
Returns an annotation processor for a set of annotation
types.
|
Collection<String> |
supportedAnnotationTypes()
Deprecated.
Returns the names of the annotation types supported by this factory.
|
Collection<String> |
supportedOptions()
Deprecated.
Returns the options recognized by this factory or by any of the
processors it may create.
|
Collection<String> supportedOptions()
A tool might use this information to determine if any options provided by a user are unrecognized by any processor, in which case it may wish to report an error.
Collection<String> supportedAnnotationTypes()
AnnotationProcessor getProcessorFor(Set<AnnotationTypeDeclaration> atds, AnnotationProcessorEnvironment env)
AnnotationProcessors.NO_OP
.atds
- type declarations of the annotation types to be processedenv
- environment to use during processing
Copyright © 2004, 2016, Oracle and/or its affiliates. All rights reserved.