|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface InnerClassesTableEntry
Class representing an Inner Classes instance's table entry.
Method Summary | |
---|---|
java.lang.Object |
clone()
|
void |
fromStream(java.io.DataInputStream dis)
Populates the current InnerClassesTableEntry instance with the given
DataInputStream . |
InnerClassesAttribute |
getAttributeContainer()
Get the attribute containing the InnerClassesTableEntry |
int |
getInnerClassAccessFlags()
Returns the access flags set via the setInnerClassAccessFlags method. |
int |
getInnerClassInfoIndex()
The value of the inner_class_info_index item must be zero or a valid index into the constant_pool table. |
int |
getInnerNameIndex()
If the inner class is anonymous, the value of the inner_name_index item must be zero. |
int |
getOuterClassInfoIndex()
If the inner class is not a member, the value of the outer_class_info_index item must be zero. |
void |
setAttributeContainer(InnerClassesAttribute attr)
Set the attribute containing the InnerClassesTableEntry |
void |
setInnerClassAccesFlags(int accessFlags)
The value of the inner_class_access_flags item is a mask of flags used to denote access permissions to and properties of class or interface as declared in the source code from which this class file was compiled. |
void |
setInnerClassInfoIndex(int innClassInfoIndex)
The value of the inner_class_info_index item must be zero or a valid index into the constant_pool table. |
void |
setInnerNameIndex(int innNameIndex)
If the inner class is anonymous, the value of the inner_name_index item must be zero. |
void |
setOuterClassInfoIndex(int outClassInfoIndex)
If the inner class is not a member, the value of the outer_class_info_index item must be zero. |
void |
toStream(java.io.DataOutputStream dos)
Serializes the current InnerClassesTableEntry to the given
DataOutputStream . |
void |
updateRefs(int offset)
Updates all the references to constant pool table entries by the given offset. |
void |
validate()
Perform validation over the InnerClassesTableEntry |
Methods inherited from interface jef.dna.util.BytesCountable |
---|
getBytesCount |
Method Detail |
---|
void setInnerClassInfoIndex(int innClassInfoIndex)
innClassInfoIndex
- A valid index into the constant pool tableint getInnerClassInfoIndex()
void setOuterClassInfoIndex(int outClassInfoIndex)
outClassInfoIndex
- A valid index into the constant pool tableint getOuterClassInfoIndex()
void setInnerNameIndex(int innNameIndex)
innNameIndex
- A valid index into the constant pool tableint getInnerNameIndex()
void setInnerClassAccesFlags(int accessFlags)
accessFlags
- A bit mask denoting the which access modifiers are applied to the given classint getInnerClassAccessFlags()
setInnerClassAccessFlags
method.
void setAttributeContainer(InnerClassesAttribute attr)
InnerClassesTableEntry
attr
- The instance containing the current InnerClassesTableEntry
InnerClassesAttribute getAttributeContainer()
InnerClassesTableEntry
InnerClassesTableEntry
void fromStream(java.io.DataInputStream dis) throws java.io.IOException
InnerClassesTableEntry
instance with the given
DataInputStream
.
dis
- The stream from which the current instance has to be populated
java.io.IOException
- Something went wrong with the provided input streamvoid toStream(java.io.DataOutputStream dos) throws java.io.IOException
InnerClassesTableEntry
to the given
DataOutputStream
.
dos
- The stream over which the current instance has to be serialized
java.io.IOException
- Something went wrong with the provided output streamvoid updateRefs(int offset)
offset
- The offset to be usedvoid validate() throws MissingAttributeContainerException, MissingDnaContainerException, MissingCPTableException, InnerClassesTableEntryValidationException
InnerClassesTableEntry
MissingAttributeContainerException
MissingDnaContainerException
MissingDnaContainerException
InnerClassesTableEntryValidationException
MissingCPTableException
java.lang.Object clone() throws java.lang.CloneNotSupportedException
java.lang.CloneNotSupportedException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |