Package com.strobel.reflection.emit
Class ConstantPool.ReferenceEntry
- java.lang.Object
-
- com.strobel.reflection.emit.ConstantPool.Entry
-
- com.strobel.reflection.emit.ConstantPool.ReferenceEntry
-
- Direct Known Subclasses:
ConstantPool.FieldReference
,ConstantPool.InterfaceMethodReference
,ConstantPool.MethodReference
- Enclosing class:
- ConstantPool
public abstract static class ConstantPool.ReferenceEntry extends ConstantPool.Entry
-
-
Field Summary
Fields Modifier and Type Field Description int
nameAndTypeDescriptorIndex
ConstantPool.Tag
tag
int
typeInfoIndex
-
Fields inherited from class com.strobel.reflection.emit.ConstantPool.Entry
index, owner
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
ReferenceEntry(ConstantPool cp, ConstantPool.Tag tag, int typeInfoIndex, int nameAndTypeDescriptorIndex)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
byteLength()
ConstantPool.TypeInfo
getClassInfo()
java.lang.String
getClassName()
ConstantPool.NameAndTypeDescriptor
getNameAndTypeInfo()
ConstantPool.Tag
getTag()
java.lang.String
toString()
-
Methods inherited from class com.strobel.reflection.emit.ConstantPool.Entry
accept, size
-
-
-
-
Field Detail
-
tag
public final ConstantPool.Tag tag
-
typeInfoIndex
public final int typeInfoIndex
-
nameAndTypeDescriptorIndex
public final int nameAndTypeDescriptorIndex
-
-
Constructor Detail
-
ReferenceEntry
protected ReferenceEntry(ConstantPool cp, ConstantPool.Tag tag, int typeInfoIndex, int nameAndTypeDescriptorIndex)
-
-
Method Detail
-
getTag
public ConstantPool.Tag getTag()
- Specified by:
getTag
in classConstantPool.Entry
-
byteLength
public int byteLength()
- Specified by:
byteLength
in classConstantPool.Entry
-
getClassInfo
public ConstantPool.TypeInfo getClassInfo()
-
getClassName
public java.lang.String getClassName()
-
getNameAndTypeInfo
public ConstantPool.NameAndTypeDescriptor getNameAndTypeInfo()
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-