src/org/kocakosm/pitaya/util/Classes.java
public static String getShortName(Class<?> c)
	{
		String qname = getQualifiedName(c);
		int start = qname.lastIndexOf('$');
		if (start == -1) {
			start = qname.lastIndexOf('.');
		}
		return qname.substring(start + 1);
	}
public static String getShortName(Class<?> c)
	{
		String qname = getQualifiedName(c);
		int start = qname.lastIndexOf('$');
		if (start == -1) {
			start = qname.lastIndexOf('.');
		}
		return qname.substring(start + 1);
	}
public static String getShortName ( Class < ? > c ) { String qname = getQualifiedName ( c ) ; int start = qname . lastIndexOf ( ' ' ) ; if ( start == - 1 ) { start = qname . lastIndexOf ( ' ' ) ; } return qname . substring ( start + 1 ) ; }
Returns only the name of the given class, that is, without its
package name and without its eventual "outer" class name.

@param c the class.

@return the short name of the given class.

@throws NullPointerException if {@code c} is {@code null}.
Returns only the name of the given class that is without its package name and without its eventual outer class name .