Interface NewArrayHandler

  • 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 NewArrayHandler
    Handler for array instantiation expressions.
    • Method Detail

      • handle

        Replacement handle​(EditorContext ctx,
                           NewArrayExpr newArray)
        Handle a new array expression.
        Parameters:
        ctx - the editing context
        newArray - the new array expression
        Returns:
        the replacement action