Bug 60715 Can't switch (read, ...) filters after search for method
I200404281424 + zrh-plugins from 20040430_1758: Can't switch (read, ...) filters after search for method - Search for references to a field - check "Filter Reads" - Search for refs to method (a) Reads filter filters all matches Read filter should have no effect on method references (b) Cannot uncheck read filter since menu entry is disabled. Workaround is to search for field refs, uncheck filter, go back to method refs search.
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/search/MatchFilter.java
public abstract boolean isApplicable(JavaSearchQuery query);
	
	public abstract boolean filters(JavaElementMatch match);
	public abstract String getName();
	
	public abstract String getDescription();
	
	public abstract String getID();
	
	private static final MatchFilter[] ALL_FILTERS= new MatchFilter[] {
			new ImportFilter(),
			new JavadocFilter(),
			new ReadFilter(),
			new WriteFilter()
		};
		
		public static MatchFilter[] allFilters() {
			return ALL_FILTERS;
		}
}
class ImportFilter extends MatchFilter {