com.jeffpalm.basic.bytecode.base
Class CONSTANT_ref_info

java.lang.Object
  extended by com.jeffpalm.basic.bytecode.base.Info
      extended by com.jeffpalm.basic.bytecode.base.CONSTANT_info
          extended by com.jeffpalm.basic.bytecode.base.CONSTANT_ref_info
All Implemented Interfaces:
ConstantFlags, ICodeGenerator, ICONSTANT_info, IInfo
Direct Known Subclasses:
CONSTANT_Fieldref_info, CONSTANT_InterfaceMethodref_info, CONSTANT_Methodref_info

public abstract class CONSTANT_ref_info
extends CONSTANT_info


Field Summary
 Iu2 class_index
           
 Iu2 name_and_type_index
           
 Iu1 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_ref_info(Iu2 class_index, Iu2 name_and_type_index)
           
 
Method Summary
 Iu2 class_index()
           
protected  void genRest(ICodeStream code)
           
protected  java.lang.String getString()
           
abstract  byte getTag()
           
 Iu2 name_and_type_index()
           
 Iu1 tag()
           
 
Methods inherited from class com.jeffpalm.basic.bytecode.base.CONSTANT_info
gen, getName, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

tag

public Iu1 tag

class_index

public Iu2 class_index

name_and_type_index

public Iu2 name_and_type_index
Constructor Detail

CONSTANT_ref_info

protected CONSTANT_ref_info(Iu2 class_index,
                            Iu2 name_and_type_index)
Method Detail

getTag

public abstract byte getTag()
Specified by:
getTag in class CONSTANT_info

getString

protected java.lang.String getString()
Specified by:
getString in class CONSTANT_info

tag

public final Iu1 tag()
Specified by:
tag in interface ICONSTANT_info
Overrides:
tag in class CONSTANT_info

class_index

public final Iu2 class_index()

name_and_type_index

public final Iu2 name_and_type_index()

genRest

protected final void genRest(ICodeStream code)
                      throws java.io.IOException
Specified by:
genRest in class CONSTANT_info
Throws:
java.io.IOException