ua.gradsoft.termware.debug
Class JavaGeneratorHelper

java.lang.Object
  extended by ua.gradsoft.termware.debug.JavaGeneratorHelper

public class JavaGeneratorHelper
extends Object

Helper class for generation of Java source code.

Author:
rssh

Constructor Summary
JavaGeneratorHelper()
           
 
Method Summary
static int generateClassEntry(PrintWriter writer, String className, String toExtend, List<String> toImplement)
           
static int generateImport(PrintWriter writer, String imported)
           
static int generatePackage(PrintWriter writer, String sourceName)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JavaGeneratorHelper

public JavaGeneratorHelper()
Method Detail

generatePackage

public static int generatePackage(PrintWriter writer,
                                  String sourceName)

generateImport

public static int generateImport(PrintWriter writer,
                                 String imported)

generateClassEntry

public static int generateClassEntry(PrintWriter writer,
                                     String className,
                                     String toExtend,
                                     List<String> toImplement)