Class CompilationUnit.Result

java.lang.Object
org.apache.camel.language.joor.CompilationUnit.Result
Enclosing class:
CompilationUnit

public static class CompilationUnit.Result extends Object
The result of the compilation that holds mapping for each className -> class.
  • Constructor Details

    • Result

      public Result()
  • Method Details

    • getClass

      public Class<?> getClass(String className)
      Gets the compiled class by its class name
      Parameters:
      className - the class name
      Returns:
      the compiled class
    • getByteCode

      public byte[] getByteCode(String className)
      Gets the compiled byte code by its class name
      Parameters:
      className - the class name
      Returns:
      the compiled byte code
    • size

      public int size()
      Number of classes in the result
    • getClassNames

      public Set<String> getClassNames()
      Set of the classes by their names
    • getCompiledClassNames

      public Set<String> getCompiledClassNames()
      Set of the compiled classes by their names