Source:
public void readCLIElement_2_0(XMLExtendedStreamReader reader, Namespace expectedNs, CliConfigImpl config) throws XMLStreamException { boolean jbossCliEnded = false; while (reader.hasNext() && jbossCliEnded == false) { int tag = reader.nextTag(); assertExpectedNamespace(reader, expectedNs); if(tag == XMLStreamConstants.START_ELEMENT) { final String localName = reader.getLocalName(); if (localName.equals(DEFAULT_PROTOCOL)) { readDefaultProtocol_2_0(reader, expectedNs, config); } else if (localName.equals(DEFAULT_CONTROLLER)) { readDefaultController_2_0(reader, expectedNs, config); } else if (localName.equals(CONTROLLERS)) { readControllers_2_0(reader, expectedNs, config); } else if (localName.equals(VALIDATE_OPERATION_REQUESTS)) { config.validateOperationRequests = resolveBoolean(reader.getElementText()); } else if(localName.equals(HISTORY)) { readHistory(reader, expectedNs, config); } else if(localName.equals(RESOLVE_PARAMETER_VALUES)) { config.resolveParameterValues = resolveBoolean(reader.getElementText()); } else if (CONNECTION_TIMEOUT.equals(localName)) { final String text = reader.getElementText(); try { config.connectionTimeout = Integer.parseInt(text); } catch(NumberFormatException e) { throw new XMLStreamException("Failed to parse " + JBOSS_CLI + " " + CONNECTION_TIMEOUT + " value '" + text + "'", e); } } else if (localName.equals("ssl")) { SslConfig sslConfig = new SslConfig(); readSSLElement_2_0(reader, expectedNs, sslConfig); config.sslConfig = sslConfig; } else if(localName.equals(SILENT)) { config.silent = resolveBoolean(reader.getElementText()); } else if(localName.equals(ACCESS_CONTROL)) { config.accessControl = resolveBoolean(reader.getElementText()); CliLogger.ROOT_LOGGER.tracef("Access-control is {0}", config.accessControl); } else { throw new XMLStreamException("Unexpected element: " + localName); } } else if(tag == XMLStreamConstants.END_ELEMENT) { final String localName = reader.getLocalName(); if (localName.equals(JBOSS_CLI)) { jbossCliEnded = true; } } } }

Target:
public void readCLIElement_2_0(XMLExtendedStreamReader reader, Namespace expectedNs, CliConfigImpl config) throws XMLStreamException { boolean jbossCliEnded = false; while (reader.hasNext() && jbossCliEnded == false) { int tag = reader.nextTag(); assertExpectedNamespace(reader, expectedNs); if(tag == XMLStreamConstants.START_ELEMENT) { final String localName = reader.getLocalName(); if (localName.equals(DEFAULT_PROTOCOL)) { readDefaultProtocol_2_0(reader, expectedNs, config); } else if (localName.equals(DEFAULT_CONTROLLER)) { readDefaultController_2_0(reader, expectedNs, config); } else if (localName.equals(CONTROLLERS)) { readControllers_2_0(reader, expectedNs, config); } else if (localName.equals(VALIDATE_OPERATION_REQUESTS)) { config.validateOperationRequests = resolveBoolean(reader.getElementText()); } else if(localName.equals(HISTORY)) { readHistory(reader, expectedNs, config); } else if(localName.equals(RESOLVE_PARAMETER_VALUES)) { config.resolveParameterValues = resolveBoolean(reader.getElementText()); } else if (CONNECTION_TIMEOUT.equals(localName)) { final String text = reader.getElementText(); try { config.connectionTimeout = Integer.parseInt(text); } catch(NumberFormatException e) { throw new XMLStreamException("Failed to parse " + JBOSS_CLI + " " + CONNECTION_TIMEOUT + " value '" + text + "'", e); } } else if (localName.equals("ssl")) { SslConfig sslConfig = new SslConfig(); readSSLElement_2_0(reader, expectedNs, sslConfig); config.sslConfig = sslConfig; } else if(localName.equals(SILENT)) { config.silent = resolveBoolean(reader.getElementText()); } else if(localName.equals(ACCESS_CONTROL)) { config.accessControl = resolveBoolean(reader.getElementText()); CliLogger.ROOT_LOGGER.tracef("Access-control is %s", config.accessControl); } else { throw new XMLStreamException("Unexpected element: " + localName); } } else if(tag == XMLStreamConstants.END_ELEMENT) { final String localName = reader.getLocalName(); if (localName.equals(JBOSS_CLI)) { jbossCliEnded = true; } } } }