edu.neu.ccs.demeterf.demfgen.dgp
Class ParStaticTrav

java.lang.Object
  extended by edu.neu.ccs.demeterf.FC
      extended by edu.neu.ccs.demeterf.demfgen.dgp.DGPFunc
          extended by edu.neu.ccs.demeterf.demfgen.dgp.TravGeneric
              extended by edu.neu.ccs.demeterf.demfgen.dgp.StaticTrav
                  extended by edu.neu.ccs.demeterf.demfgen.dgp.ParStaticTrav

public class ParStaticTrav
extends StaticTrav

Generate CD specific traversal code that statically distinguishes traversable types and calls to DemeterF dispatch functions when all child results have returned.

Users will create new instances of StaticTrav as an alternative to the usual DemeterF Traversal. It currently provides quite a boost in performance compared to Java Reflection.


Field Summary
 
Fields inherited from class edu.neu.ccs.demeterf.FC
augMethodName, buildMethodName
 
Constructor Summary
ParStaticTrav()
           
 
Method Summary
 FC functionObj()
          The function object responsible for function generation
 java.lang.String primitive(java.lang.String p)
           
 
Methods inherited from class edu.neu.ccs.demeterf.demfgen.dgp.StaticTrav
buildin, buildins, docComment, genericInst, method, stubMethod, superClass
 
Methods inherited from class edu.neu.ccs.demeterf.demfgen.dgp.TravGeneric
builtin, combine, combine, combine, combine, combine, combine, combine, control, fileClosing, fileOpening, finish, isAbstract, realControl, recur, typeargs
 
Methods inherited from class edu.neu.ccs.demeterf.demfgen.dgp.DGPFunc
argument, baseControl, builtins, fileName, fileSuffix, hasArgument, header, methodBody, methodName, methodReturn, override, startArgument, stubMethodBody, stubMethodName
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ParStaticTrav

public ParStaticTrav()
Method Detail

functionObj

public FC functionObj()
Description copied from class: DGPFunc
The function object responsible for function generation

Overrides:
functionObj in class StaticTrav

primitive

public java.lang.String primitive(java.lang.String p)
Overrides:
primitive in class StaticTrav