@Test public void testEnum() throws IOException { assertThat(parse("test", "providence.Value", "null"), is(nullValue())); assertThat(parse("providence", "providence.Value", "Value.FOURTH"), is(Value.FOURTH)); assertThat(parse("providence", "Value", "providence.Value.FOURTH"), is(Value.FOURTH)); assertThat(parse("test", "providence.Value", "Value.FOURTH"), is(Value.FOURTH)); assertThat(parse("test", "providence.Value", "providence.Value.FOURTH"), is(Value.FOURTH)); assertThat(parse("test", "providence.Value", "5"), is(Value.FOURTH)); }
public Object parse(InputStream inputStream, PDescriptor type) throws ParseException { return parse(new Utf8StreamReader(inputStream), type); }
ConstParser { public Object parse(InputStream inputStream, PDescriptor type) throws ParseException { return parse(new Utf8StreamReader(inputStream), type); } }
ConstParser { public Object parse(InputStream inputStream, PDescriptor type) throws ParseException { return parse(new Utf8StreamReader(inputStream), type); } ConstParser(TypeRegistry registry,
                       String programContext,
                       int startLineNo,
                       int startLinePos); }
ConstParser { public Object parse(InputStream inputStream, PDescriptor type) throws ParseException { return parse(new Utf8StreamReader(inputStream), type); } ConstParser(TypeRegistry registry,
                       String programContext,
                       int startLineNo,
                       int startLinePos); Object parse(InputStream inputStream, PDescriptor type); Object parse(Reader reader, PDescriptor type); }
ConstParser { public Object parse(InputStream inputStream, PDescriptor type) throws ParseException { return parse(new Utf8StreamReader(inputStream), type); } ConstParser(TypeRegistry registry,
                       String programContext,
                       int startLineNo,
                       int startLinePos); Object parse(InputStream inputStream, PDescriptor type); Object parse(Reader reader, PDescriptor type);  }