#include <jvm_constant.h>
Inheritance diagram for jvm_Constant:
Public Types | |
enum | constant_kind { Class = 7, Fieldref = 9, Methodref = 10, InterfaceMethodref = 11, String = 8, Integer = 3, Float = 4, Long = 5, Double = 6, NameAndType = 12, Utf8 = 1, Unicode = 2, InvalidEntry = 255, EmptyEntry = 0 } |
enum | byteorder_kind { littleendian = 0, bigendian } |
Public Methods | |
jvm_Constant (jvm_Classfile* cf) | |
virtual | ~jvm_Constant () |
component_kinds | component_kind () |
virtual constant_kind | kind () = 0 |
bool | is_Class () |
bool | is_Fieldref () |
bool | is_Methodref () |
bool | is_InterfaceMethodref () |
bool | is_String () |
bool | is_Integer () |
bool | is_Float () |
bool | is_Long () |
bool | is_Double () |
bool | is_NameAndType () |
bool | is_Utf8 () |
bool | is_Unicode () |
void | write () |
void | print () |
Static Public Methods | |
jvm_Constant* | create (jvm_Classfile* cf) |
u4 | hosttobig4 (u4 arg) |
u8 | hosttobig8 (u8 arg) |
u4 | bigtohost4 (u4 arg) |
u8 | bigtohost8 (u8 arg) |
byteorder_kind | hostbyteorder () |
|
littleendian | |
bigendian |
|
Class | |
Fieldref | |
Methodref | |
InterfaceMethodref | |
String | |
Integer | |
Float | |
Long | |
Double | |
NameAndType | |
Utf8 | |
Unicode | |
InvalidEntry | |
EmptyEntry |
|
|
|
|
|
Reimplemented from jvm_Component.
|
Reimplemented in jvm_ClassConstant, jvm_DoubleConstant, jvm_EmptyEntryConstant, jvm_FieldrefConstant, jvm_FloatConstant, jvm_IntegerConstant, jvm_InterfaceMethodrefConstant, jvm_InvalidEntryConstant, jvm_LongConstant, jvm_MethodrefConstant, jvm_NameAndTypeConstant, jvm_StringConstant, and jvm_Utf8Constant.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Reimplemented in jvm_ClassConstant, jvm_DoubleConstant, jvm_EmptyEntryConstant, jvm_FieldrefConstant, jvm_FloatConstant, jvm_IntegerConstant, jvm_InterfaceMethodrefConstant, jvm_InvalidEntryConstant, jvm_LongConstant, jvm_MethodrefConstant, jvm_NameAndTypeConstant, jvm_StringConstant, and jvm_Utf8Constant.
|
Reimplemented from jvm_Component.
Reimplemented in jvm_ClassConstant, jvm_DoubleConstant, jvm_EmptyEntryConstant, jvm_FieldrefConstant, jvm_FloatConstant, jvm_IntegerConstant, jvm_InterfaceMethodrefConstant, jvm_InvalidEntryConstant, jvm_LongConstant, jvm_MethodrefConstant, jvm_NameAndTypeConstant, jvm_StringConstant, and jvm_Utf8Constant.
|
Reimplemented from jvm_Component.
Reimplemented in jvm_ClassConstant, jvm_DoubleConstant, jvm_EmptyEntryConstant, jvm_FieldrefConstant, jvm_FloatConstant, jvm_IntegerConstant, jvm_InterfaceMethodrefConstant, jvm_InvalidEntryConstant, jvm_LongConstant, jvm_MethodrefConstant, jvm_NameAndTypeConstant, jvm_StringConstant, and jvm_Utf8Constant.