Package ball.annotation.processing
Provides
Processor implementation
classes.- Author:
- Allen D. Ball
- See Also:
javax.annotation.processing
-
Interface Summary Interface Description ClassFileProcessor Interface to provide an alternate entry point for annotation processing on compiled class files. -
Class Summary Class Description AbstractProcessor Provides abstract base class forProcessorby providing aAbstractProcessor.getSupportedSourceVersion()implementation, methods to reportDiagnostic.Kind.ERRORs andDiagnostic.Kind.WARNINGs, and access toProcessingEnvironment.getFiler(),ProcessingEnvironment.getElementUtils(), andProcessingEnvironment.getTypeUtils().AnnotatedNoAnnotationProcessor AnnotatedProcessor AnnotationValueMustConvertTo.ProcessorImpl Processorimplementation.AntLibProcessor Generatesantlib.xml(at location(s) specified byAntLib) at the end of annotation processing.AntTaskAttributeConstraintProcessor AntTaskMixInProcessor Processorimplementation to verify concrete implementations ofAntTaskMixInare also subclasses ofTask.AntTaskProcessor ClassFileProcessorProcessor Processorimplementation to verify concrete implementations ofClassFileProcessorare also subclasses ofAnnotatedProcessor.CompileTimeCheckProcessor ConstantValueMustConvertToProcessor Processorimplementation to verify constant initializers marked by theConstantValueMustConvertTocan be converted to the specified type.ConstructorPropertiesProcessor Processorimplementation to verifyConstructorPropertiesannotation are actual bean properties of theConstructor'sClass.For.ProcessorImpl Processorimplementation.ForElementKinds.ProcessorImpl Processorimplementation.ForSubclassesOf.ProcessorImpl Processorimplementation.JavaxLangModelUtilities Utility methods forProcessorandTagletimplementations.JAXBIndexProcessor ManifestProcessor MatcherGroupProcessor Processorimplementation to checkMatcherGroupannotations.MustImplement.ProcessorImpl Processorimplementation.NoopProcessor No-opProcessorto silence compilation warnings for 3rd-partyAnnotations that do not have a processor.NoOverrideProcessor Processorimplementation to identify overridingMethods that are not marked with theOverrideAnnotation.ObjectCloneProcessor Processorimplementation to checkObject.clone()implementations to verify: The implementingClassalso implementsCloneableThe implementation throwsCloneNotSupportedException(unless some "intravening" superclass' implementation does not) The implementation returns a subtype of the implementation typeObjectToStringProcessor Processorimplementation to checkClasses to verify: The implementingClassalso overridesObject.toString()PatternRegexProcessor Processorimplementation to checkPatternRegexannotations.SerializableProcessor Processorimplementation to check subclasses ofSerializableto verify aserialVersionUIDfield has been defined.ServiceProviderForProcessor Processorimplementation to checkClasses annotated withServiceProviderForto verify the annotatedClass: Is concrete Has a public no-argument constructor Implements theClasses specified byServiceProviderFor.value()or implements Java 9'sjava.util.ServiceLoader.Providerpublic static T provider()method.Shims JDK 8, 9, and 10-specific methods forAbstractProcessor.TargetMustBe.ProcessorImpl Processorimplementation.TargetMustExtend.ProcessorImpl Processorimplementation.TargetMustHaveConstructor.ProcessorImpl Processorimplementation.TargetMustHaveModifiers.ProcessorImpl Processorimplementation.TargetMustNotHaveModifiers.ProcessorImpl Processorimplementation.WithModifiers.ProcessorImpl Processorimplementation.WithoutModifiers.ProcessorImpl Processorimplementation. -
Annotation Types Summary Annotation Type Description AnnotationValueMustConvertTo For ForElementKinds ForSubclassesOf MustImplement TargetMustBe Annotationto test an Annotated element is a specifickind.TargetMustExtend TargetMustHaveConstructor Annotationto specify annotatedClassmust have a corresponding constructor.TargetMustHaveModifiers TargetMustNotHaveModifiers WithModifiers AnnotatedNoAnnotationProcessorAnnotationto specifyModifiers that should be present on the target.WithoutModifiers AnnotatedNoAnnotationProcessorAnnotationto specifyModifiers that should be absent from the target.