query = new BeanNameQuery(scope, data.getPattern(), data
.isCaseSensitive(), data.isRegExp());
break;
case SEARCH_FOR_BEAN_REFERENCE:
query = new BeanReferenceQuery(scope, data.getPattern(), data
.isCaseSensitive(), data.isRegExp());
break;
case SEARCH_FOR_BEAN_CLASS:
query = new BeanClassQuery(scope, data.getPattern(),