alt.jiapi.file
Class ConstantPool.FieldRefInfo

java.lang.Object
  extended by alt.jiapi.file.ConstantPool.Entry
      extended by alt.jiapi.file.ConstantPool.FieldRefInfo
Enclosing class:
ConstantPool

public class ConstantPool.FieldRefInfo
extends ConstantPool.Entry

Represents a CONSTANT_FieldRef in constant pool

See Also:
Virtual Machine Specification, 2nd edition, ch. 4.4.2

Method Summary
 ConstantPool.ClassInfo getClassInfo()
           
 java.lang.String getDescriptor()
          Get Fields descriptor
 java.lang.String getFieldName()
          Gets the name of the field referenced by this FieldRefInfo
 ConstantPool.NameAndTypeInfo getNameAndTypeInfo()
           
 java.lang.String toString()
           
 void writeData(java.io.DataOutputStream dos)
          Writes this Entry to DataOutputStream given.
 
Methods inherited from class alt.jiapi.file.ConstantPool.Entry
getEntryIndex, getTag
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

getClassInfo

public ConstantPool.ClassInfo getClassInfo()

getDescriptor

public java.lang.String getDescriptor()
Get Fields descriptor


getFieldName

public java.lang.String getFieldName()
Gets the name of the field referenced by this FieldRefInfo


getNameAndTypeInfo

public ConstantPool.NameAndTypeInfo getNameAndTypeInfo()

toString

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

writeData

public void writeData(java.io.DataOutputStream dos)
               throws java.io.IOException
Description copied from class: ConstantPool.Entry
Writes this Entry to DataOutputStream given.

Specified by:
writeData in class ConstantPool.Entry
Parameters:
dos - DataOutputStream used
Throws:
java.io.IOException


Copyright © 2001. Documenation generated August 26 2011.