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

# Interface InnerClassesAttribute

≠
public abstract sealed interface InnerClassesAttribute
extends java.lang.classfile.Attribute<java.lang.classfile.attribute.InnerClassesAttribute>, java.lang.classfile.ClassElement
permits jdk.internal.classfile.impl.BoundAttribute.BoundInnerClassesAttribute, jdk.internal.classfile.impl.UnboundAttribute.UnboundInnerClassesAttribute
Comparing jdk-master and valhalla-csr-open

All Superinterfaces:
  `AttributePREVIEW <InnerClassesAttribute>, ClassElementPREVIEW , ClassFileElement`

public sealed interface InnerClassesAttribute extends AttributePREVIEW <InnerClassesAttribute>, ClassElementPREVIEW
Models the `InnerClasses` attribute (JVMS §4.7.6), which records which classes referenced by this `class` file are nested classes.

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

The attribute was introduced in the Java SE Platform version 1.1, major version 45.

See Java Virtual Machine Specification:
  4.7.6 The `InnerClasses` Attribute
Since:
  24
See Also:
  - `Attributes.innerClasses()`

## Methods

- =
  public abstract java.util.List<java.lang.classfile.attribute.InnerClassInfo> classes()
- =
  public static java.lang.classfile.attribute.InnerClassesAttribute of(java.lang.classfile.attribute.InnerClassInfo[] arg0)
- =
  public static java.lang.classfile.attribute.InnerClassesAttribute of(java.util.List<java.lang.classfile.attribute.InnerClassInfo> arg0)

## Summary

Differences
| Elements | Comments | Descriptions | Total
Added | Changed | Removed | Added | Changed | Removed | Added | Changed | Removed
--- | --- | --- | --- | --- | --- | --- | --- | ---
InnerClassesAttribute |  |  |  |  |  |  | 4 |  |  | 4
Total |  |  |  |  |  |  | 4 |  |  | 4