InnerClassesAttribute.
InnerClasses Attribute
InnerClassesAttribute#classes()
| Modifier and Type | Method and Description |
|---|---|
| public default Set | Returns: a set of flag enums denoting access permissions and properties of the nested classReturns a set of flag enums denoting access permissions and properties of the nested class. |
| public int | Returns: a bit mask of flags denoting access permissions and properties of the inner classReturns a bit mask of flags denoting access permissions and properties of the inner class. |
| public default boolean | Returns: whether a specific access flag is setthe access flag flag)Returns whether a specific access flag is set. |
| public ClassEntry | Returns: the nested class described by this entryReturns the nested class described by this entry. |
| public Optional | Returns: the simple name of this class, or empty if this class is anonymousReturns the simple name of this class, or empty if this class is anonymous. |
| public static InnerClassInfo | Returns: a nested class descriptionthe nested class being described innerClass, Optional<ClassEntry> the class that has the nested class as a member, if it exists outerClass, Optional<Utf8Entry> the simple name of the nested class, if it is not anonymous innerName, int the inner class access flags flags)Returns a nested class description. |
| public static InnerClassInfo | Returns: a nested class descriptionthe nested class being described innerClass, Optional<ClassDesc> the class that has the nested class as a member, if it exists outerClass, Optional<String> the simple name of the nested class, if it is not anonymous innerName, int the inner class access flags flags)Returns a nested class description. |
| public static InnerClassInfo | Returns: a nested class descriptionthe nested class being described innerClass, Optional<ClassDesc> the class that has the nested class as a member, if it exists outerClass, Optional<String> the name of the nested class, if it is not anonymous innerName, AccessFlag... the inner class access flags flags)Returns a nested class description. |
| public Optional | Returns: the class or interface of which this class is a member, if it is a member of a class or interfaceReturns the class or interface of which this class is a member, if it is a member of a class or interface. |
| flags | back to summary |
|---|---|
| public default Set Returns a set of flag enums denoting access permissions and properties of the nested class.
| |
| flagsMask | back to summary |
|---|---|
| public int flagsMask() Returns a bit mask of flags denoting access permissions and properties
of the inner class. It is a
| |
| has | back to summary |
|---|---|
| public default boolean has(AccessFlag flag) Returns whether a specific access flag is set.
| |
| innerClass | back to summary |
|---|---|
| public ClassEntry innerClass() Returns the nested class described by this entry.
| |
| innerName | back to summary |
|---|---|
| public Optional Returns the simple name of this class, or empty if this class is anonymous.
| |
| of | back to summary |
|---|---|
| public static InnerClassInfo of(ClassEntry innerClass, Optional<ClassEntry> outerClass, Optional<Utf8Entry> innerName, int flags) Returns a nested class description.
| |
| of | back to summary |
|---|---|
| public static InnerClassInfo of(ClassDesc innerClass, Optional<ClassDesc> outerClass, Optional<String> innerName, int flags) Returns a nested class description.
| |
| of | back to summary |
|---|---|
| public static InnerClassInfo of(ClassDesc innerClass, Optional<ClassDesc> outerClass, Optional<String> innerName, AccessFlag... flags) Returns a nested class description.
| |
| outerClass | back to summary |
|---|---|
| public Optional Returns the class or interface of which this class is a member, if it is a member of a class or interface. This may be empty if this class is local or anonymous.
| |