@ServiceProviderFor(value=javax.annotation.processing.Processor.class) @For(value={Manifest.Attribute.class,Manifest.MainClass.class,Manifest.Section.class,Manifest.JavaBean.class,Manifest.DependsOn.class,Manifest.DesignTimeOnly.class}) public class ManifestProcessor extends AnnotatedProcessor implements ClassFileProcessor
AbstractProcessor.Check<T extends Element>, AbstractProcessor.Criterion<T extends Element>elements, filer, fm, javac, trees, typesprocessingEnv| Constructor and Description |
|---|
ManifestProcessor() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
process(RoundEnvironment roundEnv,
TypeElement annotation,
Element element)
Callback method to process an annotated
Element. |
void |
process(Set<Class<?>> set,
JavaFileManager fm)
Processor alternate entry point. |
getSupportedAnnotationTypeList, getSupportedAnnotationTypes, init, processasTypeElement, asTypeMirror, asTypeMirrorList, getAnnotationMirror, getAnnotationMirror, getAnnotationValue, getClassPathClassLoader, getConstructor, getMethod, getMethod, getPropertyName, getPropertyNames, getSupportedSourceVersion, hasSameSignatureAs, hasSameSignatureAs, hasSameSignatureAs, implementationOf, isAssignableTo, isAssignableTo, isAssignableTo, isAssignableTo, isEmptyArray, isGetterMethod, named, overrides, overrides, print, print, print, print, print, specifiedBy, toEnumSet, whenAnnotationProcessingFinished, with, withModifiers, withModifiers, without, withoutModifiers, withoutModifiers, withParameters, withParametersgetCompletions, getSupportedOptions, isInitializedclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitlistgetCompletions, getSupportedAnnotationTypes, getSupportedOptions, getSupportedSourceVersion, init, processasModifierSet, declaration, declaration, declaration, declaration, declaration, declaration, exceptions, getModifiers, getModifiers, modifiers, parameters, type, typepublic ManifestProcessor()
protected void process(RoundEnvironment roundEnv, TypeElement annotation, Element element)
AnnotatedProcessorElement. Default
implementation does nothing.process in class AnnotatedProcessorroundEnv - The RoundEnvironment.annotation - The annotation TypeElement.element - The annotated Element.public void process(Set<Class<?>> set, JavaFileManager fm) throws Throwable
ClassFileProcessorProcessor alternate entry point.process in interface ClassFileProcessorset - The Set of Classes to
analyze.fm - The configured JavaFileManager (for
writing output files).Throwable - If the implementation throws a
Throwable.Copyright © 2015–2020 Allen D. Ball. All rights reserved.