public static String getBaseName ( String className ) { int i = className . indexOf ( "$" ) ; if ( i == - 1 ) return className ; return className . substring ( i + 1 ) ; }
Return the baseName of an inner class . This should live in utilities somewhere .