Represents a construct that can be annotated.
Source versions of the Java™ programming language.
Superclass of exceptions which indicate that an unknown kind of entity was encountered.
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 static 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
Unless otherwise specified, methods in this package will throw
NullPointerException if given a
Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2023, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.