Bug 82260 ResultCollector: remove dependency to internal J Core interface
I20050104-1600 Summary says it all.
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/java/ResultCollector.java
fPreventEating= preventEating;
	}
	
	public void accept(CompletionProposal proposal) {
		switch(proposal.getKind()) {
			case CompletionProposal.KEYWORD:
				internalAcceptKeyword(
						proposal.getName(),
						proposal.getReplaceStart(),
						proposal.getReplaceEnd(),
						proposal.getRelevance());
				break;
			case CompletionProposal.PACKAGE_REF:
				internalAcceptPackage(
						proposal.getDeclarationSignature(),
						proposal.getCompletion(),
						proposal.getReplaceStart(),
						proposal.getReplaceEnd(),
						proposal.getRelevance());
				break;
			case CompletionProposal.TYPE_REF:
				internalAcceptType(proposal);
				break;
			case CompletionProposal.FIELD_REF:
				char[] signatureSimpleName= Signature.getSignatureSimpleName(proposal.getSignature());
				if (signatureSimpleName == null) signatureSimpleName= CharOperation.NO_CHAR;
				internalAcceptField(
						Signature.getSignatureQualifier(proposal.getDeclarationSignature()),
						Signature.getSignatureSimpleName(proposal.getDeclarationSignature()),
						proposal.getName(),