Class ParStaticTrav

  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
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


public ParStaticTrav()
Method Detail


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

functionObj in class StaticTrav


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