public class JavaCodeBuilder extends Object
Constructor and Description |
---|
JavaCodeBuilder() |
Modifier and Type | Method and Description |
---|---|
JavaCodeBuilder |
addImport(Class<?> importClass) |
JavaCodeBuilder |
addImport(String package0) |
String |
createVariable(String variable) |
Set<String> |
getImports() |
String |
getPackage() |
String |
getSource() |
CodeWriter |
getSourceWriter() |
JavaCodeBuilder |
setPackage(String packageName) |
public String getPackage()
public JavaCodeBuilder setPackage(String packageName)
public JavaCodeBuilder addImport(String package0)
public JavaCodeBuilder addImport(Class<?> importClass)
public CodeWriter getSourceWriter()
public String getSource()