public class CodeGenSettings extends Object
| Constructor and Description |
|---|
CodeGenSettings() |
CodeGenSettings(String indent,
String newline) |
CodeGenSettings(String indent,
String newline,
boolean inlineBraces) |
| Modifier and Type | Method and Description |
|---|---|
String |
getIndent()
Gets the string used for source indentation
|
String |
getNewline()
Gets the string used for line endings
|
void |
setIndent(String value)
Sets the string used for source indentation
|
void |
setInlineBraces(boolean value)
Sets if braces should be placed inline (rather than on own line)
|
void |
setNewline(String value)
Sets the string used for line endings
|
boolean |
useInlineBraces()
Gets if braces should be placed inline (rather than on own line)
|
public String getIndent()
public void setIndent(String value)
value - public String getNewline()
public void setNewline(String value)
value - public boolean useInlineBraces()
public void setInlineBraces(boolean value)
value - Copyright © 2014. All rights reserved.