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 |
|---|---|
| public static class | PrintingProcessor.
Used for the -Xprint option and called by Elements.printElements |
| Modifier and Type | Field and Description |
|---|---|
| pack-priv PrintWriter |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| pack-priv void | |
| public boolean | process(Set<? extends TypeElement> tes, RoundEnvironment renv)
Implements abstract javax. Implements javax. Processes a set of annotation interfaces on root elements originating from the prior round and returns whether or not these annotation interfaces are claimed by this processor. |
| public void |
| writer | back to summary |
|---|---|
| pack-priv PrintWriter writer | |
| PrintingProcessor | back to summary |
|---|---|
| public PrintingProcessor() | |
| back to summary | |
|---|---|
| pack-priv void print(Element element) | |
| process | back to summary |
|---|---|
| public boolean process(Set<? extends TypeElement> tes, RoundEnvironment renv) Implements abstract javax. Implements javax. Doc from javax. Processes a set of annotation interfaces on root elements originating
from the prior round and returns whether or not these
annotation interfaces are claimed by this processor. If The input set will be empty if the processor supports
| |
| setWriter | back to summary |
|---|---|
| public void setWriter(Writer w) | |
| Modifier and Type | Class and Description |
|---|---|
| private static class |
| Modifier and Type | Field and Description |
|---|---|
| pack-priv final Elements | |
| pack-priv int | |
| private static final String[] | |
| pack-priv final PrintWriter |
| Access | Constructor and Description |
|---|---|
| public |
| elementUtils | back to summary |
|---|---|
| pack-priv final Elements elementUtils | |
| indentation | back to summary |
|---|---|
| pack-priv int indentation | |
| spaces | back to summary |
|---|---|
| private static final String[] spaces | |
| writer | back to summary |
|---|---|
| pack-priv final PrintWriter writer | |
| PrintingElementVisitor | back to summary |
|---|---|
| public PrintingElementVisitor(Writer w, Elements elementUtils) | |
| annotationsToString | back to summary |
|---|---|
| private String annotationsToString(Element e) | |
| defaultAction | back to summary |
|---|---|
| protected PrintingProcessor. Overrides javax. Doc from javax. The default action for visit methods.
| |
| flush | back to summary |
|---|---|
| public void flush() | |
| indent | back to summary |
|---|---|
| private void indent() | |
| isImportantType | back to summary |
|---|---|
| private boolean isImportantType(TypeMirror type) Returns true if this type is either not
| |
| printAnnotations | back to summary |
|---|---|
| private void printAnnotations(Element e) | |
| printDirective | back to summary |
|---|---|
| private void printDirective(ModuleElement. | |
| printDocComment | back to summary |
|---|---|
| private void printDocComment(Element e) | |
| printedContainerAnnotation | back to summary |
|---|---|
| private boolean printedContainerAnnotation(Element e, AnnotationMirror annotationMirror) | |
| printFormalTypeParameters | back to summary |
|---|---|
| private void printFormalTypeParameters(Parameterizable e, boolean pad) | |
| printInterfaces | back to summary |
|---|---|
| private void printInterfaces(TypeElement e) | |
| printModifiers | back to summary |
|---|---|
| private void printModifiers(Element e) | |
| printParameters | back to summary |
|---|---|
| private void printParameters(ExecutableElement e) | |
| printPermittedSubclasses | back to summary |
|---|---|
| private void printPermittedSubclasses(TypeElement e) | |
| printThrows | back to summary |
|---|---|
| private void printThrows(ExecutableElement e) | |
| printTypeVariableBoundsIfNeeded | back to summary |
|---|---|
| private String printTypeVariableBoundsIfNeeded(TypeParameterElement tpe) | |
| visitExecutable | back to summary |
|---|---|
| public PrintingProcessor. Overrides javax. Implements javax. Doc from javax. Visits an executable element.
| |
| visitModule | back to summary |
|---|---|
| public PrintingProcessor. Overrides javax. Overrides default javax. Doc from javax. Visits a module element.
| |
| visitPackage | back to summary |
|---|---|
| public PrintingProcessor. Overrides javax. Implements javax. Doc from javax. Visits a package element.
| |
| visitRecordComponent | back to summary |
|---|---|
| public PrintingProcessor. Overrides javax. Overrides default javax. Doc from javax. Visits a record component element.
| |
| visitType | back to summary |
|---|---|
| public PrintingProcessor. Overrides javax. Implements javax. Doc from javax. Visits a type element.
| |
| visitTypeParameter | back to summary |
|---|---|
| public PrintingProcessor. Overrides javax. Implements javax. Doc from javax. Visits a type parameter element.
| |
| visitVariable | back to summary |
|---|---|
| public PrintingProcessor. Overrides javax. Implements javax. Doc from javax. Visits a variable element.
| |
| Modifier and Type | Field and Description |
|---|---|
| private final PrintWriter |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| private void | |
| private void | |
| public Void | visitExports(ModuleElement.
Implements javax. Visits an |
| public Void | visitOpens(ModuleElement.
Implements javax. Visits an |
| public Void | visitProvides(ModuleElement.
Implements javax. Visits a |
| public Void | visitRequires(ModuleElement.
Implements javax. Visits a |
| public Void | visitUses(ModuleElement.
Implements javax. Visits a |
| writer | back to summary |
|---|---|
| private final PrintWriter writer | |
| PrintDirective | back to summary |
|---|---|
| pack-priv PrintDirective(PrintWriter writer) | |
| printModuleList | back to summary |
|---|---|
| private void printModuleList(List<? extends ModuleElement> modules) | |
| printNameableList | back to summary |
|---|---|
| private void printNameableList(List<? extends QualifiedNameable> nameables) | |
| visitExports | back to summary |
|---|---|
| public Void visitExports(ModuleElement. Implements javax. Doc from javax. Visits an
| |
| visitOpens | back to summary |
|---|---|
| public Void visitOpens(ModuleElement. Implements javax. Doc from javax. Visits an
| |
| visitProvides | back to summary |
|---|---|
| public Void visitProvides(ModuleElement. Implements javax. Doc from javax. Visits a
| |
| visitRequires | back to summary |
|---|---|
| public Void visitRequires(ModuleElement. Implements javax. Doc from javax. Visits a
| |
| visitUses | back to summary |
|---|---|
| public Void visitUses(ModuleElement. Implements javax. Doc from javax. Visits a
| |