Package javax.lang.model.util

Utilities to assist in the processing of program elements and types.

Unless otherwise specified in a particular implementation, the collections returned by methods in this package should be expected to be unmodifiable by the caller and unsafe for concurrent access.

Unless otherwise specified, methods in this package will throw a NullPointerException if given a null argument.

Since:
1.6
Interface Description
Elements

Utility methods for operating on program elements.

Types

Utility methods for operating on types.

Class Description
AbstractAnnotationValueVisitor6<R,​P>

A skeletal visitor for annotation values with default behavior appropriate for the RELEASE_6 source version.

AbstractAnnotationValueVisitor7<R,​P>

A skeletal visitor for annotation values with default behavior appropriate for the RELEASE_7 source version.

AbstractAnnotationValueVisitor8<R,​P>

A skeletal visitor for annotation values with default behavior appropriate for the RELEASE_8 source version.

AbstractAnnotationValueVisitor9<R,​P>

A skeletal visitor for annotation values with default behavior appropriate for source versions RELEASE_9 through RELEASE_11.

AbstractElementVisitor6<R,​P>

A skeletal visitor of program elements with default behavior appropriate for the RELEASE_6 source version.

AbstractElementVisitor7<R,​P>

A skeletal visitor of program elements with default behavior appropriate for the RELEASE_7 source version.

AbstractElementVisitor8<R,​P>

A skeletal visitor of program elements with default behavior appropriate for the RELEASE_8 source version.

AbstractElementVisitor9<R,​P>

A skeletal visitor of program elements with default behavior appropriate for source versions RELEASE_9 through RELEASE_11.

AbstractTypeVisitor6<R,​P>

A skeletal visitor of types with default behavior appropriate for the RELEASE_6 source version.

AbstractTypeVisitor7<R,​P>

A skeletal visitor of types with default behavior appropriate for the RELEASE_7 source version.

AbstractTypeVisitor8<R,​P>

A skeletal visitor of types with default behavior appropriate for the RELEASE_8 source version.

AbstractTypeVisitor9<R,​P>

A skeletal visitor of types with default behavior appropriate for source versions RELEASE_9 through RELEASE_11.

ElementFilter

Filters for selecting just the elements of interest from a collection of elements.

ElementKindVisitor6<R,​P>

A visitor of program elements based on their kind with default behavior appropriate for the RELEASE_6 source version.

ElementKindVisitor7<R,​P>

A visitor of program elements based on their kind with default behavior appropriate for the RELEASE_7 source version.

ElementKindVisitor8<R,​P>

A visitor of program elements based on their kind with default behavior appropriate for the RELEASE_8 source version.

ElementKindVisitor9<R,​P>

A visitor of program elements based on their kind with default behavior appropriate for source versions RELEASE_9 through RELEASE_11.

ElementScanner6<R,​P>

A scanning visitor of program elements with default behavior appropriate for the RELEASE_6 source version.

ElementScanner7<R,​P>

A scanning visitor of program elements with default behavior appropriate for the RELEASE_7 source version.

ElementScanner8<R,​P>

A scanning visitor of program elements with default behavior appropriate for the RELEASE_8 source version.

ElementScanner9<R,​P>

A scanning visitor of program elements with default behavior appropriate for source versions RELEASE_9 through RELEASE_11.

SimpleAnnotationValueVisitor6<R,​P>

A simple visitor for annotation values with default behavior appropriate for the RELEASE_6 source version.

SimpleAnnotationValueVisitor7<R,​P>

A simple visitor for annotation values with default behavior appropriate for the RELEASE_7 source version.

SimpleAnnotationValueVisitor8<R,​P>

A simple visitor for annotation values with default behavior appropriate for the RELEASE_8 source version.

SimpleAnnotationValueVisitor9<R,​P>

A simple visitor for annotation values with default behavior appropriate for source versions RELEASE_9 through RELEASE_11.

SimpleElementVisitor6<R,​P>

A simple visitor of program elements with default behavior appropriate for the RELEASE_6 source version.

SimpleElementVisitor7<R,​P>

A simple visitor of program elements with default behavior appropriate for the RELEASE_7 source version.

SimpleElementVisitor8<R,​P>

A simple visitor of program elements with default behavior appropriate for the RELEASE_8 source version.

SimpleElementVisitor9<R,​P>

A simple visitor of program elements with default behavior appropriate for source versions RELEASE_9 through RELEASE_11.

SimpleTypeVisitor6<R,​P>

A simple visitor of types with default behavior appropriate for the RELEASE_6 source version.

SimpleTypeVisitor7<R,​P>

A simple visitor of types with default behavior appropriate for the RELEASE_7 source version.

SimpleTypeVisitor8<R,​P>

A simple visitor of types with default behavior appropriate for the RELEASE_8 source version.

SimpleTypeVisitor9<R,​P>

A simple visitor of types with default behavior appropriate for source versions RELEASE_9 through RELEASE_11.

TypeKindVisitor6<R,​P>

A visitor of types based on their kind with default behavior appropriate for the RELEASE_6 source version.

TypeKindVisitor7<R,​P>

A visitor of types based on their kind with default behavior appropriate for the RELEASE_7 source version.

TypeKindVisitor8<R,​P>

A visitor of types based on their kind with default behavior appropriate for the RELEASE_8 source version.

TypeKindVisitor9<R,​P>

A visitor of types based on their kind with default behavior appropriate for source versions RELEASE_9 through RELEASE_11.

Enum Description
Elements.Origin

The origin of an element or other language model item.

© 1993, 2020, Oracle and/or its affiliates. All rights reserved.
Documentation extracted from Debian's OpenJDK Development Kit package.
Licensed under the GNU General Public License, version 2, with the Classpath Exception.
Various third party code in OpenJDK is licensed under different licenses (see Debian package).
Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
https://docs.oracle.com/en/java/javase/11/docs/api/java.compiler/javax/lang/model/util/package-summary.html