harpoon.ClassFile
Class HCode.PrintCallback

java.lang.Object
  |
  +--harpoon.ClassFile.HCode.PrintCallback
Enclosing class:
HCode

public static class HCode.PrintCallback
extends Object

Callback interface for annotating pretty-prints of HCodes.


Constructor Summary
HCode.PrintCallback()
           
 
Method Summary
 void printAfter(PrintWriter pw, HCodeElement hce)
          This method is called right *after* each HCodeElement is output.
 void printBefore(PrintWriter pw, HCodeElement hce)
          This method is called right *before* each HCodeElement is output.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HCode.PrintCallback

public HCode.PrintCallback()
Method Detail

printBefore

public void printBefore(PrintWriter pw,
                        HCodeElement hce)
This method is called right *before* each HCodeElement is output.


printAfter

public void printAfter(PrintWriter pw,
                       HCodeElement hce)
This method is called right *after* each HCodeElement is output.