Public Methods | |
void | accept (Visitor v) |
JavaClass | copy () |
void | dump (DataOutputStream file) throws IOException |
void | dump (File file) throws IOException |
void | dump (OutputStream file) throws IOException |
void | dump (String file_name) throws IOException |
Attribute[] | getAttributes () |
byte[] | getBytes () |
String | getClassName () |
int | getClassNameIndex () |
ConstantPool | getConstantPool () |
Field[] | getFields () |
String | getFileName () |
String[] | getInterfaceNames () |
int[] | getInterfaces () |
int | getMajor () |
Method[] | getMethods () |
int | getMinor () |
String | getPackageName () |
String | getSourceFileName () |
String | getSuperclassName () |
int | getSuperclassNameIndex () |
final boolean | instanceOf (JavaClass super_class) |
final boolean | isClass () |
final boolean | isSuper () |
void | setAttributes (Attribute[] attributes) |
void | setClassName (String class_name) |
void | setClassNameIndex (int class_name_index) |
void | setConstantPool (ConstantPool constant_pool) |
void | setFields (Field[] fields) |
void | setFileName (String file_name) |
void | setInterfaceNames (String[] interface_names) |
void | setInterfaces (int[] interfaces) |
void | setMajor (int major) |
void | setMethods (Method[] methods) |
void | setMinor (int minor) |
void | setSourceFileName (String source_file_name) |
void | setSuperclassName (String superclass_name) |
void | setSuperclassNameIndex (int superclass_name_index) |
String | toString () |
JavaClass (int class_name_index, int superclass_name_index, String file_name, int major, int minor, int access_flags, ConstantPool constant_pool, int[] interfaces, Field[] fields, Method[] methods, Attribute[] attributes, byte source) | |
void | accept (Visitor v) |
JavaClass | copy () |
void | dump (DataOutputStream file) throws IOException |
void | dump (File file) throws IOException |
void | dump (OutputStream file) throws IOException |
void | dump (String file_name) throws IOException |
Attribute[] | getAttributes () |
byte[] | getBytes () |
String | getClassName () |
int | getClassNameIndex () |
ConstantPool | getConstantPool () |
Field[] | getFields () |
String | getFileName () |
String[] | getInterfaceNames () |
int[] | getInterfaces () |
int | getMajor () |
Method[] | getMethods () |
int | getMinor () |
String | getPackageName () |
final byte | getSource () |
String | getSourceFileName () |
String | getSuperclassName () |
int | getSuperclassNameIndex () |
final boolean | instanceOf (JavaClass super_class) |
final boolean | isClass () |
final boolean | isSuper () |
void | setAttributes (Attribute[] attributes) |
void | setClassName (String class_name) |
void | setClassNameIndex (int class_name_index) |
void | setConstantPool (ConstantPool constant_pool) |
void | setFields (Field[] fields) |
void | setFileName (String file_name) |
void | setInterfaceNames (String[] interface_names) |
void | setInterfaces (int[] interfaces) |
void | setMajor (int major) |
void | setMethods (Method[] methods) |
void | setMinor (int minor) |
void | setSourceFileName (String source_file_name) |
void | setSuperclassName (String superclass_name) |
void | setSuperclassNameIndex (int superclass_name_index) |
String | toString () |
Static Public Methods | |
JavaClass (int class_name_index, int superclass_name_index, String file_name, int major, int minor, int access_flags, ConstantPool constant_pool, int[] interfaces, Field[] fields, Method[] methods, Attribute[] attributes) | |
JavaClass (int class_name_index, int superclass_name_index, String file_name, int major, int minor, int access_flags, ConstantPool constant_pool, int[] interfaces, Field[] fields, Method[] methods, Attribute[] attributes) | |
Static Public Attributes | |
final byte | HEAP = 1 |
final byte | FILE = 2 |
final byte | ZIP = 3 |
Static Private Methods | |
final void | Debug (String str) |
final String | indent (Object obj) |
final void | Debug (String str) |
final String | indent (Object obj) |
Private Attributes | |
String | file_name |
String | package_name |
String | source_file_name = "<Unknown>" |
int | class_name_index |
int | superclass_name_index |
String | class_name |
String | superclass_name |
int | major |
int | minor |
ConstantPool | constant_pool |
int[] | interfaces |
String[] | interface_names |
Field[] | fields |
Method[] | methods |
Attribute[] | attributes |
int[] | interfaces |
String[] | interface_names |
Field[] | fields |
Method[] | methods |
Attribute[] | attributes |
byte | source = HEAP |
Static Private Attributes | |
boolean | debug = false |
char | sep = '/' |
Definition at line 17 of file lib/jpf/de/fub/bytecode/classfile/JavaClass.java.
|
Constructor gets all contents as arguments.
Definition at line 67 of file lib/jpf/de/fub/bytecode/classfile/JavaClass.java. |
|
Constructor gets all contents as arguments.
Definition at line 72 of file src/de/fub/bytecode/classfile/JavaClass.java. |
|
Constructor gets all contents as arguments.
Definition at line 102 of file src/de/fub/bytecode/classfile/JavaClass.java. |
|
Called by objects that are traversing the nodes of the tree implicitely defined by the contents of a Java class. I.e., the hierarchy of methods, fields, attributes, etc. spawns a tree of objects.
Definition at line 183 of file src/de/fub/bytecode/classfile/JavaClass.java. |
|
Called by objects that are traversing the nodes of the tree implicitely defined by the contents of a Java class. I.e., the hierarchy of methods, fields, attributes, etc. spawns a tree of objects.
Definition at line 146 of file lib/jpf/de/fub/bytecode/classfile/JavaClass.java. Referenced by DefaultVisitor::visit().
|
|
Definition at line 189 of file src/de/fub/bytecode/classfile/JavaClass.java. |
|
Definition at line 152 of file lib/jpf/de/fub/bytecode/classfile/JavaClass.java. |
|
Dump class to a file named file_name.
Definition at line 294 of file src/de/fub/bytecode/classfile/JavaClass.java. |
|
Dump Java class to output stream in binary format.
Definition at line 285 of file src/de/fub/bytecode/classfile/JavaClass.java. |
|
Dump class to a file.
Definition at line 266 of file src/de/fub/bytecode/classfile/JavaClass.java. |
|
Dump Java class to output stream in binary format.
Definition at line 226 of file src/de/fub/bytecode/classfile/JavaClass.java. |
|
Dump class to a file named file_name.
Definition at line 249 of file lib/jpf/de/fub/bytecode/classfile/JavaClass.java. |
|
Dump Java class to output stream in binary format.
Definition at line 240 of file lib/jpf/de/fub/bytecode/classfile/JavaClass.java. |
|
Dump class to a file.
Definition at line 229 of file lib/jpf/de/fub/bytecode/classfile/JavaClass.java. |
|
Dump Java class to output stream in binary format.
Definition at line 189 of file lib/jpf/de/fub/bytecode/classfile/JavaClass.java. |
|
Definition at line 301 of file src/de/fub/bytecode/classfile/JavaClass.java. |
|
Definition at line 256 of file lib/jpf/de/fub/bytecode/classfile/JavaClass.java. Referenced by ClassGen::ClassGen().
|
|
Definition at line 305 of file src/de/fub/bytecode/classfile/JavaClass.java. |
|
Definition at line 260 of file lib/jpf/de/fub/bytecode/classfile/JavaClass.java. |
|
Definition at line 319 of file src/de/fub/bytecode/classfile/JavaClass.java. |
|
Definition at line 274 of file lib/jpf/de/fub/bytecode/classfile/JavaClass.java. Referenced by Class2HTML::Class2HTML(), ClassGen::ClassGen(), ClassInfo::ClassInfo(), Repository::addClass(), ClassInfo::loadSuperClass(), and Repository::removeClass().
|
|
Definition at line 323 of file src/de/fub/bytecode/classfile/JavaClass.java. |
|
Definition at line 278 of file lib/jpf/de/fub/bytecode/classfile/JavaClass.java. Referenced by ClassGen::ClassGen().
|
|
Definition at line 327 of file src/de/fub/bytecode/classfile/JavaClass.java. |
|
Definition at line 282 of file lib/jpf/de/fub/bytecode/classfile/JavaClass.java. Referenced by Class2HTML::Class2HTML(), ClassGen::ClassGen(), and ClassInfo::loadInterfaces().
|
|
Definition at line 331 of file src/de/fub/bytecode/classfile/JavaClass.java. |
|
Definition at line 286 of file lib/jpf/de/fub/bytecode/classfile/JavaClass.java. Referenced by Class2HTML::Class2HTML(), ClassGen::ClassGen(), ClassInfo::loadDynamicFields(), and ClassInfo::loadStaticFields().
|
|
Definition at line 335 of file src/de/fub/bytecode/classfile/JavaClass.java. |
|
Definition at line 290 of file lib/jpf/de/fub/bytecode/classfile/JavaClass.java. |
|
Definition at line 339 of file src/de/fub/bytecode/classfile/JavaClass.java. |
|
Definition at line 294 of file lib/jpf/de/fub/bytecode/classfile/JavaClass.java. Referenced by ClassGen::ClassGen(), and Repository::getInterfaces().
|
|
Definition at line 343 of file src/de/fub/bytecode/classfile/JavaClass.java. |
|
Definition at line 298 of file lib/jpf/de/fub/bytecode/classfile/JavaClass.java. Referenced by ClassGen::ClassGen(), and ClassInfo::loadInterfaces().
|
|
Definition at line 347 of file src/de/fub/bytecode/classfile/JavaClass.java. |
|
Definition at line 302 of file lib/jpf/de/fub/bytecode/classfile/JavaClass.java. Referenced by ClassGen::ClassGen().
|
|
Definition at line 351 of file src/de/fub/bytecode/classfile/JavaClass.java. |
|
Definition at line 306 of file lib/jpf/de/fub/bytecode/classfile/JavaClass.java. Referenced by Class2HTML::Class2HTML(), ClassGen::ClassGen(), ClassInfo::loadDynamicMethods(), and ClassInfo::loadStaticMethods().
|
|
Definition at line 355 of file src/de/fub/bytecode/classfile/JavaClass.java. |
|
Definition at line 310 of file lib/jpf/de/fub/bytecode/classfile/JavaClass.java. Referenced by ClassGen::ClassGen().
|
|
Definition at line 359 of file src/de/fub/bytecode/classfile/JavaClass.java. |
|
Definition at line 314 of file lib/jpf/de/fub/bytecode/classfile/JavaClass.java. Referenced by ClassInfo::ClassInfo().
|
|
Definition at line 362 of file src/de/fub/bytecode/classfile/JavaClass.java. |
|
Definition at line 368 of file src/de/fub/bytecode/classfile/JavaClass.java. |
|
Definition at line 318 of file lib/jpf/de/fub/bytecode/classfile/JavaClass.java. Referenced by ClassGen::ClassGen(), and ClassInfo::ClassInfo().
|
|
Definition at line 372 of file src/de/fub/bytecode/classfile/JavaClass.java. |
|
Definition at line 322 of file lib/jpf/de/fub/bytecode/classfile/JavaClass.java. Referenced by ClassGen::ClassGen(), Repository::getInterfaces(), and ClassInfo::loadSuperClass().
|
|
Definition at line 376 of file src/de/fub/bytecode/classfile/JavaClass.java. |
|
Definition at line 326 of file lib/jpf/de/fub/bytecode/classfile/JavaClass.java. Referenced by ClassGen::ClassGen().
|
|
Definition at line 398 of file src/de/fub/bytecode/classfile/JavaClass.java. |
|
Definition at line 348 of file lib/jpf/de/fub/bytecode/classfile/JavaClass.java. |
|
Definition at line 404 of file src/de/fub/bytecode/classfile/JavaClass.java. |
|
Definition at line 354 of file lib/jpf/de/fub/bytecode/classfile/JavaClass.java. |
|
Definition at line 410 of file src/de/fub/bytecode/classfile/JavaClass.java. |
|
Definition at line 360 of file lib/jpf/de/fub/bytecode/classfile/JavaClass.java. |
|
Definition at line 416 of file src/de/fub/bytecode/classfile/JavaClass.java. |
|
Definition at line 366 of file lib/jpf/de/fub/bytecode/classfile/JavaClass.java. |
|
Definition at line 422 of file src/de/fub/bytecode/classfile/JavaClass.java. |
|
Definition at line 372 of file lib/jpf/de/fub/bytecode/classfile/JavaClass.java. |
|
Definition at line 428 of file src/de/fub/bytecode/classfile/JavaClass.java. |
|
Definition at line 378 of file lib/jpf/de/fub/bytecode/classfile/JavaClass.java. |
|
Definition at line 434 of file src/de/fub/bytecode/classfile/JavaClass.java. |
|
Definition at line 384 of file lib/jpf/de/fub/bytecode/classfile/JavaClass.java. |
|
Definition at line 440 of file src/de/fub/bytecode/classfile/JavaClass.java. |
|
Definition at line 390 of file lib/jpf/de/fub/bytecode/classfile/JavaClass.java. |
|
Definition at line 446 of file src/de/fub/bytecode/classfile/JavaClass.java. |
|
Definition at line 396 of file lib/jpf/de/fub/bytecode/classfile/JavaClass.java. |
|
Definition at line 452 of file src/de/fub/bytecode/classfile/JavaClass.java. |
|
Definition at line 402 of file lib/jpf/de/fub/bytecode/classfile/JavaClass.java. |
|
Definition at line 458 of file src/de/fub/bytecode/classfile/JavaClass.java. |
|
Definition at line 408 of file lib/jpf/de/fub/bytecode/classfile/JavaClass.java. |
|
Definition at line 464 of file src/de/fub/bytecode/classfile/JavaClass.java. |
|
Definition at line 414 of file lib/jpf/de/fub/bytecode/classfile/JavaClass.java. |
|
Definition at line 470 of file src/de/fub/bytecode/classfile/JavaClass.java. |
|
Definition at line 420 of file lib/jpf/de/fub/bytecode/classfile/JavaClass.java. |
|
Definition at line 476 of file src/de/fub/bytecode/classfile/JavaClass.java. |
|
Definition at line 426 of file lib/jpf/de/fub/bytecode/classfile/JavaClass.java. |
|
Definition at line 482 of file src/de/fub/bytecode/classfile/JavaClass.java. |
|
Definition at line 432 of file lib/jpf/de/fub/bytecode/classfile/JavaClass.java. |