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:
- The AnnotatedConstruct interface
- The SourceVersion enum
- The UnknownEntityException exception
Each of these language model API components is further explored in the following three sections.