@Test public void testToSourceCodeFormat() { assertThat(toSourceCodeFormat("com/foo/bar/MyClass")).isEqualTo("com.foo.bar.MyClass"); assertThat(toSourceCodeFormat(null)).isNull(); }
public static String toSourceCodeFormat(final String className) { if (className == null) { return null; } return className.replaceAll("/", "."); }
NamingUtils { public static String toSourceCodeFormat(final String className) { if (className == null) { return null; } return className.replaceAll("/", "."); } }
NamingUtils { public static String toSourceCodeFormat(final String className) { if (className == null) { return null; } return className.replaceAll("/", "."); } private  NamingUtils(); }
NamingUtils { public static String toSourceCodeFormat(final String className) { if (className == null) { return null; } return className.replaceAll("/", "."); } private  NamingUtils(); static String toSourceCodeFormat(final String className); static String toBytecodeFormat(final String className); }
NamingUtils { public static String toSourceCodeFormat(final String className) { if (className == null) { return null; } return className.replaceAll("/", "."); } private  NamingUtils(); static String toSourceCodeFormat(final String className); static String toBytecodeFormat(final String className);  }