boolean (PsiMethodCallExpression expression) { final PsiExpression[] expressions = expression.getArgumentList().getExpressions(); if (expressions.length == 4) { return true; } final PsiMethod method = expression.resolveMethod(); LOG.assertTrue(method != null); for (PsiParameter parameter : method.getParameterList().getParameters()) { final PsiType type = parameter.getType(); if (type instanceof PsiClassType) { final PsiClass resolvedClass = ((PsiClassType)type).resolve(); if (resolvedClass != null && CommonClassNames.JAVA_LANG_STRING.equals(resolvedClass.getQualifiedName())) { return true; } } } return false; }