private static class ClassDump.ConstantStringInfo extends ClassDump.CpInfo
Modifier and Type | Field and Description |
---|---|
(package private) int |
stringIndex |
Constructor and Description |
---|
ConstantStringInfo(ClassDump.Parser parser,
ClassDump.ClassContext classContext)
Parses a CONSTANT_String_info item.
|
Modifier and Type | Method and Description |
---|---|
(package private) java.lang.String |
dump()
Returns the dump of this item.
|
getCpInfo, size, toString
ConstantStringInfo(ClassDump.Parser parser, ClassDump.ClassContext classContext) throws java.io.IOException
parser
- a class parser.classContext
- a context to lookup constant pool items from their index.java.io.IOException
- if the class can't be parsed.java.lang.String dump()
ClassDump.CpInfo
dump
in class ClassDump.CpInfo