Package net.binis.codegen
Class CodeGen
java.lang.Object
net.binis.codegen.CodeGen
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidcheckForNestedClasses(com.github.javaparser.ast.body.TypeDeclaration<?> type, String fileName, String className, com.github.javaparser.JavaParser parser) static voidhandleTemplate(com.github.javaparser.ast.body.TypeDeclaration<?> t) static voidhandleType(com.github.javaparser.JavaParser parser, com.github.javaparser.ast.body.TypeDeclaration<?> t, String fileName) static voidstatic voidprocessFiles(List<Path> files) static voidprocessSources(List<String> files) static voidprocessTemplate(String name, String source)
-
Field Details
-
NONE
- See Also:
-
SOURCE
- See Also:
-
DESTINATION
- See Also:
-
CLASS_DESTINATION
- See Also:
-
IMPL_DESTINATION
- See Also:
-
FILTER
- See Also:
-
-
Constructor Details
-
CodeGen
public CodeGen()
-
-
Method Details
-
main
- Throws:
IOException
-
processFiles
-
processSources
-
handleType
public static void handleType(com.github.javaparser.JavaParser parser, com.github.javaparser.ast.body.TypeDeclaration<?> t, String fileName) -
checkForNestedClasses
-
processTemplate
-
handleTemplate
public static void handleTemplate(com.github.javaparser.ast.body.TypeDeclaration<?> t)
-