// class parameter used:
ValueBox classParameterArg = expr.getArgBox(classParamPosition);
Value classParameter = classParameterArg.getValue();
if (classParameter instanceof ClassConstant) {
// constant class used, add it to the set of containing classes.
ClassConstant classConstant = (ClassConstant) classParameter;
targetedWebApps.add(Scene.v().getSootClass(
classConstant.getValue().replace('/', '.')));
} else {
// not constant: extract the types by hand
Set<Type> reachingTypes = getReachingWebAppClassDescriptors(
classParameter, statement,
enclosingMethod.retrieveActiveBody());