protected static void appendNameAndParameters ( StringBuilder sb , String name , List < Expression > parameters ) { sb . append ( name ) ; sb . append ( "(" ) ; boolean first = true ; for ( Expression expr : parameters ) { if ( ! first ) { sb . append ( ", " ) ; } first = false ; sb . append ( expr ) ; } sb . append ( ")" ) ; }
Appends the name and parameters to the given string builder .