Package org.apache.camel.dsl.java.joor
Class CompilationUnit
java.lang.Object
org.apache.camel.dsl.java.joor.CompilationUnit
Until jOOR supports multi-file compilation, then we have the compiler at Apache Camel. See:
https://github.com/jOOQ/jOOR/pull/119
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classThe result of the compilation that holds mapping for each className -> class. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionAdds input to the compilation unit.static CompilationUnitinput()Creates a new compilation unit for holding input files.
-
Constructor Details
-
CompilationUnit
public CompilationUnit()
-
-
Method Details
-
input
Creates a new compilation unit for holding input files. -
addClass
Adds input to the compilation unit.- Parameters:
className- the class namecontent- the source code for the class
-