An object which is the main class to handle properly a class file.
Exported fields : magic, minor_version, major_version,
constant_pool_count, access_flags, this_class, super_class,
interfaces_count, fields_count, methods_count, attributes_count
|
__init__(self,
buff)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature |
source code
|
|
|
|
|
|
|
get_classes_names(self)
Return the names of classes |
source code
|
|
|
|
|
|
|
|
MethodInfo
|
|
FieldInfo
|
|
|
|
|
|
|
|
|
get_methods(self)
Return all objects methods |
source code
|
|
|
get_constant_pool(self)
Return the constant pool list |
source code
|
|
|
get_strings(self)
Return all strings into the class |
source code
|
|
|
|
|
|
|
|
|
show(self)
Show the .class format into a human readable format |
source code
|
|
|
pretty_show(self,
vm_a)
Show the .class format into a human readable format |
source code
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
string
|
save(self)
Return the class (with the modifications) into raw format |
source code
|
|
|
|
|
|
|
|
Inherited from object :
__delattr__ ,
__format__ ,
__getattribute__ ,
__hash__ ,
__new__ ,
__reduce__ ,
__reduce_ex__ ,
__repr__ ,
__setattr__ ,
__sizeof__ ,
__str__ ,
__subclasshook__
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|