@ Check ( CheckType . FAST ) public void checkActionFires ( SarlAction action ) { for ( final JvmTypeReference event : action . getFiredEvents ( ) ) { final LightweightTypeReference ref = toLightweightTypeReference ( event ) ; if ( ref != null && ! this . inheritanceHelper . isSarlEvent ( ref ) ) { error ( MessageFormat . format ( Messages . SARLValidator_57 , event . getQualifiedName ( ) , Messages . SARLValidator_62 , this . grammarAccess . getFiresKeyword ( ) ) , event , null , ValidationMessageAcceptor . INSIGNIFICANT_INDEX , INVALID_FIRING_EVENT_TYPE , event . getSimpleName ( ) ) ; } } }
Check the types of the parameters of the fires statement .