com.sun.tools.classfile
Class ConstantPool.CPRefInfo

java.lang.Object
  extended by com.sun.tools.classfile.ConstantPool.CPInfo
      extended by com.sun.tools.classfile.ConstantPool.CPRefInfo
Direct Known Subclasses:
ConstantPool.CONSTANT_Fieldref_info, ConstantPool.CONSTANT_InterfaceMethodref_info, ConstantPool.CONSTANT_Methodref_info
Enclosing class:
ConstantPool

public abstract static class ConstantPool.CPRefInfo
extends ConstantPool.CPInfo


Field Summary
 int class_index
           
 int name_and_type_index
           
 int tag
           
 
Fields inherited from class com.sun.tools.classfile.ConstantPool.CPInfo
cp
 
Constructor Summary
protected ConstantPool.CPRefInfo(ConstantPool cp, ClassReader cr, int tag)
           
protected ConstantPool.CPRefInfo(ConstantPool cp, int tag, int class_index, int name_and_type_index)
           
 
Method Summary
 ConstantPool.CONSTANT_Class_info getClassInfo()
           
 java.lang.String getClassName()
           
 ConstantPool.CONSTANT_NameAndType_info getNameAndTypeInfo()
           
 int getTag()
           
 
Methods inherited from class com.sun.tools.classfile.ConstantPool.CPInfo
accept
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

tag

public final int tag

class_index

public final int class_index

name_and_type_index

public final int name_and_type_index
Constructor Detail

ConstantPool.CPRefInfo

protected ConstantPool.CPRefInfo(ConstantPool cp,
                                 ClassReader cr,
                                 int tag)
                          throws java.io.IOException
Throws:
java.io.IOException

ConstantPool.CPRefInfo

protected ConstantPool.CPRefInfo(ConstantPool cp,
                                 int tag,
                                 int class_index,
                                 int name_and_type_index)
Method Detail

getTag

public int getTag()
Specified by:
getTag in class ConstantPool.CPInfo

getClassInfo

public ConstantPool.CONSTANT_Class_info getClassInfo()
                                              throws ConstantPoolException
Throws:
ConstantPoolException

getClassName

public java.lang.String getClassName()
                              throws ConstantPoolException
Throws:
ConstantPoolException

getNameAndTypeInfo

public ConstantPool.CONSTANT_NameAndType_info getNameAndTypeInfo()
                                                          throws ConstantPoolException
Throws:
ConstantPoolException