class CallbackTask implements Subscriber {

    @Override
    public void inform(final Event e) {<FILL_FUNCTION_BODY>}

}

        if (e instanceof final CallbackEvent event) {
            event.getCallback().run();
        }
    
<no_super_class>