Interface CompilationStrategy


  • @Beta
    public interface CompilationStrategy
    A 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.
    • 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