abc.weaving.weaver
Class CflowCodeGenUtils.CflowCodeGenFactory

java.lang.Object
  extended by abc.weaving.weaver.CflowCodeGenUtils.CflowCodeGenFactory
Enclosing class:
CflowCodeGenUtils

public static class CflowCodeGenUtils.CflowCodeGenFactory
extends java.lang.Object

A factory class for constructing Cflow CodeGen objects. This is the only way to get a handle on an instance of CflowCodeGenUtils.CflowCodeGen


Constructor Summary
CflowCodeGenUtils.CflowCodeGenFactory()
           
 
Method Summary
static CflowCodeGenUtils.CflowCodeGen v(java.util.List types)
          Return an instance of a Cflow codegen class appropriate for the given list of (types of) formals.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CflowCodeGenUtils.CflowCodeGenFactory

public CflowCodeGenUtils.CflowCodeGenFactory()
Method Detail

v

public static CflowCodeGenUtils.CflowCodeGen v(java.util.List types)
Return an instance of a Cflow codegen class appropriate for the given list of (types of) formals. Should always be used to get an instance of a Cflow codegen. Also sets the types of formals in the codegen instance.

Parameters:
types - The list of types of formals of the cflow
Returns:
A subclass of CflowCodeGen to use to generate cflow code