class CLMethodInfo extends CLMemberInfo
accessFlags, attributes, attributesCount, descriptorIndex, nameIndex
Constructor and Description |
---|
CLMethodInfo(int accessFlags,
int nameIndex,
int descriptorIndex,
int attributesCount,
ArrayList<CLAttributeInfo> attributes)
Construct a CLMethodInfo object.
|
Modifier and Type | Method and Description |
---|---|
void |
writeToStdOut(PrettyPrinter p)
Write the contents of this class member to STDOUT in a format similar to
that of javap.
|
write
public CLMethodInfo(int accessFlags, int nameIndex, int descriptorIndex, int attributesCount, ArrayList<CLAttributeInfo> attributes)
accessFlags
- method_info.access_flags item.nameIndex
- method_info.name_index item.descriptorIndex
- method_info.descriptor_index item.attributesCount
- method_info.attributes_count item.attributes
- method_info.attributes item.public void writeToStdOut(PrettyPrinter p)
CLMemberInfo
writeToStdOut
in class CLMemberInfo
p
- for pretty printing.