Java Language Specification 24 / Chapter 15
- Chapter 15. Expressions
- §15.1 . Evaluation, Denotation, and Result
- §15.10 . Array Creation and Access Expressions
- §15.10.1 . Array Creation Expressions
- §15.10.2 . Run-Time Evaluation of Array Creation Expressions
- §15.10.3 . Array Access Expressions
- §15.10.4 . Run-Time Evaluation of Array Access Expressions
- §15.11 . Field Access Expressions
- §15.11.1 . Field Access Using a Primary
- §15.11.2 . Accessing Superclass Members using super
- §15.12 . Method Invocation Expressions
- §15.12.1 . Compile-Time Step 1: Determine Type to Search
- §15.12.2 . Compile-Time Step 2: Determine Method Signature
- §15.12.2.1 . Identify Potentially Applicable Methods
- §15.12.2.2 . Phase 1: Identify Matching Arity Methods Applicable by Strict Invocation
- §15.12.2.3 . Phase 2: Identify Matching Arity Methods Applicable by Loose Invocation
- §15.12.2.4 . Phase 3: Identify Methods Applicable by Variable Arity Invocation
- §15.12.2.5 . Choosing the Most Specific Method
- §15.12.2.6 . Method Invocation Type
- §15.12.3 . Compile-Time Step 3: Is the Chosen Method Appropriate?
- §15.12.4 . Run-Time Evaluation of Method Invocation
- §15.12.4.1 . Compute Target Reference (If Necessary)
- §15.12.4.2 . Evaluate Arguments
- §15.12.4.3 . Check Accessibility of Type and Method
- §15.12.4.4 . Locate Method to Invoke
- §15.12.4.5 . Create Frame, Synchronize, Transfer Control
- §15.13 . Method Reference Expressions
- §15.13.1 . Compile-Time Declaration of a Method Reference
- §15.13.2 . Type of a Method Reference
- §15.13.3 . Run-Time Evaluation of Method References
- §15.14 . Postfix Expressions
- §15.14.1 . Expression Names
- §15.14.2 . Postfix Increment Operator ++
- §15.14.3 . Postfix Decrement Operator --
- §15.15 . Unary Operators
- §15.15.1 . Prefix Increment Operator ++
- §15.15.2 . Prefix Decrement Operator --
- §15.15.3 . Unary Plus Operator +
- §15.15.4 . Unary Minus Operator -
- §15.15.5 . Bitwise Complement Operator ~
- §15.15.6 . Logical Complement Operator !
- §15.16 . Cast Expressions
- §15.17 . Multiplicative Operators
- §15.17.1 . Multiplication Operator *
- §15.17.2 . Division Operator /
- §15.17.3 . Remainder Operator %
- §15.18 . Additive Operators
- §15.18.1 . String Concatenation Operator +
- §15.18.2 . Additive Operators (+ and -) for Numeric Types
- §15.19 . Shift Operators
- §15.2 . Forms of Expressions
- §15.20 . Relational Operators
- §15.20.1 . Numerical Comparison Operators <, <=, >, and >=
- §15.20.2 . The instanceof Operator
- §15.21 . Equality Operators
- §15.21.1 . Numerical Equality Operators == and !=
- §15.21.2 . Boolean Equality Operators == and !=
- §15.21.3 . Reference Equality Operators == and !=
- §15.22 . Bitwise and Logical Operators
- §15.22.1 . Integer Bitwise Operators &, ^, and |
- §15.22.2 . Boolean Logical Operators &, ^, and |
- §15.23 . Conditional-And Operator &&
- §15.24 . Conditional-Or Operator ||
- §15.25 . Conditional Operator ? :
- §15.25.1 . Boolean Conditional Expressions
- §15.25.2 . Numeric Conditional Expressions
- §15.25.3 . Reference Conditional Expressions
- §15.26 . Assignment Operators
- §15.26.1 . Simple Assignment Operator =
- §15.26.2 . Compound Assignment Operators
- §15.27 . Lambda Expressions
- §15.27.1 . Lambda Parameters
- §15.27.2 . Lambda Body
- §15.27.3 . Type of a Lambda Expression
- §15.27.4 . Run-Time Evaluation of Lambda Expressions
- §15.28 . switch Expressions
- §15.28.1 . The Switch Block of a switch Expression
- §15.28.2 . Run-Time Evaluation of switch Expressions
- §15.29 . Constant Expressions
- §15.3 . Type of an Expression
- §15.4 . Floating-point Expressions
- §15.5 . Expressions and Run-Time Checks
- §15.6 . Normal and Abrupt Completion of Evaluation
- §15.7 . Evaluation Order
- §15.7.1 . Evaluate Left-Hand Operand First
- §15.7.2 . Evaluate Operands before Operation
- §15.7.3 . Evaluation Respects Parentheses and Precedence
- §15.7.4 . Argument Lists are Evaluated Left-to-Right
- §15.7.5 . Evaluation Order for Other Expressions
- §15.8 . Primary Expressions
- §15.8.1 . Lexical Literals
- §15.8.2 . Class Literals
- §15.8.3 . this
- §15.8.4 . Qualified this
- §15.8.5 . Parenthesized Expressions
- §15.9 . Class Instance Creation Expressions
- §15.9.1 . Determining the Class being Instantiated
- §15.9.2 . Determining Enclosing Instances
- §15.9.3 . Choosing the Constructor and its Arguments
- §15.9.4 . Run-Time Evaluation of Class Instance Creation Expressions
- §15.9.5 . Anonymous Class Declarations
- §15.9.5.1 . Anonymous Constructors