@Test public void testGetAndHowName_forPropertyWithInnerPathArray() { assertEquals( "org.yat.Root.A.B.C.Prop", NameUtil.getAndHowName("org.yat.Root", "Prop", "A", "B", "C") ); }
public static String getAndHowName(String classCanonName, String propName, List<String> innerPath) { if (innerPath != null && innerPath.size() > 0) { return classCanonName + "." + String.join(".", innerPath) + "." + propName; } else { return classCanonName + "." + propName; } }
NameUtil { public static String getAndHowName(String classCanonName, String propName, List<String> innerPath) { if (innerPath != null && innerPath.size() > 0) { return classCanonName + "." + String.join(".", innerPath) + "." + propName; } else { return classCanonName + "." + propName; } } }
NameUtil { public static String getAndHowName(String classCanonName, String propName, List<String> innerPath) { if (innerPath != null && innerPath.size() > 0) { return classCanonName + "." + String.join(".", innerPath) + "." + propName; } else { return classCanonName + "." + propName; } }  }
NameUtil { public static String getAndHowName(String classCanonName, String propName, List<String> innerPath) { if (innerPath != null && innerPath.size() > 0) { return classCanonName + "." + String.join(".", innerPath) + "." + propName; } else { return classCanonName + "." + propName; } }  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 getAndHowName(String classCanonName, String propName, List<String> innerPath) { if (innerPath != null && innerPath.size() > 0) { return classCanonName + "." + String.join(".", innerPath) + "." + propName; } else { return classCanonName + "." + propName; } }  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);  }