@ServiceProviderFor(value=javax.annotation.processing.Processor.class) @For(value={AntLib.class,AntTask.class}) public class AntLibProcessor extends AnnotatedProcessor implements ClassFileProcessor, XalanConstants
antlib.xml
(at location(s) specified by AntLib
)
at the end of annotation processing.AbstractProcessor.Check<T extends Element>, AbstractProcessor.Criterion<T extends Element>
filer, javac
elements, fm, MODIFIERS, types
XALAN_INDENT_AMOUNT
NO, YES
Constructor and Description |
---|
AntLibProcessor() |
Modifier and Type | Method and Description |
---|---|
void |
process(Set<Class<?>> set,
JavaFileManager fm)
Processor alternate entry point. |
getSupportedAnnotationTypeList, getSupportedAnnotationTypes, init, process, process
getCompletions, getSupportedOptions, getSupportedSourceVersion, print, print, print, print, print, whenAnnotationProcessingFinished
asClass, asExecutableElement, asExecutableElement, asPackageInfoClass, asTypeElement, asTypeMirror, asTypeMirrorList, asVariableElement, getAnnotationMirror, getAnnotationMirror, getAnnotationValue, getClassLoader, getClassPathClassLoader, getClassPathClassLoader, getConstructor, getEnclosingTypeElement, getMethod, getMethod, getPropertyName, getPropertyNames, getTypeElementFor, hasSameSignatureAs, hasSameSignatureAs, hasSameSignatureAs, implementationOf, isAssignableTo, isAssignableTo, isAssignableTo, isAssignableTo, isEmptyArray, isGetterMethod, named, overrides, overrides, signature, signature, specifiedBy, toEnumSet, toModifiers, with, withModifiers, withModifiers, without, withoutModifiers, withoutModifiers, withParameters, withParameters
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
list
getCompletions, getSupportedAnnotationTypes, getSupportedOptions, getSupportedSourceVersion, init, process
asModifierSet, declaration, declaration, declaration, declaration, declaration, declaration, exceptions, getModifiers, getModifiers, modifiers, parameters, type, type
public AntLibProcessor()
public void process(Set<Class<?>> set, JavaFileManager fm) throws Exception
ClassFileProcessor
Processor
alternate entry point.process
in interface ClassFileProcessor
set
- The Set
of Class
es to
analyze.fm
- The configured JavaFileManager
(for
writing output files).Exception
- If the implementation throws a
Exception
.Copyright © 2015–2021. All rights reserved.