Bug 86815 Search for references to parameterized type takes generic type [search][5.0]
HEAD - Have these declarations: class Generic<E> { } class Ref { Generic<Integer> gi= new Generic<Integer>(); Generic<Double> gd= new Generic<Double>(); } - set caret into 'Generic' of 'Generic<Integer> gi' -> Ctrl+H and Ctrl+Shift+G do a search for 'Generic<E>' -> expected: they (offer to) search for 'Generic<Integer>'
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/search/MatchFilter.java
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 PatternQuerySpecification) {
			PatternQuerySpecification patternSpec= (PatternQuerySpecification) spec;
			return patternSpec.getSearchFor() == IJavaSearchConstants.FIELD;
		}
		return false;
	}
}
class WriteFilter extends FieldFilter {
	public boolean filters(JavaElementMatch match) {
		return match.isWriteAccess() && !match.isReadAccess();
	}
	public String getName() {
		return SearchMessages.getString("MatchFilter.WriteFilter.name"); 
	}
	public String getActionLabel() {
		return SearchMessages.getString("MatchFilter.WriteFilter.actionLabel"); 
	}
	public String getDescription() {
		return SearchMessages.getString("MatchFilter.WriteFilter.description"); 
	}
	public String getID() {
		return "filter_writes"; 
	}
}
class ReadFilter extends FieldFilter {