com.vladium.jcd.parser
Class ClassDefParser.classParser
java.lang.Object
com.vladium.jcd.parser.ClassDefParser.classParser
- Enclosing class:
- ClassDefParser
private static final class ClassDefParser.classParser
- extends java.lang.Object
All the parsing work is done by this class and its class_table method. The
work that needs to be done is not complicated, but is rather monotonous -- see
Chapter 4 of VM spec 1.0 for the class file format.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
m_bytes
private final UDataInputStream m_bytes
m_table
private ClassDef m_table
DEBUG
private static final boolean DEBUG
- See Also:
- Constant Field Values
s_line
private static final java.lang.String s_line
- See Also:
- Constant Field Values
ClassDefParser.classParser
ClassDefParser.classParser(UDataInputStream bytes)
class_table
ClassDef class_table()
throws java.io.IOException
- Throws:
java.io.IOException
magic
void magic()
throws java.io.IOException
- Throws:
java.io.IOException
version
void version()
throws java.io.IOException
- Throws:
java.io.IOException
constant_pool
void constant_pool()
throws java.io.IOException
- Throws:
java.io.IOException
access_flags
void access_flags()
throws java.io.IOException
- Throws:
java.io.IOException
this_class
void this_class()
throws java.io.IOException
- Throws:
java.io.IOException
super_class
void super_class()
throws java.io.IOException
- Throws:
java.io.IOException
interfaces
void interfaces()
throws java.io.IOException
- Throws:
java.io.IOException
fields
void fields()
throws java.io.IOException
- Throws:
java.io.IOException
methods
void methods()
throws java.io.IOException
- Throws:
java.io.IOException
attributes
void attributes()
throws java.io.IOException
- Throws:
java.io.IOException