Language model API

The language model API is in the java.lang.model package. It includes packages and classes that are used for language processing and language modeling. It consists of the following components:

  • AnnotatedConstruct interface
  • SourceVersion enum
  • UnknownEntityException exception

Each of these language model API components is further explored in the next three sections.

Get Java 9: Building Robust Modular Applications now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.