code: private static void generateParserOnXmlEndElement(BindTypeContext context, MethodSpec.Builder methodBuilder,
  			String instanceName, String parserName, BindEntity entity) {
  		methodBuilder.beginControlFlow("if (elementName.equals($L.getName()))", parserName);
  		methodBuilder.addStatement("currentTag = elementName");
  		methodBuilder.addStatement("elementName = null");
  		methodBuilder.endControlFlow();
  
  	}
docs: Generate parser on xml end element.
  
  @param context
  the context
  @param methodBuilder
  the method builder
  @param instanceName
  the instance name
  @param parserName
  the parser name
  @param entity
  the entity