Class JavaClassBuilder<ClassType extends JavaClass>

java.lang.Object
com.github.tadukoo.java.javaclass.JavaClassBuilder<ClassType>
Direct Known Subclasses:
EditableJavaClass.EditableJavaClassBuilder, UneditableJavaClass.UneditableJavaClassBuilder

public abstract class JavaClassBuilder<ClassType extends JavaClass> extends Object
Java Class Builder is used to create a JavaClass. It has the following parameters:
Java Class Parameters
Parameter Description Default or Required
isInnerClass Whether the class is an inner class or not Defaults to false
packageDeclaration The package declaration of the class Defaults to null
importStatements The import statements of the class An empty list
javadoc The Javadoc for the class Defaults to null
annotations The annotations on the class An empty list
visibility The Visibility of the class Visibility.NONE
isAbstract Whether the class is abstract or not false
isStatic Whether the class is static or not false
isFinal Whether the class is final or not false
className The name of the class Required
superClassName The name of the class this one extends (may be null) null
implementsInterfaceNames The names of interfaces this class implements An empty List
singleLineComments The single-line comments inside the class An empty List
multiLineComments The multi-line comments inside the class An empty List
innerClasses Inner classes inside the class An empty list
fields The fields on the class An empty list
methods The methods in the class An empty list
innerElementsOrder The order of the elements inside the class The order they were added in, Required if there are comments
Since:
Alpha v.0.2 (in JavaClass), Alpha v.0.4 (as a separate class)
Version:
Beta v.0.5
Author:
Logan Ferree (Tadukoo)