public String getShortName ( ) { if ( isArray ( ) ) return getComponentType ( ) . getShortName ( ) + "[]" ; else { String name = getName ( ) . replace ( ' ' , ' ' ) ; int p = name . lastIndexOf ( ' ' ) ; if ( p >= 0 ) return name . substring ( p + 1 ) ; else return name ; } }
Returns a printable version of a class .