jdepend.framework
public class ClassFileParser extends AbstractParser
ClassFileParser class is responsible for
parsing a Java class file to create a JavaClass
instance.
| Field Summary | |
|---|---|
| static int | ACC_ABSTRACT |
| static int | ACC_INTERFACE |
| static char | CLASS_DESCRIPTOR |
| static int | CONSTANT_CLASS |
| static int | CONSTANT_DOUBLE |
| static int | CONSTANT_FIELD |
| static int | CONSTANT_FLOAT |
| static int | CONSTANT_INTEGER |
| static int | CONSTANT_INTERFACEMETHOD |
| static int | CONSTANT_LONG |
| static int | CONSTANT_METHOD |
| static int | CONSTANT_NAMEANDTYPE |
| static int | CONSTANT_STRING |
| static int | CONSTANT_UNICODE |
| static int | CONSTANT_UTF8 |
| static int | JAVA_MAGIC |
| Constructor Summary | |
|---|---|
| ClassFileParser() | |
| ClassFileParser(PackageFilter filter) | |
| Method Summary | |
|---|---|
| static void | main(String[] args)
Test main. |
| JavaClass | parse(File classFile)
Registered parser listeners are informed that the resulting
JavaClass was parsed. |
| JavaClass | parse(InputStream is) |
| String | toString()
Returns a string representation of this object.
|
JavaClass was parsed.Returns: String representation.