PyArgumentList (@NotNull PyStringLiteralExpression element) { final PsiElement parent = element.getParent(); if (parent instanceof PyQualifiedExpression qualifiedExpr) { final String name = qualifiedExpr.getReferencedName(); if (PyNames.FORMAT.equals(name)) { final PsiElement parent2 = qualifiedExpr.getParent(); if (parent2 instanceof PyCallExpression callExpr) { return callExpr.getArgumentList(); } } } return null; }