public static Class<?> getLiteral(String className, String literal) {
        LiteralAnalyzer analyzer = ANALYZERS.get( className );
        Class result = null;
        if ( analyzer != null ) {
            analyzer.validate( literal );
            result = analyzer.getLiteral();
        }
        return result;
    }
@Test
    public void testCharLiteralFromJLS() {

        assertThat( getLiteral( char.class.getCanonicalName(), "'a'" ) ).isNotNull();
        assertThat( getLiteral( char.class.getCanonicalName(), "'%'" ) ).isNotNull();
        assertThat( getLiteral( char.class.getCanonicalName(), "'\t'" ) ).isNotNull();
        assertThat( getLiteral( char.class.getCanonicalName(), "'\\'" ) ).isNotNull();
        assertThat( getLiteral( char.class.getCanonicalName(), "'\''" ) ).isNotNull();
        assertThat( getLiteral( char.class.getCanonicalName(), "'\u03a9'" ) ).isNotNull();
        assertThat( getLiteral( char.class.getCanonicalName(), "'\uFFFF'" ) ).isNotNull();
        assertThat( getLiteral( char.class.getCanonicalName(), "'\177'" ) ).isNotNull();
        assertThat( getLiteral( char.class.getCanonicalName(), "'Ω'" ) ).isNotNull();

    }