lib/java: normalizing class names