Package jminusminus
Class CLMemberInfo
java.lang.Object
jminusminus.CLMemberInfo
- Direct Known Subclasses:
CLFieldInfo
,CLMethodInfo
This abstract base class represents the member_info structure.
-
Field Summary
Modifier and TypeFieldDescriptionint
member_info.access_flags item.member_info.attributes item.int
member_info.attributes_count item.int
member_info.descriptor_index item.int
member_info.name_index item. -
Constructor Summary
ModifierConstructorDescriptionprotected
CLMemberInfo
(int accessFlags, int nameIndex, int descriptorIndex, int attributesCount, ArrayList<CLAttributeInfo> attributes) Constructs a CLMemberInfo object. -
Method Summary
Modifier and TypeMethodDescriptionvoid
write
(CLOutputStream out) Writes the contents of this class member to the specified output stream.
-
Field Details
-
accessFlags
public int accessFlagsmember_info.access_flags item. -
nameIndex
public int nameIndexmember_info.name_index item. -
descriptorIndex
public int descriptorIndexmember_info.descriptor_index item. -
attributesCount
public int attributesCountmember_info.attributes_count item. -
attributes
member_info.attributes item.
-
-
Constructor Details
-
CLMemberInfo
protected CLMemberInfo(int accessFlags, int nameIndex, int descriptorIndex, int attributesCount, ArrayList<CLAttributeInfo> attributes) Constructs a CLMemberInfo object.- Parameters:
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.
-
-
Method Details
-
write
Writes the contents of this class member to the specified output stream.- Parameters:
out
- output stream.- Throws:
IOException
- if the contents of this class member can't be written to the specified output stream.
-