Interface InstanceOfHandler

  • 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 InstanceOfHandler
    Handler for instanceof expressions.
    • Method Detail

      • handle

        Replacement handle​(EditorContext ctx,
                           InstanceOfExpr instanceOf)
        Handle an instanceof expression.
        Parameters:
        ctx - the editing context
        instanceOf - the instanceof expression
        Returns:
        the replacement action