(no message)

This commit is contained in:
Eugene Vigdorchik
2005-03-04 15:27:30 +03:00
parent c6fcbdebfd
commit fce753a69e
@@ -172,7 +172,11 @@ public class ChangeSignatureProcessor extends BaseRefactoringProcessor {
if (!method.isVarArgs() && list.getExpressions().length != parameterCount) continue;
}
}
result.add(new MethodCallUsageInfo(ref, isToModifyArgs, isToCatchExceptions));
if (RefactoringUtil.isMethodUsage(ref)) {
result.add(new MethodCallUsageInfo(ref, isToModifyArgs, isToCatchExceptions));
} else {
result.add(new UsageInfo(ref));
}
}
if (method.isConstructor() && parameterCount == 0) {