---
spec: JVMS
title: "The Java Virtual Machine Specification"
edition: "Java SE 19 Edition"
java_version: 19
chapter: "Chapter 4. The class File Format"
section: "4.4.9"
heading: "4.4.9. The CONSTANT_MethodType_info Structure"
parent: "4.4. The Constant Pool"
source: https://docs.oracle.com/javase/specs/jvms/se19/html/jvms-4.html#jvms-4.4.9
id: "4.4.9"
url: https://jvm.obfuscated.software/jvms/se19/4.4.9.html
raw: https://jvm.obfuscated.software/jvms/se19/4.4.9.md
---

# 4.4.9. The `CONSTANT_MethodType_info` Structure

The `CONSTANT_MethodType_info` structure is used to represent a method type:

```
CONSTANT_MethodType_info {
    u1 tag;
    u2 descriptor_index;
}
```

The items of the `CONSTANT_MethodType_info` structure are as follows:

- **tag**

  The `tag` item has the value `CONSTANT_MethodType` (16).

- **descriptor_index**

  The value of the `descriptor_index` item must be a valid index into the `constant_pool` table. The `constant_pool` entry at that index must be a `CONSTANT_Utf8_info` structure ([§4.4.7](4.4.7.md)) representing a method descriptor ([§4.3.3](4.3.3.md)).
