Throughout this specification, we refer to classes and interfaces drawn from the Java SE Platform API. Whenever we refer to a class or interface (other than those declared in an example) using a single identifier N, the intended reference is to the class or interface named N in the package java.lang. We use the canonical name (§6.7) for classes or interfaces from packages other than java.lang.
A cross-reference within this specification is shown as (§x.y). Occasionally, we refer to concepts in the The Java Virtual Machine Specification, Java SE 22 Edition via cross-references of the form (JVMS §x.y).
Non-normative text, designed to clarify the normative text of this specification, is given in smaller, indented text.
This is non-normative text. It provides intuition, rationale, advice, examples, etc.
To shorten the description of some rules, especially those that systematically analyze the constructs of the Java programming language, the customary abbreviation "iff" is used to mean "if and only if".
The type system of the Java programming language occasionally relies on the notion of a substitution. The notation [F_1:=T_1,...,F_n:=T_n] denotes substitution of F_i by T_i for 1 ≤ i ≤ n.