if (!callList.isValid()) {
return;
}
int count = 0;
for (Iterator<Call> i = callList.callIterator(); count < 4 && i.hasNext(); ++count) {
Call call = i.next();
WarningProperty prop = null;
switch (count) {
case 0:
prop = GeneralWarningProperty.CALLED_METHOD_1;
break;
case 1:
prop = GeneralWarningProperty.CALLED_METHOD_2;
break;
case 2:
prop = GeneralWarningProperty.CALLED_METHOD_3;
break;
case 3:
prop = GeneralWarningProperty.CALLED_METHOD_4;
break;
default:
continue;
}
propertySet.setProperty(prop, call.getMethodName());
}
} catch (CFGBuilderException e) {
// Ignore
} catch (DataflowAnalysisException e) {
// Ignore