org.dellroad.jc.cgen
Class CMethod

java.lang.Object
  extended byorg.dellroad.jc.cgen.CMethod

public class CMethod
extends Object

Implements JC's C code generation algorithm for implementing Java methods.


Constructor Summary
CMethod(CFile cfile, SootMethod m, MethodOptimizer optimizer, boolean includeLineNumbers, Set deps)
           
 
Method Summary
static CMethod current()
           
 void outputMethodFunction()
           
 void outputMethodInfo()
           
 void reset()
          Reset state.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CMethod

public CMethod(CFile cfile,
               SootMethod m,
               MethodOptimizer optimizer,
               boolean includeLineNumbers,
               Set deps)
Method Detail

current

public static CMethod current()

outputMethodInfo

public void outputMethodInfo()

outputMethodFunction

public void outputMethodFunction()

reset

public void reset()
Reset state. This frees a bunch of memory.