PyStringLiteralExpression (@Nullable PyElement parent) { if (parent != null) { PsiElement seeker = PyPsiUtils.getNextNonCommentSibling(parent.getFirstChild(), false); if (seeker instanceof PyExpressionStatement) seeker = PyPsiUtils.getNextNonCommentSibling(seeker.getFirstChild(), false); if (seeker instanceof PyStringLiteralExpression) return (PyStringLiteralExpression)seeker; } return null; }