Package ast

Examples of ast.Parameter.type()


    // 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
Copyright © 2018 www.massapi.com. 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.