Interface | Description |
---|---|
ClassFileProcessor |
Interface to provide an alternate entry point for annotation processing
on compiled class files.
|
Class | Description |
---|---|
AbstractProcessor |
Extends
AbstractProcessor by
providing a AbstractProcessor.getSupportedSourceVersion() implementation, methods
to report Diagnostic.Kind.ERROR s and
Diagnostic.Kind.WARNING s, and access to
ProcessingEnvironment.getFiler() ,
ProcessingEnvironment.getElementUtils() , and
ProcessingEnvironment.getTypeUtils() . |
AnnotatedNoAnnotationProcessor | |
AnnotatedProcessor | |
AnnotatedTagletProcessor |
Processor implementation to verify concrete implementations of
AnnotatedTaglet are also subclasses of Taglet . |
AnnotationValueMustConvertTo.ProcessorImpl |
Processor implementation. |
AntLibProcessor |
Generates
antlib.xml (at location(s) specified by AntLib )
at the end of annotation processing. |
AntTaskAttributeConstraintProcessor | |
AntTaskMixInProcessor |
Processor implementation to verify concrete implementations of
AntTaskMixIn are also subclasses of Task . |
AntTaskProcessor | |
ClassFileProcessorProcessor |
Processor implementation to verify concrete implementations of
ClassFileProcessor are also subclasses of
AnnotatedProcessor . |
CompileTimeCheckProcessor | |
ConstantValueMustConvertToProcessor |
Processor implementation to verify constant initializers
marked by the ConstantValueMustConvertTo can be converted to the
specified type. |
ConstructorPropertiesProcessor |
Processor implementation to verify ConstructorProperties
annotation are actual bean properties of the
Constructor 's Class . |
For.ProcessorImpl |
Processor implementation. |
ForElementKinds.ProcessorImpl |
Processor implementation. |
ForSubclassesOf.ProcessorImpl |
Processor implementation. |
JAXBIndexProcessor | |
ManifestProcessor | |
MatcherGroupProcessor |
Processor implementation to check MatcherGroup
annotations. |
MustImplement.ProcessorImpl |
Processor implementation. |
NoopProcessor |
No-op
Processor to silence compilation warnings for 3rd-party
Annotation s that do not have a processor. |
NoOverrideProcessor |
Processor implementation to identify overriding
Method s that are not marked with the
Override Annotation . |
ObjectCloneProcessor |
Processor implementation to check Object.clone()
implementations to verify:
Class also implements Cloneable
CloneNotSupportedException (unless
some "intravening" superclass' implementation does not)
|
ObjectToStringProcessor |
Processor implementation to check Class es to verify:
Class also overrides Object.toString()
|
PatternRegexProcessor |
Processor implementation to check PatternRegex
annotations. |
SerializableProcessor |
Processor implementation to check subclasses of
Serializable to verify a serialVersionUID field has been
defined. |
ServiceProviderForProcessor |
Processor implementation to check Class es annotated with
ServiceProviderFor to verify the annotated Class :
Class es specified by
ServiceProviderFor.value()
Note: Google offers a similar
AutoService
library. |
TagletProcessor |
Processor implementation to verify concrete implementations of
Taglet implement the required static register() method. |
TargetMustBe.ProcessorImpl |
Processor implementation. |
TargetMustExtend.ProcessorImpl |
Processor implementation. |
TargetMustHaveConstructor.ProcessorImpl |
Processor implementation. |
TargetMustHaveModifiers.ProcessorImpl |
Processor implementation. |
TargetMustNotHaveModifiers.ProcessorImpl |
Processor implementation. |
WithModifiers.ProcessorImpl |
Processor implementation. |
WithoutModifiers.ProcessorImpl |
Processor implementation. |
Annotation Type | Description |
---|---|
AnnotationValueMustConvertTo | |
For | |
ForElementKinds | |
ForSubclassesOf | |
MustImplement | |
TargetMustBe |
Annotation to test an Annotated element is a
specific kind . |
TargetMustExtend | |
TargetMustHaveConstructor |
Annotation to specify annotated
Class must have a corresponding constructor. |
TargetMustHaveModifiers | |
TargetMustNotHaveModifiers | |
WithModifiers |
AnnotatedNoAnnotationProcessor
Annotation to specify Modifier s
that should be present on the target. |
WithoutModifiers |
AnnotatedNoAnnotationProcessor
Annotation to specify Modifier s
that should be absent from the target. |
Processor
implementation
classes.javax.annotation.processing
Copyright © 2015–2020 Allen D. Ball. All rights reserved.