<BUG>return this; // to prevent NPEs dereferencing nameAttr below}</BUG><CONTEXT>if (ntnMatcher.find()) {nameAttr = ntnMatcher.group(1);commandTextForParsing = commandTextForParsing.substring(ntnMatcher.end()).trim();} else {errorReporter.report(sourceLocation, MISSING_TEMPLATE_NAME);<extra_id_0>Map<String, String> attributes = ATTRIBUTES_PARSER.parse(commandTextForParsing, errorReporter, sourceLocation);if (attributes.get("private").equals("true")) {</CONTEXT>
nameAttr = null;}