koala.dynamicjava.classfile
Class InnerClassesAttribute

java.lang.Object
  |
  +--koala.dynamicjava.classfile.BytecodeComponent
        |
        +--koala.dynamicjava.classfile.AttributeInfo
              |
              +--koala.dynamicjava.classfile.InnerClassesAttribute

public class InnerClassesAttribute
extends AttributeInfo

This class represents an inner class attribute

See Also:
ClassFile

Fields inherited from class koala.dynamicjava.classfile.AttributeInfo
length
 
Fields inherited from class koala.dynamicjava.classfile.BytecodeComponent
constantPool, nameIndex
 
Constructor Summary
InnerClassesAttribute(ConstantPool cp)
          Creates a new innerclasses attribute
 
Method Summary
 InnerClassesEntry addInnerClassesEntry()
          Adds an innerclasses entry to this attribute
 void write(java.io.DataOutputStream out)
          Writes this attribute to the given output stream.
 
Methods inherited from class koala.dynamicjava.classfile.BytecodeComponent
getConstantPool, write
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

InnerClassesAttribute

public InnerClassesAttribute(ConstantPool cp)
Creates a new innerclasses attribute
Parameters:
cp - the constant pool
Method Detail

write

public void write(java.io.DataOutputStream out)
           throws java.io.IOException
Writes this attribute to the given output stream.
Overrides:
write in class BytecodeComponent

addInnerClassesEntry

public InnerClassesEntry addInnerClassesEntry()
Adds an innerclasses entry to this attribute


Copyright © 2001 Stephane Hillion. All Rights Reserved.