Class JavaParserCompiler
java.lang.Object
org.drools.model.codegen.execmodel.JavaParserCompiler
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncompileAll(BuildResultCollector resultAccumulator, ClassLoader classLoader, List<GeneratedClassWithPackage> classes) static org.kie.memorycompiler.JavaCompilerstatic com.github.javaparser.printer.DefaultPrettyPrinterstatic StringtoPojoSource(String pkgName, Collection<String> imports, Collection<String> staticImports, com.github.javaparser.ast.body.TypeDeclaration pojo)
-
Constructor Details
-
JavaParserCompiler
public JavaParserCompiler()
-
-
Method Details
-
getCompiler
public static org.kie.memorycompiler.JavaCompiler getCompiler() -
getPrettyPrinter
public static com.github.javaparser.printer.DefaultPrettyPrinter getPrettyPrinter() -
compileAll
public static Map<String,Class<?>> compileAll(BuildResultCollector resultAccumulator, ClassLoader classLoader, List<GeneratedClassWithPackage> classes) -
toPojoSource
public static String toPojoSource(String pkgName, Collection<String> imports, Collection<String> staticImports, com.github.javaparser.ast.body.TypeDeclaration pojo)
-