fSearch.addMatch(new JavaElementMatch(enclosingElement, match.getOffset(), match.getLength(), match.getAccuracy(), isWriteAccess, isWriteAccess, match.isInsideDocComment()));
fSearch.addMatch(new JavaElementMatch(enclosingElement, match.getOffset(), match.getLength(), match.getAccuracy(), isReadAccess, isWriteAccess, match.isInsideDocComment()));
	public void acceptSearchMatch(SearchMatch match) throws CoreException {		IJavaElement enclosingElement= (IJavaElement) match.getElement();		if (enclosingElement != null) {			if (fIgnorePotentials && (match.getAccuracy() == SearchMatch.A_INACCURATE))				return;			boolean isWriteAccess= false;			boolean isReadAccess= false;			if (match instanceof FieldReferenceMatch) {				FieldReferenceMatch fieldRef= ((FieldReferenceMatch)match);				isWriteAccess= fieldRef.isWriteAccess();				isReadAccess= fieldRef.isReadAccess();			}			fSearch.addMatch(new JavaElementMatch(enclosingElement, match.getOffset(), match.getLength(), match.getAccuracy(), isWriteAccess, isWriteAccess, match.isInsideDocComment()));		}	}