Code example for PrintWriter

Methods: flush, write

0
        getMethodVisitor().visitLineNumber(arg0, arg1);
    } 
 
    public void visitMaxs(int arg0, int arg1) {
        if (DEBUG) {
            PrintWriter pw = new PrintWriter(System.out);
            pw.write("*** Dumping ***\n");
            printer.print(pw);
            pw.flush();
        } 
        getMethodVisitor().visitMaxs(arg0, arg1);
    } 
 
    public void visitEnd() { 
        getMethodVisitor().visitEnd(); 
    } 
     
    public void tableswitch(int min, int max, Label defaultLabel, Label[] cases) {
        getMethodVisitor().visitTableSwitchInsn(min, max, defaultLabel, cases);
    }