This language model follows a mirror-based design; see
Gilad Bracha and David Ungar. Mirrors: Design Principles for Meta-level Facilities of Object-Oriented Programming Languages. In Proc. of the ACM Conf. on Object-Oriented Programming, Systems, Languages and Applications, October 2004.In particular, the model makes a distinction between declared language constructs, like the element representing
java.util.Set
, and the family of types that may be associated with an element, like the raw type java.util.Set
,
java.util.Set<String>
, and java.util.Set<T>
. Unless otherwise specified, methods in this package will throw a NullPointerException
if given a null
argument.
Class | Description |
---|---|
AnnotatedConstruct | Represents a construct that can be annotated. |
SourceVersion | Source versions of the Java programming language. |
UnknownEntityException | Superclass of exceptions which indicate that an unknown kind of entity was encountered. |
© 1993, 2023, Oracle and/or its affiliates. All rights reserved.
Documentation extracted from Debian's OpenJDK Development Kit package.
Licensed under the GNU General Public License, version 2, with the Classpath Exception.
Various third party code in OpenJDK is licensed under different licenses (see Debian package).
Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
https://docs.oracle.com/en/java/javase/21/docs/api/java.compiler/javax/lang/model/package-summary.html