*/
private static void addRecentlyCalledMethods(WarningPropertySet<WarningProperty> propertySet, ClassContext classContext,
Method method, Location location) {
try {
CallListDataflow dataflow = classContext.getCallListDataflow(method);
CallList callList = dataflow.getFactAtLocation(location);
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;