public static String normalizeClassName(String name) {
        StringBuilder sb = new StringBuilder(name.length());
        for (char ch : name.toCharArray()) {
            if (ch == '.' || ch == '[' || ch == ']' || ch == '-' || Character.isJavaIdentifierPart(ch)) {
                sb.append(ch);
            }
        }
        return sb.toString();
    }
@Test
    public void testNormalizeClassName() {
        assertEquals("my.package-info", StringHelper.normalizeClassName("my.package-info"), "Should get the right class name");
        assertEquals("Integer[]", StringHelper.normalizeClassName("Integer[] \r"), "Should get the right class name");
        assertEquals("Hello_World", StringHelper.normalizeClassName("Hello_World"), "Should get the right class name");
        assertEquals("", StringHelper.normalizeClassName("////"), "Should get the right class name");
    }