Package com.strobel.assembler.ir
Class ConstantPool.NameAndTypeDescriptorEntry
- java.lang.Object
-
- com.strobel.assembler.ir.ConstantPool.Entry
-
- com.strobel.assembler.ir.ConstantPool.NameAndTypeDescriptorEntry
-
- Enclosing class:
- ConstantPool
public static class ConstantPool.NameAndTypeDescriptorEntry extends ConstantPool.Entry
-
-
Field Summary
Fields Modifier and Type Field Description int
nameIndex
int
typeDescriptorIndex
-
Fields inherited from class com.strobel.assembler.ir.ConstantPool.Entry
index, owner
-
-
Constructor Summary
Constructors Constructor Description NameAndTypeDescriptorEntry(ConstantPool owner, int nameIndex, int typeDescriptorIndex)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
accept(ConstantPool.Visitor visitor)
int
byteLength()
(package private) void
fixupKey(ConstantPool.Key key)
java.lang.String
getName()
ConstantPool.Tag
getTag()
java.lang.String
getType()
java.lang.String
toString()
-
Methods inherited from class com.strobel.assembler.ir.ConstantPool.Entry
size
-
-
-
-
Constructor Detail
-
NameAndTypeDescriptorEntry
public NameAndTypeDescriptorEntry(ConstantPool owner, int nameIndex, int typeDescriptorIndex)
-
-
Method Detail
-
fixupKey
void fixupKey(ConstantPool.Key key)
- Specified by:
fixupKey
in classConstantPool.Entry
-
getTag
public ConstantPool.Tag getTag()
- Specified by:
getTag
in classConstantPool.Entry
-
byteLength
public int byteLength()
- Specified by:
byteLength
in classConstantPool.Entry
-
getName
public java.lang.String getName()
-
getType
public java.lang.String getType()
-
accept
public void accept(ConstantPool.Visitor visitor)
- Specified by:
accept
in classConstantPool.Entry
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-