private static List<String> asStrings(Class... classes){
  List<String> strings=new ArrayList<>();
  for (  Class c : classes) {
    strings.add(c.getName());
  }
  return strings;
}

private static List < String > asStrings ( Class ... classes ) { List < String > strings = new ArrayList < > ( ) ; for ( Class c : classes ) { strings . add ( c . getName ( ) ) ; } return strings ; }
returns the class names as strings
