void (@NotNull PyFStringFragment node) { final PsiElement typeConversion = node.getTypeConversion(); if (typeConversion != null) { final String conversionChar = typeConversion.getText().substring(1); if (conversionChar.isEmpty()) { report(typeConversion, PyPsiBundle.message("ANN.fstrings.missing.conversion.character")); } else if (conversionChar.length() > 1 || "sra".indexOf(conversionChar.charAt(0)) < 0) { report(typeConversion, PyPsiBundle.message("ANN.fstrings.illegal.conversion.character", conversionChar)); } } }