Package ast

Examples of ast.Parameter


    method.setActiveBody(body);
   
    // create identity statements
    int nparm = fn.getNumParameter();
    for(int i=0;i<nparm;++i) {
      Parameter parm = fn.getParameter(i);
      Local sootLocal = getSootLocal(parm);
      Type parmType = SootTypeUtil.getSootType(parm.type());
      ParameterRef soot_parm = Jimple.v().newParameterRef(parmType, i);
      body.getUnits().add(Jimple.v().newIdentityStmt(sootLocal, soot_parm));
    }   
   
    // generate code for statements
View Full Code Here

TOP

Related Classes of ast.Parameter

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.