harpoon.ClassFile
Class HCode.PrintCallback<HCE extends HCodeElement>

java.lang.Object
  extended by harpoon.ClassFile.HCode.PrintCallback<HCE>
Enclosing class:
HCode<HCE extends HCodeElement>

public static class HCode.PrintCallback<HCE extends HCodeElement>
extends Object

Callback interface for annotating pretty-prints of HCodes.


Constructor Summary
HCode.PrintCallback()
           
 
Method Summary
 void printAfter(PrintWriter pw, HCE hce)
          This method is called right *after* each HCodeElement is output.
 void printBefore(PrintWriter pw, HCE 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,
                        HCE hce)
This method is called right *before* each HCodeElement is output.


printAfter

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