@ SuppressWarnings ( "unchecked" ) public static Contract load ( InputStream idlJson , Serializer ser ) throws IOException { return new Contract ( ser . readList ( idlJson ) ) ; }
Loads the IDL from the given stream using an arbitrary serializer and returns a Contract .