public static String getClassName ( Class < ? > c ) { String name = c . getName ( ) ; return name . substring ( name . lastIndexOf ( ' ' ) + 1 , name . length ( ) ) ; }
Get the class name without the package