<s> package org . eclipse . jdt . core . search ; import org . eclipse . core . resources . IResource ; import org . eclipse . core . runtime . CoreException ; import org . eclipse . core . runtime . IProgressMonitor ; import org . eclipse . jdt . core . IJavaElement ; public interface IJavaSearchResultCollector { int EXACT_MATCH = 0 ; int POTENTIAL_MATCH = 1 ; public void aboutToStart ( ) ; public void accept ( IResource resource , int start , int end , IJavaElement enclosingElement , int accuracy ) throws CoreException ; public void done ( ) ; public IProgressMonitor getProgressMonitor ( ) ; } </s>