use of org.eclipse.jdt.ui.search.QuerySpecification in project che by eclipse.
the class NonDeprecatedFilter method isApplicable.
@Override
public boolean isApplicable(JavaSearchQuery query) {
QuerySpecification spec = query.getSpecification();
if (spec instanceof ElementQuerySpecification) {
ElementQuerySpecification elementSpec = (ElementQuerySpecification) spec;
IJavaElement element = elementSpec.getElement();
return isParameterizedElement(element);
}
return false;
}
Aggregations