public class JasmFileWriter extends Object
| Modifier and Type | Field and Description |
|---|---|
protected PrintWriter |
output |
| Constructor and Description |
|---|
JasmFileWriter(OutputStream o) |
| Modifier and Type | Method and Description |
|---|---|
void |
write(ClassFile cfile) |
protected void |
writeField(ClassFile.Field f,
HashMap<Constant.Info,Integer> poolMap) |
protected void |
writeMethod(ClassFile clazz,
ClassFile.Method method,
HashMap<Constant.Info,Integer> poolMap) |
protected void |
writeModifiers(List<Modifier> modifiers) |
static void |
writeModifiers(List<Modifier> modifiers,
PrintWriter output) |
protected void |
writeTypeWithoutBounds(JvmType t) |
protected final PrintWriter output
public JasmFileWriter(OutputStream o)
public void write(ClassFile cfile) throws IOException
IOExceptionprotected void writeField(ClassFile.Field f, HashMap<Constant.Info,Integer> poolMap) throws IOException
IOExceptionprotected void writeMethod(ClassFile clazz, ClassFile.Method method, HashMap<Constant.Info,Integer> poolMap) throws IOException
IOExceptionprotected void writeTypeWithoutBounds(JvmType t)
public static void writeModifiers(List<Modifier> modifiers, PrintWriter output)
Copyright © 2016. All rights reserved.