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;
			Object element= elementSpec.getElement();
			if (!(element instanceof IType))
				return false;
			ITypeParameter[] typeParameters;
			try {
				typeParameters= ((IType)element).getTypeParameters();
			} catch (JavaModelException e) {
				return false;
			}
			return typeParameters != null && typeParameters.length > 0;
		}
		return false;
	}
}
class ErasureMatchFilter extends GenericTypeFilter {