Interface CastHandler

  • 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 CastHandler
    Handler for cast expressions.
    • Method Detail

      • handle

        Replacement handle​(EditorContext ctx,
                           CastExpr cast)
        Handle a cast expression.
        Parameters:
        ctx - the editing context
        cast - the cast expression
        Returns:
        the replacement action