public abstract static class ConstantPool.ReferenceEntry extends ConstantPool.Entry
| Modifier and Type | Field and Description |
|---|---|
int |
nameAndTypeDescriptorIndex |
ConstantPool.Tag |
tag |
int |
typeInfoIndex |
index, owner| Modifier | Constructor and Description |
|---|---|
protected |
ConstantPool.ReferenceEntry(ConstantPool cp,
ConstantPool.Tag tag,
int typeInfoIndex,
int nameAndTypeDescriptorIndex) |
| Modifier and Type | Method and Description |
|---|---|
int |
byteLength() |
ConstantPool.TypeInfoEntry |
getClassInfo() |
java.lang.String |
getClassName() |
ConstantPool.NameAndTypeDescriptorEntry |
getNameAndTypeInfo() |
ConstantPool.Tag |
getTag() |
java.lang.String |
toString() |
accept, sizepublic final ConstantPool.Tag tag
public final int typeInfoIndex
public final int nameAndTypeDescriptorIndex
protected ConstantPool.ReferenceEntry(ConstantPool cp, ConstantPool.Tag tag, int typeInfoIndex, int nameAndTypeDescriptorIndex)
public ConstantPool.Tag getTag()
getTag in class ConstantPool.Entrypublic int byteLength()
byteLength in class ConstantPool.Entrypublic ConstantPool.TypeInfoEntry getClassInfo()
public java.lang.String getClassName()
public ConstantPool.NameAndTypeDescriptorEntry getNameAndTypeInfo()
public java.lang.String toString()
toString in class java.lang.Object