@Test public void getPathExample() throws Exception { assertThat(StringUtil.getPath("com.example", "Hello.java")) .isEqualTo("com/example/Hello.java"); }
public static String getPath(String packageName, String fileName) { if (packageName == null || fileName == null) { return null; } return packageName.replace(".", "/") + File.separator + fileName; }
StringUtil { public static String getPath(String packageName, String fileName) { if (packageName == null || fileName == null) { return null; } return packageName.replace(".", "/") + File.separator + fileName; } }
StringUtil { public static String getPath(String packageName, String fileName) { if (packageName == null || fileName == null) { return null; } return packageName.replace(".", "/") + File.separator + fileName; }  }
StringUtil { public static String getPath(String packageName, String fileName) { if (packageName == null || fileName == null) { return null; } return packageName.replace(".", "/") + File.separator + fileName; }  static String primitiveToObject(String type); static String getPackageName(String baseUrl); static String getPath(String packageName, String fileName); static boolean isReservedWord(String name); }
StringUtil { public static String getPath(String packageName, String fileName) { if (packageName == null || fileName == null) { return null; } return packageName.replace(".", "/") + File.separator + fileName; }  static String primitiveToObject(String type); static String getPackageName(String baseUrl); static String getPath(String packageName, String fileName); static boolean isReservedWord(String name);  }