byucc.jhdl.synth.classparse
Class CPMethodref

java.lang.Object
  extended bybyucc.jhdl.synth.classparse.ClassFileParser
      extended bybyucc.jhdl.synth.classparse.CPInfo
          extended bybyucc.jhdl.synth.classparse.CPMethodref

public class CPMethodref
extends CPInfo


Field Summary
 
Fields inherited from class byucc.jhdl.synth.classparse.ClassFileParser
CONSTANT_Class, CONSTANT_Double, CONSTANT_Fieldref, CONSTANT_Float, CONSTANT_Integer, CONSTANT_InterfaceMethodref, CONSTANT_Long, CONSTANT_Methodref, CONSTANT_NameAndType, CONSTANT_String, CONSTANT_Utf8
 
Constructor Summary
CPMethodref()
           
 
Method Summary
 java.lang.String getClassName()
           
 java.lang.String getDescriptor()
           
 java.lang.String getFullName()
           
 java.lang.String getName()
           
 java.lang.String getStringValue()
           
 void toClass(ClassFileWriter output)
          Spit out the contents of this CPMethodref to the given ClassFileWriter.
 java.lang.String toString()
           
 
Methods inherited from class byucc.jhdl.synth.classparse.CPInfo
getQuotedStringValue, getStringValue, toJasmin
 
Methods inherited from class byucc.jhdl.synth.classparse.ClassFileParser
getClassFile, getConstantPool, length, parseAttributeInfo, parseAttributes, parseConstantPool, parseCPInfo, parseDouble, parseFieldInfo, parseFields, parseFloat, parseLong, parseMethodInfo, parseMethods, parseOpCode, parseSuccess, parseUTF, s2, toJasmin, u1, u2, u4
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CPMethodref

public CPMethodref()
Method Detail

toClass

public void toClass(ClassFileWriter output)
Spit out the contents of this CPMethodref to the given ClassFileWriter. This method is basically the opposite of the constructor. The constructor reads in a CPMethodref from a DataInputStream and this method spits the CPMethodref out to a DataOutputStream, (which is in the ClassFileWriter).

Specified by:
toClass in class CPInfo
Parameters:
output - a ClassFileWriter constructed with a DataOutputStram to contain the output class file.

getFullName

public java.lang.String getFullName()

getClassName

public java.lang.String getClassName()

getName

public java.lang.String getName()

getDescriptor

public java.lang.String getDescriptor()

toString

public java.lang.String toString()

getStringValue

public java.lang.String getStringValue()
Specified by:
getStringValue in class CPInfo


Copyright ? 2006 Brigham Young University, Configurable Computing Laboratory. All Rights Reserved.