add a case statement that matches on the data type and if the event compares equal . concode_field_sep PFBuilder<FSM.Event<D>,FSM.State<S,D>> builder concode_field_sep FSMStateFunctionBuilder<S,D> anyEvent concode_elem_sep PartialFunction<FSM.Event<D>,FSM.State<S,D>> build concode_elem_sep FSMStateFunctionBuilder<S,D> event concode_elem_sep FSMStateFunctionBuilder<S,D> event concode_elem_sep FSMStateFunctionBuilder<S,D> event concode_elem_sep FSMStateFunctionBuilder<S,D> event concode_elem_sep FSMStateFunctionBuilder<S,D> event concode_elem_sep FSMStateFunctionBuilder<S,D> event concode_elem_sep FSMStateFunctionBuilder<S,D> event concode_elem_sep FSMStateFunctionBuilder<S,D> erasedEvent
FSMStateFunctionBuilder < S , D > function ( final P arg0 , final Class < Q > arg1 , final FI . Apply2 < P , Q , FSM . State < S , D >> arg2 ) { return erasedEvent ( arg0 , arg1 , null , arg2 ) ; }