No, I mean the whole removed block. The functionality is different from when the classname is present. You need three branches:
- if has hibernate query, use that query to get suggestions
- else if has classname to search, make a query from it to get suggestions
- else suggest existing values for the same property