static B eitherBOpt(Either e) { ret e != null && e.isB() ? e.b() : null; }