001package arez.spy; 002 003import javax.annotation.Nonnull; 004 005/** 006 * Interface for receiving spy events. 007 */ 008@FunctionalInterface 009public interface SpyEventHandler 010{ 011 /** 012 * Report an event in the Arez system. 013 * 014 * @param event the event that occurred. 015 */ 016 void onSpyEvent( @Nonnull Object event ); 017}