javax.lang.model.util (Java Platform SE 8 )
Keywords: javax.lang.model.util package
Date: 2026-01-21

compact3

# Package javax.lang.model.util

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

See: Description

- Interface Summary
  Interface | Description
  --- | ---
  Elements | Utility methods for operating on program elements.
  Types | Utility methods for operating on types.

- Class Summary
  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.
  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.
  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.
  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.
  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.
  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.
  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.
  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_7` source version.
  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.

## Package javax.lang.model.util Description

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

Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2026, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.