Interface ThrowHandler

  • 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 ThrowHandler
    Handler for throw statements.
    • Method Detail

      • handle

        Replacement handle​(EditorContext ctx,
                           ThrowStmt throwStmt)
        Handle a throw statement.
        Parameters:
        ctx - the editing context
        throwStmt - the throw statement
        Returns:
        the replacement action