harpoon.ClassFile
Class HCode.PrintCallback<HCE extends HCodeElement>
java.lang.Object
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 HCode
s.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HCode.PrintCallback
public HCode.PrintCallback()
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.