2 ms·
That I could probably look at the source and figure things out. No, what kills me is public Session getSession(Foo, Bar, Baz) where Foo, Bar, and Baz are the
by lostcolony 6y ago
That I could probably look at the source and figure things out.
No, what kills me is
public Session getSession(Foo, Bar, Baz)
where Foo, Bar, and Baz are themselves interfaces, and I have no idea what implementing class I need, so I go searching, and after an hour of pain piece together that I need to instantiate a NotAtAllAFooButNeverthelessImplementsFoo, then pass that into the BuildingFactory class' static factory method to get an instance of Bar, and then I can just pass in a null for Baz, and it -seems- to work.