String (@NotNull Class<?> clazz0) { Class<?> clazz = clazz0.isAnonymousClass() ? clazz0.getSuperclass() : clazz0; String simpleName = clazz.getSimpleName(); return simpleName + " (" + clazz.getPackageName() + ")"; }