Interface CompilationStrategy
-
@Beta public interface CompilationStrategyA compilation strategy can be assigned instead of an expression see {MutableExecutableDeclaration. It's used to take control over generating Java statements and expressions directly.- Noimplement:
- This interface is not intended to be implemented by clients.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interfaceCompilationStrategy.CompilationContextA strategy provided during compilation.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.CharSequencecompile(CompilationStrategy.CompilationContext ctx)call back method invoked during compliation
-
-
-
Method Detail
-
compile
java.lang.CharSequence compile(CompilationStrategy.CompilationContext ctx)
call back method invoked during compliation- Parameters:
ctx- - a compilation context, providing useful services.- Returns:
- the Java code
-
-