private static String nonAnonymous ( String typeName ) { int anonymousLoaderIndex = typeName . indexOf ( ' ' ) ; return anonymousLoaderIndex == - 1 ? typeName : typeName . substring ( 0 , anonymousLoaderIndex ) ; }
Normalizes a type name if it is loaded by an anonymous class loader .