com.jeffpalm.basic.bytecode.base
Class CONSTANT_info

java.lang.Object
  extended by com.jeffpalm.basic.bytecode.base.Info
      extended by com.jeffpalm.basic.bytecode.base.CONSTANT_info
All Implemented Interfaces:
ConstantFlags, ICodeGenerator, ICONSTANT_info, IInfo
Direct Known Subclasses:
CONSTANT_Class_info, CONSTANT_NameAndType_info, CONSTANT_ref_info, CONSTANT_String_info, CONSTANT_u4_info, CONSTANT_u4_u4_info, CONSTANT_Utf8_info

public abstract class CONSTANT_info
extends Info
implements ICONSTANT_info


Field Summary
 u1 tag
           
 
Fields inherited from interface com.jeffpalm.basic.bytecode.base.ConstantFlags
CONSTANT_Class, CONSTANT_Double, CONSTANT_Fieldref, CONSTANT_Float, CONSTANT_Integer, CONSTANT_InterfaceMethodref, CONSTANT_Long, CONSTANT_Methodref, CONSTANT_NameAndType, CONSTANT_String, CONSTANT_Utf8
 
Constructor Summary
protected CONSTANT_info()
           
 
Method Summary
 void gen(ICodeStream code)
           
protected abstract  void genRest(ICodeStream code)
           
 java.lang.String getName()
           
protected abstract  java.lang.String getString()
           
abstract  byte getTag()
           
 Iu1 tag()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

tag

public u1 tag
Constructor Detail

CONSTANT_info

protected CONSTANT_info()
Method Detail

getTag

public abstract byte getTag()

getString

protected abstract java.lang.String getString()

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

getName

public java.lang.String getName()

tag

public Iu1 tag()
Specified by:
tag in interface ICONSTANT_info

genRest

protected abstract void genRest(ICodeStream code)
                         throws java.io.IOException
Throws:
java.io.IOException

gen

public final void gen(ICodeStream code)
               throws java.io.IOException
Specified by:
gen in interface ICodeGenerator
Throws:
java.io.IOException