Bug 84998 [api] Make ResultCollector API
Eclipse 3.0.1 In our application we provide code assist to our own Java editor. In order to be consistent with the JDT Java editor we need to provide the same look and feel for code assist (icons, ordering, display string, etc...). Currently the only way we can get that to work is using the internal class ResultCollector. Since ResultCollector is basically an implementation of ICompletionRequestor, would it be possible to make it API or at least provide the functionality to people implementing code assist for Java-like editors?
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/java/ResultCollector.java
fMethods= new ArrayList(),
		fModifiers= new ArrayList(10),
		fPackages= new ArrayList(),
		fTypes= new ArrayList(),
		fVariables= new ArrayList();
	
	private final List[] fResults = new List[] {
		fPackages, fLabels, fModifiers, fKeywords, fTypes, fMethods, fFields, fVariables
	};
	
	private final Set fSuggestedMethodNames= new HashSet();
	private final ImageDescriptorRegistry fRegistry= JavaPlugin.getImageDescriptorRegistry();
	private final ProposalLabelProvider fLabelProvider= new ProposalLabelProvider();
	
	private IJavaProject fJavaProject;
	private ICompilationUnit fCompilationUnit; 
	private int fCodeAssistOffset;
	private int fContextOffset;
	private ITextViewer fTextViewer;
	private int fUserReplacementLength;
	private IProblem fLastProblem;	
	
	/*
	 * Is eating code assist enabled or disabled? PR #3666
	 * When eating is enabled, JavaCompletionProposal must be revisited: PR #5533
	 */
	private boolean fPreventEating= true;
	private long fStartTime;
	private long fUITime;