boolean (PsiMethodCallExpression expression) { PsiMethod method = expression.resolveMethod(); if (method == null || !GuavaFluentIterableConversionRule.CHAIN_HEAD_METHODS.contains(method.getName())) { return false; } PsiClass aClass = method.getContainingClass(); return isFluentIterable(aClass); }