Interface IPermittedSubclassesAttribute
- All Superinterfaces:
IClassFileAttribute
- All Known Implementing Classes:
PermittedSubclassesAttribute
Description of permitted subclasses attribute as described in the JVM
specifications.
- Since:
- 3.24
-
Method Summary
Modifier and TypeMethodDescriptionintAnswer back the number of permitted subclasses as specified in the JVM specifications.Answer back the array of permitted subclass attribute entries as specified in the JVM specifications, or an empty array if none.Methods inherited from interface IClassFileAttribute
getAttributeLength, getAttributeName, getAttributeNameIndexModifier and TypeMethodDescriptionlongAnswer back the attribute length as specified in the JVM specifications.char[]Answer back the attribute name as specified in the JVM specifications.intAnswer back the attribute name index in the constant pool as specified in the JVM specifications.
-
Method Details
-
getNumberOfPermittedSubclasses
int getNumberOfPermittedSubclasses()Answer back the number of permitted subclasses as specified in the JVM specifications.- Returns:
- the number of permitted subclasses as specified in the JVM specifications
-
getPermittedSubclassAttributesEntries
IPermittedSubclassesAttributeEntry[] getPermittedSubclassAttributesEntries()Answer back the array of permitted subclass attribute entries as specified in the JVM specifications, or an empty array if none.- Returns:
- the array of permitted subclass attribute entries as specified in the JVM specifications, or an empty array if none
-