Package net.binis.codegen
Class CodeGen
java.lang.Object
net.binis.codegen.CodeGen
public class CodeGen extends Object
-
Field Summary
Fields Modifier and Type Field Description static StringDESTINATIONstatic StringFILTERstatic StringIMPL_DESTINATIONstatic StringNONEstatic StringSOURCE -
Constructor Summary
Constructors Constructor Description CodeGen() -
Method Summary
Modifier and Type Method Description static voidcheckForNestedClasses(com.github.javaparser.ast.body.TypeDeclaration<?> type, String fileName, String className, com.github.javaparser.JavaParser parser)static voidhandleType(com.github.javaparser.JavaParser parser, com.github.javaparser.ast.body.TypeDeclaration<?> t, String fileName)static voidmain(String[] args)static voidprocessFiles(List<Path> files)static voidprocessSources(List<String> files)
-
Field Details
-
NONE
- See Also:
- Constant Field Values
-
SOURCE
- See Also:
- Constant Field Values
-
DESTINATION
- See Also:
- Constant Field Values
-
IMPL_DESTINATION
- See Also:
- Constant Field Values
-
FILTER
- See Also:
- Constant Field Values
-
-
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
-