@Test public void testGetClassNameNoClass() { String simpleClassName = getClassName("io.neow3j.blah."); assertThat(simpleClassName, is("")); }
public static String getClassName(String fqClassName) { if (fqClassName == null) { return null; } int firstChar = fqClassName.lastIndexOf('.') + 1; if (firstChar > 0) { fqClassName = fqClassName.substring(firstChar); } return fqClassName; }
ClassUtils { public static String getClassName(String fqClassName) { if (fqClassName == null) { return null; } int firstChar = fqClassName.lastIndexOf('.') + 1; if (firstChar > 0) { fqClassName = fqClassName.substring(firstChar); } return fqClassName; } }
ClassUtils { public static String getClassName(String fqClassName) { if (fqClassName == null) { return null; } int firstChar = fqClassName.lastIndexOf('.') + 1; if (firstChar > 0) { fqClassName = fqClassName.substring(firstChar); } return fqClassName; }  }
ClassUtils { public static String getClassName(String fqClassName) { if (fqClassName == null) { return null; } int firstChar = fqClassName.lastIndexOf('.') + 1; if (firstChar > 0) { fqClassName = fqClassName.substring(firstChar); } return fqClassName; }  static String getFullyQualifiedNameForInternalName(String internalName); static String getClassName(String fqClassName); static String getClassNameForInternalName(String internalName); }
ClassUtils { public static String getClassName(String fqClassName) { if (fqClassName == null) { return null; } int firstChar = fqClassName.lastIndexOf('.') + 1; if (firstChar > 0) { fqClassName = fqClassName.substring(firstChar); } return fqClassName; }  static String getFullyQualifiedNameForInternalName(String internalName); static String getClassName(String fqClassName); static String getClassNameForInternalName(String internalName);  }