Remove unused hasOperatorList code
Merge pull request #5571 from timvandermeij/annotation-rewrite-2

Remove unused hasOperatorList code
Use binary search in getVisibleElements()