[Soot-list] Constructor with parameters (JNewExpr) ?

Cristina Ilie crysgirlro at yahoo.com
Sat Jun 12 03:46:27 EDT 2010


Hi,

How do add parameters when I instantiate an object of a class created by me. I did so:
                        RefType parameter = RefType.v("DerivType");
                        locSExprDTRHS[i] = new JNewExpr(parameter);

JNewExpr will contain: new DerivType - but I want to give some parameters (I have 2 constructors for the class DerivType). 

Thanks,
Cristina



      
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.cs.mcgill.ca/pipermail/soot-list/attachments/20100612/94f67f11/attachment.html 


More information about the Soot-list mailing list