Index

A B C D E F G I P R U V W 
All Classes and Interfaces|All Packages|Constant Field Values

A

AbstractBuilder - Class in io.github.chrimle.classforge
Abstract class for building and generating Java classes.
AbstractBuilder() - Constructor for class io.github.chrimle.classforge.AbstractBuilder
 

B

Builder - Interface in io.github.chrimle.classforge
Builder of a Java class - which MAY generate a class, enum or record.

C

ClassBuilder - Class in io.github.chrimle.classforge
Builder of Java classes (class).
ClassForge - Class in io.github.chrimle.classforge
The single-entrypoint for generating Java classes via io.github.chrimle:class-forge.
ClassForge() - Constructor for class io.github.chrimle.classforge.ClassForge
 
className - Variable in class io.github.chrimle.classforge.AbstractBuilder
The className of the currently uncommitted class.
commit() - Method in class io.github.chrimle.classforge.AbstractBuilder
Commits the currently uncommitted class.
commit() - Method in interface io.github.chrimle.classforge.Builder
Commits the currently uncommitted class.

D

directory - Variable in class io.github.chrimle.classforge.AbstractBuilder
The directory of the currently uncommitted class.

E

EnumBuilder - Class in io.github.chrimle.classforge
Builder of Java enum classes.

F

FileWriter - Class in io.github.chrimle.classforge.utils
Writes content to files - creating directories and files if needed.
FileWriter() - Constructor for class io.github.chrimle.classforge.utils.FileWriter
 

G

generateClassFile() - Method in class io.github.chrimle.classforge.AbstractBuilder
Generates a .java class file for the currently uncommitted class.
generateFileContent() - Method in class io.github.chrimle.classforge.AbstractBuilder
Generates the complete file contents for a .java file for the currently uncommitted class.
generateFileContent() - Method in class io.github.chrimle.classforge.ClassBuilder
 
generateFileContent() - Method in class io.github.chrimle.classforge.EnumBuilder
 

I

io.github.chrimle.classforge - package io.github.chrimle.classforge
 
io.github.chrimle.classforge.utils - package io.github.chrimle.classforge.utils
 

P

packageName - Variable in class io.github.chrimle.classforge.AbstractBuilder
The packageName of the currently uncommitted class.

R

RESERVED_KEYWORDS - Static variable in class io.github.chrimle.classforge.ClassForge
Keywords reserved by the Java Language.
reservedClassNames - Variable in class io.github.chrimle.classforge.AbstractBuilder
The collection of previously committed classes.
resolveFullyQualifiedClassName() - Method in class io.github.chrimle.classforge.AbstractBuilder
Resolves the Fully Qualified Class Name (FQCN) for the currently uncommitted class.

U

updateClassName(String) - Method in class io.github.chrimle.classforge.AbstractBuilder
Updates the className of the currently uncommitted class.
updateClassName(String) - Method in interface io.github.chrimle.classforge.Builder
Updates the className of the currently uncommitted class.
updateDirectory(String) - Method in class io.github.chrimle.classforge.AbstractBuilder
Updates the directory of the currently uncommitted class.
updateDirectory(String) - Method in interface io.github.chrimle.classforge.Builder
Updates the directory of the currently uncommitted class.
updatePackageName(String) - Method in class io.github.chrimle.classforge.AbstractBuilder
Updates the packageName of the currently uncommitted class.
updatePackageName(String) - Method in interface io.github.chrimle.classforge.Builder
Updates the packageName of the currently uncommitted class.

V

VALID_CLASS_NAME_REGEX - Static variable in class io.github.chrimle.classforge.ClassForge
The RegularExpression (RegEx) for determining validity of class-names.
VALID_PACKAGE_NAME_REGEX - Static variable in class io.github.chrimle.classforge.ClassForge
The RegularExpression (RegEx) for determining validity of package-names.
validateAdditionalPredicates() - Method in class io.github.chrimle.classforge.AbstractBuilder
Validates additional Predicates for determining the validity of the currently uncommitted class.
validateAdditionalPredicates() - Method in class io.github.chrimle.classforge.ClassBuilder
 
validateAdditionalPredicates() - Method in class io.github.chrimle.classforge.EnumBuilder
 

W

writeToFile(String, String, String) - Static method in class io.github.chrimle.classforge.utils.FileWriter
Writes the content to a file at directory and the package-name from the fullyQualifiedClassName.
writeToFile(Path, String) - Static method in class io.github.chrimle.classforge.utils.FileWriter
Writes the content to a file at filePath.
A B C D E F G I P R U V W 
All Classes and Interfaces|All Packages|Constant Field Values