public class CPString extends CPConstant
CP_Class, CP_Double, CP_Fieldref, CP_Float, CP_Integer, CP_InterfaceMethodref, CP_Long, CP_Methodref, CP_NameAndType, CP_String, CP_UTF8, globalIndexNONE| Constructor and Description |
|---|
CPString(CPUTF8 value,
int globalIndex) |
| Modifier and Type | Method and Description |
|---|---|
protected ClassFileEntry[] |
getNestedClassFileEntries() |
int |
hashCode() |
protected void |
resolve(ClassConstantPool pool)
Allows the constant pool entries to resolve their nested entries
|
String |
toString() |
protected void |
writeBody(DataOutputStream dos) |
equals, getValuedoWrite, getGlobalIndex, getTagobjectHashCode, writeprotected void writeBody(DataOutputStream dos) throws IOException
writeBody in class ConstantPoolEntryIOExceptionpublic String toString()
toString in class ClassFileEntryprotected void resolve(ClassConstantPool pool)
resolve in class ClassFileEntrypool - TODOprotected ClassFileEntry[] getNestedClassFileEntries()
getNestedClassFileEntries in class ClassFileEntrypublic int hashCode()
hashCode in class CPConstantCopyright © 2002–2020 The Apache Software Foundation. All rights reserved.