byucc.jhdl.synth.classparse
Class ClassFileParser
java.lang.Object
byucc.jhdl.synth.classparse.ClassFileParser
- Direct Known Subclasses:
- AttributeInfo, Attributes, ClassFile, ConstantPool, CPInfo, FieldInfo, Fields, MethodInfo, Methods, OpCode
- public abstract class ClassFileParser
- extends java.lang.Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CONSTANT_Class
public static final int CONSTANT_Class
- See Also:
- Constant Field Values
CONSTANT_Fieldref
public static final int CONSTANT_Fieldref
- See Also:
- Constant Field Values
CONSTANT_Methodref
public static final int CONSTANT_Methodref
- See Also:
- Constant Field Values
CONSTANT_InterfaceMethodref
public static final int CONSTANT_InterfaceMethodref
- See Also:
- Constant Field Values
CONSTANT_String
public static final int CONSTANT_String
- See Also:
- Constant Field Values
CONSTANT_Integer
public static final int CONSTANT_Integer
- See Also:
- Constant Field Values
CONSTANT_Float
public static final int CONSTANT_Float
- See Also:
- Constant Field Values
CONSTANT_Long
public static final int CONSTANT_Long
- See Also:
- Constant Field Values
CONSTANT_Double
public static final int CONSTANT_Double
- See Also:
- Constant Field Values
CONSTANT_NameAndType
public static final int CONSTANT_NameAndType
- See Also:
- Constant Field Values
CONSTANT_Utf8
public static final int CONSTANT_Utf8
- See Also:
- Constant Field Values
ClassFileParser
public ClassFileParser()
ClassFileParser
public ClassFileParser(java.io.InputStream stream)
length
public int length()
u1
public int u1()
u2
public int u2()
s2
public int s2()
u4
public int u4()
parseFloat
public float parseFloat()
parseLong
public long parseLong()
parseDouble
public double parseDouble()
parseUTF
public java.lang.String parseUTF()
parseConstantPool
public ConstantPool parseConstantPool()
parseFields
public static Fields parseFields()
parseFieldInfo
public FieldInfo parseFieldInfo()
parseMethods
public Methods parseMethods()
parseMethodInfo
public MethodInfo parseMethodInfo()
parseOpCode
public OpCode parseOpCode(int pc)
parseAttributes
public Attributes parseAttributes(ClassFileParser cfp)
parseAttributeInfo
public AttributeInfo parseAttributeInfo(ClassFileParser parent)
parseCPInfo
public CPInfo parseCPInfo()
getClassFile
protected static ClassFile getClassFile()
getConstantPool
protected static ConstantPool getConstantPool()
parseSuccess
public boolean parseSuccess()
toJasmin
public java.lang.StringBuffer toJasmin()
toJasmin
public java.lang.StringBuffer toJasmin(java.lang.StringBuffer result)
Copyright ? 2006 Brigham Young University, Configurable Computing Laboratory. All Rights Reserved.