at.dms.classfile
Class InnerClassTable
java.lang.Object
|
+--at.dms.classfile.Attribute
|
+--at.dms.classfile.InnerClassTable
- public class InnerClassTable
- extends Attribute
Inner Classes Attribute: ICS.
This attribute declares the encoding of bytecode names of classes
or interfaces which are not package members. It contains an array of
records, one for each encoded name.
Method Summary |
(package private) InnerClassInfo[] |
getEntries()
Returns line number information |
(package private) int |
getSize()
Returns the space in bytes used by this attribute in the classfile |
(package private) int |
getTag()
Returns the attribute's tag |
(package private) void |
resolveConstants(ConstantPool cp)
Insert or check location of constant value on constant pool |
(package private) void |
write(ConstantPool cp,
java.io.DataOutput out)
Write this class into the the file (out) getting data position from
the constant pool |
Methods inherited from class java.lang.Object |
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
InnerClassTable
public InnerClassTable(InnerClassInfo[] entries)
- Create a line number table attribute.
InnerClassTable
public InnerClassTable(java.io.DataInput in,
ConstantPool cp)
throws java.io.IOException,
ClassFileFormatException
- Constructs a line number table attribute from a class file stream.
- Parameters:
in
- the stream to read fromcp
- the constant pool- Throws:
java.io.IOException
- an io problem has occuredClassFileFormatException
- attempt to
write a bad classfile info
getTag
int getTag()
- Returns the attribute's tag
- Overrides:
getTag
in class Attribute
getSize
int getSize()
- Returns the space in bytes used by this attribute in the classfile
- Overrides:
getSize
in class Attribute
getEntries
InnerClassInfo[] getEntries()
- Returns line number information
resolveConstants
void resolveConstants(ConstantPool cp)
- Insert or check location of constant value on constant pool
- Overrides:
resolveConstants
in class Attribute
- Parameters:
cp
- the constant pool for this class
write
void write(ConstantPool cp,
java.io.DataOutput out)
throws java.io.IOException
- Write this class into the the file (out) getting data position from
the constant pool
- Overrides:
write
in class Attribute
- Parameters:
cp
- the constant pool that contain all dataout
- the file where to write this object info- Throws:
java.io.IOException
- an io problem has occured