public static Sequencable create ( Class < ? extends Sequencable > nextSequence , Context context , Object ... arguments ) { Check . notNull ( nextSequence ) ; Check . notNull ( context ) ; Check . notNull ( arguments ) ; try { final Class < ? > [ ] params = getParamTypes ( context , arguments ) ; return UtilReflection . create ( nextSequence , params , getParams ( context , arguments ) ) ; } catch ( final NoSuchMethodException exception ) { throw new LionEngineException ( exception ) ; } }
Create a sequence from its class .