koala.dynamicjava.classfile
Class SimpleAttribute

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

public class SimpleAttribute
extends AttributeInfo

This class represents an attribute that is composed of his name


Fields inherited from class koala.dynamicjava.classfile.AttributeInfo
length
 
Fields inherited from class koala.dynamicjava.classfile.BytecodeComponent
constantPool, nameIndex
 
Constructor Summary
SimpleAttribute(ConstantPool cp, java.lang.String nm)
          Creates a new attribute
 
Method Summary
 void write(java.io.DataOutputStream out)
          Writes the exception info 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

SimpleAttribute

public SimpleAttribute(ConstantPool cp,
                       java.lang.String nm)
Creates a new attribute
Parameters:
cp - the constant pool
nm - the attribute name
Method Detail

write

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


Copyright © 2001 Stephane Hillion. All Rights Reserved.