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 testShortAndByte() {
        assertThat( getLiteral( short.class.getCanonicalName(), "0xFE" ) ).isNotNull();

        // some examples of ints
        assertThat( getLiteral( byte.class.getCanonicalName(), "0" ) ).isNotNull();
        assertThat( getLiteral( byte.class.getCanonicalName(), "2" ) ).isNotNull();
        assertThat( getLiteral( byte.class.getCanonicalName(), "127" ) ).isNotNull();
        assertThat( getLiteral( byte.class.getCanonicalName(), "-128" ) ).isNotNull();
        assertThat( getLiteral( short.class.getCanonicalName(), "1996" ) ).isNotNull();
        assertThat( getLiteral( short.class.getCanonicalName(), "-1996" ) ).isNotNull();
    }