@SupportedAnnotationTypes(value="*") @SupportedSourceVersion(value=RELEASE_6) public class PrintingProcessor extends AbstractProcessor
This is NOT part of any supported API. If you write code that depends on this, you do so at your own risk. This code and its internal interfaces are subject to change or deletion without notice.
|Modifier and Type||Class and Description|
Used for the -Xprint option and called by Elements.printElements
|Constructor and Description|
|Modifier and Type||Method and Description|
Processes a set of annotation types on type elements originating from the prior round and returns whether or not these annotations are claimed by this processor.
getCompletions, getSupportedAnnotationTypes, getSupportedOptions, getSupportedSourceVersion, init, isInitialized
public void setWriter(Writer w)
public boolean process(Set<? extends TypeElement> tes, RoundEnvironment renv)
trueis returned, the annotations are claimed and subsequent processors will not be asked to process them; if
falseis returned, the annotations are unclaimed and subsequent processors may be asked to process them. A processor may always return the same boolean value or may vary the result based on chosen criteria.
The input set will be empty if the processor supports
"*" and the root elements have no annotations. A
Processor must gracefully handle an empty set of annotations.
tes- the annotation types requested to be processed
renv- environment for information about the current and prior round
Copyright © 2015–2017 Fiji. All rights reserved.