Bug 60349 [implementation] reduce warnings due to core.runtime deprecations
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/javadoc/JavaDocCompletionProcessor.java
import org.eclipse.jdt.internal.ui.JavaPlugin;
import org.eclipse.jdt.internal.ui.text.java.JavaCompletionProposalComparator;
import org.eclipse.jdt.internal.ui.text.template.contentassist.TemplateEngine;
/**
 * Java doc completion processor using contributed IJavaDocCompletionProcessor's
 * to evaluate proposals.
 */
public class JavaDocCompletionProcessor implements IContentAssistProcessor {
	
	private static final String PROCESSOR_CONTRIBUTION_ID= "javadocCompletionProcessor"; 
	
	private IEditorPart fEditor;
	private char[] fProposalAutoActivationSet;
	private JavaCompletionProposalComparator fComparator;
	private TemplateEngine fTemplateEngine;
	private int fSubProcessorFlags;
	private String fErrorMessage;
	
	private IJavadocCompletionProcessor[] fSubProcessors;
	
	public JavaDocCompletionProcessor(IEditorPart editor) {
		fEditor= editor;
		TemplateContextType contextType= JavaPlugin.getDefault().getTemplateContextRegistry().getContextType("javadoc"); 
		if (contextType == null) {
			contextType= new JavaDocContextType();
			JavaPlugin.getDefault().getTemplateContextRegistry().addContextType(contextType);
		}
		if (contextType != null)
			fTemplateEngine= new TemplateEngine(contextType);
		fSubProcessorFlags= 0;