SSR: don't enable "apply constraint within type hierarchy" when not searching java