public static Operation onInbound(final Operation operation) {
    """
	Wrap the given {@link Operation} in a new {@link InboundOperation} which will invoke the wrapped operation only
	for inbound rewrites.
    """
      return new DefaultOperationBuilderInternal(operation) {

         @Override
         public void perform(Rewrite event, EvaluationContext context)
         {
            if (event instanceof InboundRewrite)
               operation.perform(event, context);
         }

         @Override
         public String toString()
         {
            return "Operations.onInbound(" + operation + ")";
         }
      };
   }
public static Operation onInbound(final Operation operation)
   {
      return new DefaultOperationBuilderInternal(operation) {

         @Override
         public void perform(Rewrite event, EvaluationContext context)
         {
            if (event instanceof InboundRewrite)
               operation.perform(event, context);
         }

         @Override
         public String toString()
         {
            return "Operations.onInbound(" + operation + ")";
         }
      };
   }
public static Operation onInbound ( final Operation operation ) { return new DefaultOperationBuilderInternal ( operation ) { @ Override public void perform ( Rewrite event , EvaluationContext context ) { if ( event instanceof InboundRewrite ) operation . perform ( event , context ) ; } @ Override public String toString ( ) { return "Operations.onInbound(" + operation + ")" ; } } ; }
Wrap the given {@link Operation} in a new {@link InboundOperation} which will invoke the wrapped operation only
for inbound rewrites.
Wrap the given {