Get non Package Qualified Name
public class Utils { public static String nonPackageQualifiedName( final Class<?> clazz ) { String name = clazz.getName(); return name.substring(name.lastIndexOf('.') + 1); } }