String toString(Class<?>[] types){
  StringBuilder result=new StringBuilder();
  if (types.length != 0) {
    appendTypeName(result,types[0]);
    for (int i=1; i < types.length; i++) {
      result.append(',');
      appendTypeName(result,types[i]);
    }
  }
  return result.toString();
}

String toString ( Class < ? > [ ] types ) { StringBuilder result = new StringBuilder ( ) ; if ( types . length != 0 ) { appendTypeName ( result , types [ 0 ] ) ; for ( int i = 1 ; i < types . length ; i ++ ) { result . append ( ',' ) ; appendTypeName ( result , types [ i ] ) ; } } return result . toString ( ) ; }
returns a printable string consisting of the canonical names of the classes contained in an array . the form is that used in parameter and exception lists , that is , the class or type names are separated by commas .
