boolean (PsiMethodCallExpression expression) { final String methodName = expression.getMethodExpression().getReferenceName(); if (GuavaPredicatesUtil.PREDICATES_METHOD_NAMES.contains(methodName)) { final PsiMethod method = expression.resolveMethod(); if (method == null) return false; final PsiClass aClass = method.getContainingClass(); if (aClass != null && GUAVA_PREDICATES_UTILITY.equals(aClass.getQualifiedName())) { return true; } } return false; }