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.