} else if (spec instanceof ElementQuerySpecification) {
} else if (spec instanceof PatternQuerySpecification) {
	public boolean isApplicable(JavaSearchQuery query) {		QuerySpecification spec= query.getSpecification();		if (spec instanceof ElementQuerySpecification) {			ElementQuerySpecification elementSpec= (ElementQuerySpecification) spec;			return elementSpec.getElement() instanceof IField;		} else if (spec instanceof ElementQuerySpecification) {			PatternQuerySpecification patternSpec= (PatternQuerySpecification) spec;			return patternSpec.getSearchFor() == IJavaSearchConstants.FIELD;		}		return false;	}