publicclass Utils {
/**
* Returns the name of a class without the package name. For example: if
* input = "java.lang.Object" , then output = "Object".
* @param fully qualified classname
* @return the unqualified classname
*/
publicstatic String getShortClassName(final String className) {
if (className != null) {
finalint index = className.lastIndexOf('.');
return className.substring(index + 1);
}
return null;
}
}