src/main/java/com/github/oxo42/stateless4j/StateMachineConfig.java
public <TArg0, TArg1> TriggerWithParameters2<TArg0, TArg1, TTrigger> setTriggerParameters(TTrigger trigger, Class<TArg0> classe0, Class<TArg1> classe1) {
        TriggerWithParameters2<TArg0, TArg1, TTrigger> configuration = new TriggerWithParameters2<>(trigger, classe0, classe1);
        saveTriggerConfiguration(configuration);
        return configuration;
    }
public <TArg0, TArg1> TriggerWithParameters2<TArg0, TArg1, TTrigger> setTriggerParameters(TTrigger trigger, Class<TArg0> classe0, Class<TArg1> classe1) {
        TriggerWithParameters2<TArg0, TArg1, TTrigger> configuration = new TriggerWithParameters2<>(trigger, classe0, classe1);
        saveTriggerConfiguration(configuration);
        return configuration;
    }
Specify the arguments that must be supplied when a specific trigger is fired

@param trigger The underlying trigger value
@param classe0 Class argument
@param classe1 Class argument
@param <TArg0> Type of the first trigger argument
@param <TArg1> Type of the second trigger argument
@return An object that can be passed to the fire() method in order to fire the parameterised trigger