void (@NotNull PsiMethodCallExpression call) { String methodName = call.getMethodExpression().getReferenceName(); if (methodName == null || !methodName.startsWith("create")) return; PsiExpression[] args = call.getArgumentList().getExpressions(); if (args.length == 0) return; PsiExpression arg = args[0]; PsiType argType = arg.getType(); if (argType == null || !argType.equalsToText(CommonClassNames.JAVA_LANG_STRING)) return; PsiMethod method = call.resolveMethod(); if (method == null) return; PsiClass aClass = method.getContainingClass(); if (aClass == null || !PsiElementFactory.class.getName().equals(aClass.getQualifiedName())) return; checkOperand(arg, new HashSet<>()); }