Interface ReturnHandler

  • Functional Interface:
    This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

    @FunctionalInterface
    public interface ReturnHandler
    Handler for return statements.
    • Method Detail

      • handle

        Replacement handle​(EditorContext ctx,
                           ReturnStmt returnStmt)
        Handle a return statement.
        Parameters:
        ctx - the editing context
        returnStmt - the return statement
        Returns:
        the replacement action