Module java.base
Package java.lang.classfile.attribute

# Interface MethodParametersAttribute

≠
public abstract sealed interface MethodParametersAttribute
extends java.lang.classfile.Attribute<java.lang.classfile.attribute.MethodParametersAttribute>, java.lang.classfile.MethodElement
permits jdk.internal.classfile.impl.BoundAttribute.BoundMethodParametersAttribute, jdk.internal.classfile.impl.UnboundAttribute.UnboundMethodParametersAttribute
Comparing jdk-master and valhalla-csr-open

All Superinterfaces:
  `AttributePREVIEW <MethodParametersAttribute>, ClassFileElement, MethodElement`

public sealed interface MethodParametersAttribute extends AttributePREVIEW <MethodParametersAttribute>, MethodElement
Models the `MethodParameters` attribute (JVMS §4.7.24), which records reflective information about this method's parameters such as access modifiers.

This attribute only appears on methods, and does not permit multiple instances in a method. It has a data dependency on the constant pool.

The attribute was introduced in the Java SE Platform version 8, major version 52.

See Java Virtual Machine Specification:
  4.7.24 The `MethodParameters` Attribute
Since:
  24
See Also:
  - `Attributes.methodParameters()`
  - `Executable.getParameters()`

## Methods

- =
  public static java.lang.classfile.attribute.MethodParametersAttribute of(java.lang.classfile.attribute.MethodParameterInfo[] arg0)
- =
  public static java.lang.classfile.attribute.MethodParametersAttribute of(java.util.List<java.lang.classfile.attribute.MethodParameterInfo> arg0)
- =
  public abstract java.util.List<java.lang.classfile.attribute.MethodParameterInfo> parameters()

## Summary

Differences
| Elements | Comments | Descriptions | Total
Added | Changed | Removed | Added | Changed | Removed | Added | Changed | Removed
--- | --- | --- | --- | --- | --- | --- | --- | ---
MethodParametersAttribute |  |  |  |  |  |  | 2 |  |  | 2
Total |  |  |  |  |  |  | 2 |  |  | 2