In context of this question I want to do the following changes:
Find:
funcA(param0,param1,param2,param3);
Replace:
if(isTrue)
funcB(param0,funcC(param1,param2,param3));
funcA can have any number of parameters besides param0.How can it be done?For simplicity ignore the base case i.e when param pass to funcA is only param0.
funcA is:
public void funcA(String param0,Object... params)
funcC is:
public void funcB(Object... params).
EDIT:
The parameters(param1,param2..) are just string containing alphabets.