Class CompilationUnit


  • public class CompilationUnit
    extends Object
    Until jOOR supports multi-file compilation, then we have the compiler at Apache Camel. See: https://github.com/jOOQ/jOOR/pull/119
    • Constructor Detail

      • CompilationUnit

        public CompilationUnit()
    • Method Detail

      • input

        public static CompilationUnit input()
        Creates a new compilation unit for holding input files.
      • addClass

        public CompilationUnit addClass​(String className,
                                        String content)
        Adds input to the compilation unit.
        Parameters:
        className - the class name
        content - the source code for the class