public void inspect() {
        final String value = myFormatExpression.getText();
        PyStringFormatParser parser = new PyStringFormatParser(value);
        final List<NewStyleSubstitutionChunk> chunks = ContainerUtil.findAll(parser.parseNewStyle(), NewStyleSubstitutionChunk.class);

        for (int i = 0; i < chunks.size(); i++) {
          final NewStyleSubstitutionChunk prevChunk = i > 0 ? chunks.get(i - 1) : null;
          final NewStyleSubstitutionChunk chunk = chunks.get(i);

          if (prevChunk != null) {
            if (prevChunk.getManualPosition() != null && chunk.getAutoPosition() != null) {
              registerProblem(myFormatExpression, PyPsiBundle.message("INSP.manual.to.auto.field.numbering"));
            }
            else if (prevChunk.getAutoPosition() != null && chunk.getManualPosition() != null) {
              registerProblem(myFormatExpression, PyPsiBundle.message("INSP.auto.to.manual.field.numbering"));
            }
          }
          String mappingKey = inspectNewStyleChunkAndGetMappingKey(chunk);
          if (!isProblem()) {
            inspectArguments(chunk, mappingKey);
          }
        }
      }
public void inspect()