Field (@NotNull String nodeText) { final ParseResult result = PyNewStyleStringFormatParser.parse(nodeText); final List<Field> topLevelFields = result.getFields(); UsefulTestCase.assertSize(1, topLevelFields); return topLevelFields.get(0); }