| Package | Description |
|---|---|
| pl.joegreen.lambdaFromString |
| Modifier and Type | Method and Description |
|---|---|
static LambdaFactoryConfiguration |
LambdaFactoryConfiguration.get() |
LambdaFactoryConfiguration |
LambdaFactoryConfiguration.withClassFactory(ClassFactory classFactory)
Changes classFactory which is responsible for compiling the helper class and loading it into the memory.
|
LambdaFactoryConfiguration |
LambdaFactoryConfiguration.withCompilationClassPath(String compilationClassPath)
Overrides default compilation classpath (default is taken from the java.class.path system property).
|
LambdaFactoryConfiguration |
LambdaFactoryConfiguration.withHelperClassSourceProvider(HelperClassSourceProvider helperSourceProvider)
Changes helperClassSourceProvider which provides a code template for the class to be compiled.
|
LambdaFactoryConfiguration |
LambdaFactoryConfiguration.withImports(Class<?>... newImports)
Adds imports that will be visible in the lambda code.
|
LambdaFactoryConfiguration |
LambdaFactoryConfiguration.withImports(String... newImports)
Adds imports that will be visible in the lambda code.
|
LambdaFactoryConfiguration |
LambdaFactoryConfiguration.withJavaCompiler(JavaCompiler javaCompiler)
Overrides default JavaCompiler instance.
|
LambdaFactoryConfiguration |
LambdaFactoryConfiguration.withParentClassLoader(ClassLoader parentClassLoader)
Overrides default parent class loader (by default a class loader loading this class is used).
|
LambdaFactoryConfiguration |
LambdaFactoryConfiguration.withStaticImports(String... newStaticImports)
Adds static imports that will be visible in the lambda code.
|
| Modifier and Type | Method and Description |
|---|---|
static LambdaFactory |
LambdaFactory.get(LambdaFactoryConfiguration configuration)
Returns a LambdaFactory instance with the given configuration.
|
Copyright © 2016. All rights reserved.