Index
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,enumorrecord.
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
classNameof 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
directoryof the currently uncommitted class.
E
- EnumBuilder - Class in io.github.chrimle.classforge
-
Builder of Java
enumclasses.
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
.javaclass file for the currently uncommitted class. - generateFileContent() - Method in class io.github.chrimle.classforge.AbstractBuilder
-
Generates the complete file contents for a
.javafile 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
packageNameof 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
classNameof the currently uncommitted class. - updateClassName(String) - Method in interface io.github.chrimle.classforge.Builder
-
Updates the
classNameof the currently uncommitted class. - updateDirectory(String) - Method in class io.github.chrimle.classforge.AbstractBuilder
-
Updates the
directoryof the currently uncommitted class. - updateDirectory(String) - Method in interface io.github.chrimle.classforge.Builder
-
Updates the
directoryof the currently uncommitted class. - updatePackageName(String) - Method in class io.github.chrimle.classforge.AbstractBuilder
-
Updates the
packageNameof the currently uncommitted class. - updatePackageName(String) - Method in interface io.github.chrimle.classforge.Builder
-
Updates the
packageNameof 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
contentto a file atdirectoryand thepackage-name from thefullyQualifiedClassName. - writeToFile(Path, String) - Static method in class io.github.chrimle.classforge.utils.FileWriter
-
Writes the
contentto a file atfilePath.
All Classes and Interfaces|All Packages|Constant Field Values