public static Statement concat ( final Iterable < ? extends Statement > statements ) { checkNotNull ( statements ) ; return new Statement ( ) { @ Override protected void doGen ( CodeBuilder adapter ) { for ( Statement statement : statements ) { statement . gen ( adapter ) ; } } } ; }
Returns a statement that concatenates all the provided statements .