abstract class CLMemberInfo extends Object
Modifier and Type | Field and Description |
---|---|
int |
accessFlags
member_info.access_flags item.
|
ArrayList<CLAttributeInfo> |
attributes
member_info.attributes item.
|
int |
attributesCount
member_info.attributes_count item.
|
int |
descriptorIndex
member_info.descriptor_index item.
|
int |
nameIndex
member_info.name_index item.
|
Modifier | Constructor and Description |
---|---|
protected |
CLMemberInfo(int accessFlags,
int nameIndex,
int descriptorIndex,
int attributesCount,
ArrayList<CLAttributeInfo> attributes)
Construct a CLMemberInfo object.
|
Modifier and Type | Method and Description |
---|---|
void |
write(CLOutputStream out)
Write the contents of this class member to the specified output stream.
|
void |
writeToStdOut(PrettyPrinter p)
Write the contents of this class member to STDOUT in a format similar to
that of javap.
|
public int accessFlags
public int nameIndex
public int descriptorIndex
public int attributesCount
public ArrayList<CLAttributeInfo> attributes
protected CLMemberInfo(int accessFlags, int nameIndex, int descriptorIndex, int attributesCount, ArrayList<CLAttributeInfo> attributes)
accessFlags
- member_info.access_flags item.nameIndex
- member_info.name_index item.descriptorIndex
- member_info.descriptor_index item.attributesCount
- member_info.attributes_count item.attributes
- member_info.attributes item.public void write(CLOutputStream out) throws IOException
out
- output stream.IOException
public void writeToStdOut(PrettyPrinter p)
p
- for pretty printing.