Class DynamicCompileUtils

java.lang.Object
io.deephaven.engine.util.DynamicCompileUtils

public class DynamicCompileUtils extends Object
Utilities for dynamic compilation.
  • Constructor Details

    • DynamicCompileUtils

      public DynamicCompileUtils()
  • Method Details

    • compileSimpleFunction

      public static <T> Supplier<T> compileSimpleFunction(Class<? extends T> resultType, String code)
    • compileSimpleStatement

      public static <T> Supplier<T> compileSimpleStatement(Class<? extends T> resultType, String code, String... imports)
    • compileSimpleFunction

      public static <T> Supplier<T> compileSimpleFunction(Class<? extends T> resultType, String code, Collection<Class<?>> imports, Collection<Class<?>> staticImports)
    • getClassThroughCompilation

      public static Class<?> getClassThroughCompilation(String object)