- withClassFactory(ClassFactory) - Method in class pl.joegreen.lambdaFromString.LambdaFactoryConfiguration
-
Changes classFactory which is responsible for compiling the helper class and loading it into the memory.
- withCompilationClassPath(String) - Method in class pl.joegreen.lambdaFromString.LambdaFactoryConfiguration
-
Overrides default compilation classpath (default is taken from the java.class.path system property).
- withHelperClassSourceProvider(HelperClassSourceProvider) - Method in class pl.joegreen.lambdaFromString.LambdaFactoryConfiguration
-
Changes helperClassSourceProvider which provides a code template for the class to be compiled.
- withImports(String...) - Method in class pl.joegreen.lambdaFromString.LambdaFactoryConfiguration
-
Adds imports that will be visible in the lambda code.
- withImports(Class<?>...) - Method in class pl.joegreen.lambdaFromString.LambdaFactoryConfiguration
-
Adds imports that will be visible in the lambda code.
- withJavaCompiler(JavaCompiler) - Method in class pl.joegreen.lambdaFromString.LambdaFactoryConfiguration
-
Overrides default JavaCompiler instance.
- withParentClassLoader(ClassLoader) - Method in class pl.joegreen.lambdaFromString.LambdaFactoryConfiguration
-
Overrides default parent class loader (by default a class loader loading this class is used).
- withStaticImports(String...) - Method in class pl.joegreen.lambdaFromString.LambdaFactoryConfiguration
-
Adds static imports that will be visible in the lambda code.