koala.dynamicjava.classfile
Class AttributeInfo

java.lang.Object
  |
  +--koala.dynamicjava.classfile.BytecodeComponent
        |
        +--koala.dynamicjava.classfile.AttributeInfo
Direct Known Subclasses:
CodeAttribute, ConstantValueAttribute, ExceptionsAttribute, InnerClassesAttribute, SimpleAttribute

public abstract class AttributeInfo
extends BytecodeComponent

The classes derived from this one represents bytecode attributes


Field Summary
protected  int length
          The length of this attribute
 
Fields inherited from class koala.dynamicjava.classfile.BytecodeComponent
constantPool, nameIndex
 
Constructor Summary
AttributeInfo(ConstantPool cp, java.lang.String name)
          Initializes the new attribute
 
Methods inherited from class koala.dynamicjava.classfile.BytecodeComponent
getConstantPool, write, write
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

length

protected int length
The length of this attribute
Constructor Detail

AttributeInfo

public AttributeInfo(ConstantPool cp,
                     java.lang.String name)
Initializes the new attribute
Parameters:
cp - the constant pool where constants are stored
name - the name of this attribute


Copyright © 2001 Stephane Hillion. All Rights Reserved.