---
spec: JLS
title: "The Java Language Specification"
edition: "Java SE 19 Edition"
java_version: 19
chapter: "Chapter 15. Expressions"
section: "15.12.4"
heading: "15.12.4. Run-Time Evaluation of Method Invocation"
parent: "15.12. Method Invocation Expressions"
source: https://docs.oracle.com/javase/specs/jls/se19/html/jls-15.html#jls-15.12.4
id: "15.12.4"
url: https://jvm.obfuscated.software/jls/se19/15.12.4.html
raw: https://jvm.obfuscated.software/jls/se19/15.12.4.md
---

# 15.12.4. Run-Time Evaluation of Method Invocation

At run time, method invocation requires five steps. First, a *target reference* may be computed. Second, the argument expressions are evaluated. Third, the accessibility of the method to be invoked is checked. Fourth, the actual code for the method to be executed is located. Fifth, a new activation frame is created, synchronization is performed if necessary, and control is transferred to the method code.

**Sections:**

- [15.12.4.1. Compute Target Reference (If Necessary)](15.12.4.1.md)
- [15.12.4.2. Evaluate Arguments](15.12.4.2.md)
- [15.12.4.3. Check Accessibility of Type and Method](15.12.4.3.md)
- [15.12.4.4. Locate Method to Invoke](15.12.4.4.md)
- [15.12.4.5. Create Frame, Synchronize, Transfer Control](15.12.4.5.md)
