jasm.io
Class JasmFileWriter
java.lang.Object
jasm.io.JasmFileWriter
public class JasmFileWriter
- extends java.lang.Object
Field Summary |
protected java.io.PrintWriter |
output
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
output
protected final java.io.PrintWriter output
JasmFileWriter
public JasmFileWriter(java.io.OutputStream o)
write
public void write(ClassFile cfile)
throws java.io.IOException
- Throws:
java.io.IOException
writeField
protected void writeField(ClassFile.Field f,
java.util.HashMap<Constant.Info,java.lang.Integer> poolMap)
throws java.io.IOException
- Throws:
java.io.IOException
writeMethod
protected void writeMethod(ClassFile clazz,
ClassFile.Method method,
java.util.HashMap<Constant.Info,java.lang.Integer> poolMap)
throws java.io.IOException
- Throws:
java.io.IOException
writeModifiers
protected void writeModifiers(java.util.List<Modifier> modifiers)
writeTypeWithoutBounds
protected void writeTypeWithoutBounds(JvmType t)
writeModifiers
public static void writeModifiers(java.util.List<Modifier> modifiers,
java.io.PrintWriter output)
Copyright © 2013 David J. Pearce. All Rights Reserved.