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.
InnerClasses Attribute
Attributes#innerClasses()
| Modifier and Type | Method and Description |
|---|---|
| public List | Returns: the nested classes used by thisclass fileReturns the nested classes used by this |
| public static InnerClassesAttribute | Returns: anInnerClasses attributedescriptions of the nested classes innerClasses)Returns an |
| public static InnerClassesAttribute | Returns: anInnerClasses attributedescriptions of the nested classes innerClasses)Returns an |
| classes | back to summary |
|---|---|
| public List Returns the nested classes used by this
| |
| of | back to summary |
|---|---|
| public static InnerClassesAttribute of(List<InnerClassInfo> innerClasses) Returns an
| |
| of | back to summary |
|---|---|
| public static InnerClassesAttribute of(InnerClassInfo... innerClasses) Returns an
| |