boolean (PsiMethodCallExpression call) { if (!COLLECTOR_TO_COLLECTION.test(call)) return false; PsiClass aClass = FunctionalExpressionUtils.getClassOfDefaultConstructorFunction(call.getArgumentList().getExpressions()[0]); return InheritanceUtil.isInheritor(aClass, CommonClassNames.JAVA_UTIL_SET); }