public static < S > Transition < Void , S > create ( S fromState , S toState ) { return new Transition < Void , S > ( fromState , null , toState ) ; }
Offers a way to instantiate a transition without specifying an action but only the origin and destination states .