mycompiler.mybytecode
Class Attribute

java.lang.Object
  extended by mycompiler.mybytecode.Attribute
Direct Known Subclasses:
AttributeInfo, CodeAttribute

public abstract class Attribute
extends java.lang.Object


Constructor Summary
Attribute()
           
 
Method Summary
abstract  void codegen(ClassFile classfile, java.io.FileOutputStream f)
           
 short get_attribute_name_index()
           
abstract  int get_attributes_length()
           
 void set_attribute_name_index(short t)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Attribute

public Attribute()
Method Detail

get_attribute_name_index

public short get_attribute_name_index()

set_attribute_name_index

public void set_attribute_name_index(short t)

codegen

public abstract void codegen(ClassFile classfile,
                             java.io.FileOutputStream f)
                      throws JVMCodeException
Throws:
JVMCodeException

get_attributes_length

public abstract int get_attributes_length()