1919import com .igormaznitsa .jbbp .compiler .JBBPCompiledBlock ;
2020import com .igormaznitsa .jbbp .compiler .JBBPCompiler ;
2121import com .igormaznitsa .jbbp .compiler .JBBPNamedFieldInfo ;
22- import com .igormaznitsa .jbbp .compiler .conversion .JBBPToJava6Converter ;
22+ import com .igormaznitsa .jbbp .compiler .conversion .JBBPToJavaConverter ;
2323import com .igormaznitsa .jbbp .compiler .tokenizer .JBBPFieldTypeParameterContainer ;
2424import com .igormaznitsa .jbbp .compiler .varlen .JBBPIntegerValueEvaluator ;
2525import com .igormaznitsa .jbbp .exceptions .JBBPParsingException ;
@@ -712,8 +712,8 @@ public JBBPCompiledBlock getCompiledBlock() {
712712 * @param name name of result, depends on target, must not be null, for instance class name (example 'com.test.jbbp.Parser')
713713 * @return list of source items generated during operation, must not be null and must not be empty
714714 * @throws IllegalArgumentException if target is unsupported
715- * @see JBBPToJava6Converter
716- * @see JBBPToJava6Converter .Builder
715+ * @see JBBPToJavaConverter
716+ * @see JBBPToJavaConverter .Builder
717717 * @since 1.3.0
718718 */
719719 public List <ResultSrcItem > convertToSrc (final TargetSources target , final String name ) {
@@ -724,7 +724,7 @@ public List<ResultSrcItem> convertToSrc(final TargetSources target, final String
724724 metadata .setProperty ("script" , this .compiledBlock .getSource ());
725725 metadata .setProperty ("name" , name );
726726 metadata .setProperty ("target" , target .name ());
727- metadata .setProperty ("converter" , JBBPToJava6Converter .class .getCanonicalName ());
727+ metadata .setProperty ("converter" , JBBPToJavaConverter .class .getCanonicalName ());
728728
729729 final int nameStart = name .lastIndexOf ('.' );
730730 final String packageName ;
@@ -737,7 +737,7 @@ public List<ResultSrcItem> convertToSrc(final TargetSources target, final String
737737 className = name .substring (nameStart + 1 );
738738 }
739739
740- final String resultSources = JBBPToJava6Converter .makeBuilder (this ).setMainClassPackage (packageName ).setMainClassName (className ).build ().convert ();
740+ final String resultSources = JBBPToJavaConverter .makeBuilder (this ).setMainClassPackage (packageName ).setMainClassName (className ).build ().convert ();
741741 final Map <String , String > resultMap = Collections .singletonMap (name .replace ('.' , '/' ) + ".java" , resultSources );
742742
743743 return Collections .singletonList (new ResultSrcItem () {
0 commit comments