@Test public void testGetJavaName_forGroup() { assertEquals("org.yarnandtail.andhow.util.NameUtilTest$InnerInterface1$InnerClass2", NameUtil.getJavaName(InnerInterface1.InnerClass2.class)); assertEquals("org.yarnandtail.andhow.util.NameUtilTest", NameUtil.getJavaName(NameUtilTest.class)); }
public static String getJavaName(String classCanonName, String[] innerPath) { if (innerPath != null && innerPath.length > 0) { return classCanonName + "$" + String.join("$", innerPath); } else { return classCanonName; } }
NameUtil { public static String getJavaName(String classCanonName, String[] innerPath) { if (innerPath != null && innerPath.length > 0) { return classCanonName + "$" + String.join("$", innerPath); } else { return classCanonName; } } }
NameUtil { public static String getJavaName(String classCanonName, String[] innerPath) { if (innerPath != null && innerPath.length > 0) { return classCanonName + "$" + String.join("$", innerPath); } else { return classCanonName; } }  }
NameUtil { public static String getJavaName(String classCanonName, String[] innerPath) { if (innerPath != null && innerPath.length > 0) { return classCanonName + "$" + String.join("$", innerPath); } else { return classCanonName; } }  static String getAndHowName(String classCanonName, String propName, List<String> innerPath); static String getAndHowName(String classCanonName, String propName, String... innerPath); static String getJavaName(String classCanonName, String[] innerPath); static String getJavaName(String classCanonName, List<String> innerPath); static String getAndHowName(String classCanonName, String[] innerPath); static String getAndHowName(Class<?> group); static String getJavaName(Class<?> group); static String getAndHowName(Class<?> group, Property<?> property); }
NameUtil { public static String getJavaName(String classCanonName, String[] innerPath) { if (innerPath != null && innerPath.length > 0) { return classCanonName + "$" + String.join("$", innerPath); } else { return classCanonName; } }  static String getAndHowName(String classCanonName, String propName, List<String> innerPath); static String getAndHowName(String classCanonName, String propName, String... innerPath); static String getJavaName(String classCanonName, String[] innerPath); static String getJavaName(String classCanonName, List<String> innerPath); static String getAndHowName(String classCanonName, String[] innerPath); static String getAndHowName(Class<?> group); static String getJavaName(Class<?> group); static String getAndHowName(Class<?> group, Property<?> property);  }