Public Methods | |
int | compareTo (cp_info constant_pool[], cp_info cp, cp_info cp_constant_pool[]) |
int | compareTo (cp_info cp) |
String | convert () |
boolean | equals (CONSTANT_Utf8_info cu) |
int | length () |
int | size () |
String | toString (cp_info constant_pool[]) |
String | typeName () |
Static Public Methods | |
byte[] | toUtf8 (String s) |
Public Attributes | |
byte | bytes [] |
Private Attributes | |
String | s |
Static Private Attributes | |
Utf8_Enumeration | e1 = new Utf8_Enumeration() |
Utf8_Enumeration | e2 = new Utf8_Enumeration() |
Definition at line 117 of file CONSTANT_Utf8_info.java.
|
Compares this entry with another cp_info object; note that for Utf8 object it really doesn't matter whether they're in the same or a different constant pool, since they really do carry all their data.
Definition at line 147 of file CONSTANT_Utf8_info.java. |
|
Compares this entry with another cp_info object (which may reside in a different constant pool).
Reimplemented from cp_info. Definition at line 135 of file CONSTANT_Utf8_info.java. |
|
Converts internal representation into an actual String.
Definition at line 165 of file CONSTANT_Utf8_info.java. Referenced by ClassFile::listFields(), field_info::prototype(), ClassFile::readConstantPool(), method_info::toName(), field_info::toName(), CONSTANT_String_info::toString(), CONSTANT_NameAndType_info::toString(), and CONSTANT_Class_info::toString().
|
|
Answers whether this utf8 string is the same as a given one.
Definition at line 181 of file CONSTANT_Utf8_info.java. |
|
Length in bytes of byte array. Definition at line 191 of file CONSTANT_Utf8_info.java. |
|
Returns the size of this cp_info object.
Reimplemented from cp_info. Definition at line 198 of file CONSTANT_Utf8_info.java. |
|
Returns a String representation of this entry.
Reimplemented from cp_info. Definition at line 204 of file CONSTANT_Utf8_info.java. |
|
Utility method; converts the given String into a utf8 encoded array of bytes.
Definition at line 212 of file CONSTANT_Utf8_info.java. |
|
Returns a String description of what kind of entry this is.
Reimplemented from cp_info. Definition at line 227 of file CONSTANT_Utf8_info.java. |
|
Byte array of actual utf8 string. Definition at line 124 of file CONSTANT_Utf8_info.java. |