<div dir="ltr"><div dir="ltr"><br></div><br><div class="gmail_quote gmail_quote_container"><div dir="ltr" class="gmail_attr">On Tue, Jun 17, 2025 at 4:51 PM Maurizio Cimadamore <<a href="mailto:maurizio.cimadamore@oracle.com">maurizio.cimadamore@oracle.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><u></u>

    
  
  <div><p>Maybe I'm misunderstanding... what would be the difference
      between StableValue::supplier and Supplier::cache ?<br></p><div><div><p>Is it a discoverability issue you are pointing out (e.g. this
      factory would be more discoverable if it belonged to Supplier --
      which is something we flipped-flopped several times about) or is
      there more, e.g. a semantics distinction?</p></div></div></div></blockquote><div>It's me who misunderstood: I misread StableValue::supplier signature and had thought it would return a StableValue. And that is wrong, it does indeed return a Supplier, my bad!</div><div>So I suspect the issue I faced is more an issue of discoverability or consistency with existing APIs then: if I want a Supplier, the first thing I'd try is to use my IDE to complete Supplier.| , I don't think I would easily think of completng StableValue.| to get a Supplier.</div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">

</blockquote></div><div><br clear="all"></div><br><span class="gmail_signature_prefix">-- </span><br><div dir="ltr" class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div>Mickael Istria<br></div><a href="https://www.eclipse.org/eclipseide" target="_blank">Eclipse IDE</a> developer, for <a href="https://developers.redhat.com/" target="_blank">Red Hat</a></div></div></div></div></div></div></div>