[DROOLS-27] fix discovery of an inner class when extended by a declared type