Top Description Packages
OpenJDK 1.23

Module java.compiler

Requires
java.base

Defines the Language Model, Annotation Processing, and Java Compiler APIs.

These APIs model declarations and types of the Java programming language, and define interfaces for tools such as compilers which can be invoked from a program.

This module is upgradeable.

Since
9
Used Services
DocumentationTool, JavaCompiler

Package Summary

Modifier and TypePackage and Description
exported package
javax.annotation.processing

Facilities for declaring annotation processors and for allowing annotation processors to communicate with an annotation processing tool environment.

exported package
javax.lang.model

Types and hierarchies of packages comprising a Java language model, a reflective API that models the declarations and types of the Java programming language.

exported package
javax.lang.model.element

Interfaces used to model elements of the Java programming language.

exported package
javax.lang.model.type

Interfaces used to model Java programming language types.

exported package
javax.lang.model.util

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

exported package
javax.tools

Provides interfaces for tools which can be invoked from a program, for example, compilers.