public class ClassArrayAttr extends Object
JEP 181 (Nest-based Access Control): class file 55.0 NestMembers_attribute { u2 attribute_name_index; u4 attribute_length; u2 number_of_classes; u2 classes[number_of_classes]; }
JEP 360 (Sealed types): class file 59.65535 PermittedSubclasses_attribute { u2 attribute_name_index; u4 attribute_length; u2 number_of_classes; u2 classes[number_of_classes]; }
Constructor and Description |
---|
ClassArrayAttr(String attributeName,
org.openjdk.asmtools.jasm.ClassData cdata,
List<ConstantPool.ConstCell> classes) |
Modifier and Type | Method and Description |
---|---|
int |
attrLength() |
protected org.openjdk.asmtools.jasm.ClassData |
getClassData() |
int |
getLength() |
default String |
tabString(int tabLevel) |
void |
write(CheckedDataOutputStream out) |
public ClassArrayAttr(String attributeName, org.openjdk.asmtools.jasm.ClassData cdata, List<ConstantPool.ConstCell> classes)
public int attrLength()
public void write(CheckedDataOutputStream out) throws IOException
IOException
protected org.openjdk.asmtools.jasm.ClassData getClassData()
public int getLength()
public String tabString(int tabLevel)
Copyright © 2021. All Rights Reserved.