com.sun.tools.classfile
Class ConstantPool.CPRefInfo
java.lang.Object
com.sun.tools.classfile.ConstantPool.CPInfo
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
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
tag
public final int tag
class_index
public final int class_index
name_and_type_index
public final int name_and_type_index
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)
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