public abstract class ClassBody extends SMYLDObject
| Modifier and Type | Field and Description |
|---|---|
protected int |
alignCounter |
protected Vector<String> |
commentLines |
static int |
DEFAULT_ALLIGN_COUNTER |
protected String |
extension |
protected StringBuffer |
mainBody |
protected Vector<Method> |
methodes |
protected String |
name |
protected String |
packageName |
protected Vector<Object> |
sequence |
protected HashMap<String,String> |
sequenceTest |
protected Vector<Variable> |
sortVariables |
protected HashMap<String,Variable> |
variables |
NEW_LINE, OS_NEW_LINE| Modifier and Type | Method and Description |
|---|---|
void |
addMethod(Method newMethod) |
void |
addMethodes(Vector<Method> newMethodes) |
void |
addSingleCommentLine(String commentLine) |
void |
addVariable(Variable newVariable) |
void |
addVariables(HashMap<String,Variable> newVariables) |
protected int[] |
calculateAllignVariables(int alignCount) |
void |
exportFileToPath(String path) |
void |
fillInMethods(int tabSeq) |
void |
fillInVariables() |
Method |
getMethod(String methodName) |
String |
getName() |
Variable |
getVariable(String variableName) |
boolean |
isCreateNeededFolders() |
boolean |
isCreateOnSequence() |
Vector<Method> |
listMethodes() |
HashMap<String,Variable> |
listVariables() |
String |
print() |
protected void |
printVariable(Variable newVar,
int[] allignValues) |
void |
setAllignVariableCount(int newAlignCount) |
void |
setCreateNeededFolders(boolean createNeededFolders) |
void |
setCreateOnSequence(boolean createOnSequence) |
void |
sortFieldsAlphabetically(boolean sort) |
debug, getLenName, insertInstanceValue, printInstanceValues, toStringprotected StringBuffer mainBody
protected String name
protected String packageName
protected String extension
protected int alignCounter
public static final int DEFAULT_ALLIGN_COUNTER
public ClassBody()
public ClassBody(String Name)
public void sortFieldsAlphabetically(boolean sort)
public void setAllignVariableCount(int newAlignCount)
public void addSingleCommentLine(String commentLine)
public void fillInVariables()
protected void printVariable(Variable newVar, int[] allignValues)
protected int[] calculateAllignVariables(int alignCount)
public void fillInMethods(int tabSeq)
public void addMethod(Method newMethod)
public void addVariable(Variable newVariable)
public String print()
public String getName()
public boolean isCreateNeededFolders()
public void setCreateNeededFolders(boolean createNeededFolders)
public boolean isCreateOnSequence()
public void setCreateOnSequence(boolean createOnSequence)
Copyright © 2019 SMYLD. All rights reserved.