Package org.apache.camel.dsl.java.joor
Class CompilationUnit.Result
- java.lang.Object
-
- org.apache.camel.dsl.java.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 Summary
Constructors Constructor Description Result()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description byte[]getByteCode(String className)Gets the compiled byte code by its class nameClass<?>getClass(String className)Gets the compiled class by its class nameSet<String>getClassNames()Set of the classes by their namesintsize()Number of classes in the result
-
-
-
Method Detail
-
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
-
-