Public Member Functions | |
bool | operator== (const ClassFile &x) const |
void | addMethod (const std::string &method_name, const std::string &descriptor) |
add a method | |
void | makeNative () |
make this a concrete class with native methods | |
void | makeInterface () |
make this an interface with abstract methods | |
Public Attributes | |
u4 | magic |
u2 | minor_version |
u2 | major_version |
std::vector< cp_info > | constant_pool |
u2 | access_flags |
u2 | this_class |
u2 | super_class |
std::vector< u2 > | interfaces |
std::vector< field_info > | fields |
std::vector< method_info > | methods |
std::vector< attribute_info > | attributes |