Package io.deephaven.engine.util
Class DynamicCompileUtils
java.lang.Object
io.deephaven.engine.util.DynamicCompileUtils
Utilities for dynamic compilation.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic <T> Supplier<T>
compileSimpleFunction
(Class<? extends T> resultType, String code) static <T> Supplier<T>
compileSimpleFunction
(Class<? extends T> resultType, String code, Collection<Class<?>> imports, Collection<Class<?>> staticImports) static <T> Supplier<T>
compileSimpleStatement
(Class<? extends T> resultType, String code, String... imports) static Class<?>
getClassThroughCompilation
(String object)
-
Constructor Details
-
DynamicCompileUtils
public DynamicCompileUtils()
-
-
Method Details
-
compileSimpleFunction
-
compileSimpleStatement
-
compileSimpleFunction
public static <T> Supplier<T> compileSimpleFunction(Class<? extends T> resultType, String code, Collection<Class<?>> imports, Collection<Class<?>> staticImports) -
getClassThroughCompilation
-