private static String dotToSlash(String name){
  return name.replace('.','/');
}

private static String dotToSlash ( String name ) { return name . replace ( '.' , '/' ) ; }
convert a fully qualified class name that uses ' . ' as the package separator , the external representation used by the java language and apis , to a fully qualified class name that uses ' / ' as the package separator , the representation used in the class file format ( see jvms section 4 . 2 ) .
