HSEARCH-1400 Making sure that AppliedOnTypeAwareBridge is also used for ...

...class bridges

Adding test case and updating javadocs.