<div dir="ltr">Hi<div><br></div><div>As the subject says.  I have a library that registers a custom implementation of Bean, which has a method </div><div><br></div><div><div>    @Override</div><div>    public Set&lt;InjectionPoint&gt; getInjectionPoints() {</div><div>        return Collections.emptySet();</div><div>    }</div></div><div><br></div><div>When testing this on Weld3, I have code that looks up the injection point, to find the annotations present.  However, the following injection point lookup fails:</div><div><br></div><div><div>    private static InjectionPoint findInjectionPoint(final BeanManager bm, final CreationalContext&lt;?&gt; ctx) {</div><div>        return InjectionPoint.class.cast(</div><div>                bm.getReference(bm.resolve(bm.getBeans(InjectionPoint.class)), InjectionPoint.class, ctx));</div><div>    }</div></div><div><br></div><div>so based on a CreationalContext I&#39;m looking for InjectionPoint.  Maybe there&#39;s a different way that this is supposed to work?  If you&#39;re interested in giving it a shot, take a look at <a href="https://github.com/apache/geronimo-config">https://github.com/apache/geronimo-config</a> and run the Weld3 profile to replicate the issue.</div><div><br></div><div>John</div></div>