code: public List<ResultSrcItem> convertToSrc(final TargetSources target, final String name) {
      JBBPUtils.assertNotNull(name, "Name must not be null");
  
      if (target == TargetSources.JAVA_1_6) {
        final Properties metadata = new Properties();
        metadata.setProperty("script", this.compiledBlock.getSource());
        metadata.setProperty("name", name);
        metadata.setProperty("target", target.name());
        metadata.setProperty("converter", JBBPToJava6Converter.class.getCanonicalName());
  
        final int nameStart = name.lastIndexOf('.');
        final String packageName;
        final String className;
        if (nameStart < 0) {
          packageName = "";
          className = name;
        } else {
          packageName = name.substring(0, nameStart);
          className = name.substring(nameStart + 1);
        }
  
        final String resultSources = JBBPToJava6Converter.makeBuilder(this).setMainClassPackage(packageName).setMainClassName(className).build().convert();
        final Map<String, String> resultMap = Collections.singletonMap(name.replace('.', '/') + ".java", resultSources);
  
        return Collections.singletonList(new ResultSrcItem() {
          @Override
          public Properties getMetadata() {
            return metadata;
          }
  
          @Override
          public Map<String, String> getResult() {
            return resultMap;
          }
        });
      }
      throw new IllegalArgumentException("Unsupported target : " + target);
    }
docs: Convert the prepared parser into sources. It doesn't provide way to define different flag for conversion, it uses default flags for converters and provided for short fast way.
  
  @param target target to generate sources, must not be null
  @param name   name of result, depends on target, must not be null, for instance class name (example 'com.test.jbbp.Parser')
  @return list of source items generated during operation, must not be null and must not be empty
  @throws IllegalArgumentException if target is unsupported
  @see JBBPToJava6Converter
  @see JBBPToJava6Converter.Builder
  @since 1.3.0