xwiki/xwiki-commons — comment on commit 7deda9c10f35ad7056e928cecc298269616aabe3
File: xwiki-commons-core/xwiki-commons-component/xwiki-commons-component-default/src/main/java/org/xwiki/component/embed/GenericProvider.java line 65
By vmassol:

Yes but we have no choice, if for example you wish to set the reference to null to handle the @optional use case. BTW this is what the guys who wrote the JSR recommend since they're removed the @optional annotation :)

See http://code.google.com/p/atinject/issues/detail?id=20#c6 and http://code.google.com/p/atinject/issues/detail?id=1&can=1&q=optional