Damien Bourdette opened SPR-7447 and commented
The javadoc states for return value : the target class (or the plain class of the given object as fallback; never <code>null</code>)
If candidates is not a instance of TargetClassAware, result is null.
Affects: 3.0.3