if (cat.isSeparateCommand() && cat.hasComputers()) {
if (cat.hasComputers()) {
	public void contributeToMenu(IMenuManager menu) {		super.contributeToMenu(menu);		IMenuManager editMenu= menu.findMenuUsingPath(IWorkbenchActionConstants.M_EDIT);		if (editMenu != null) {			editMenu.add(fChangeEncodingAction);			IMenuManager caMenu= new MenuManager(JavaEditorMessages.BasicEditorActionContributor_specific_content_assist_menu, "specific_content_assist"); //$NON-NLS-1$			editMenu.appendToGroup(IContextMenuConstants.GROUP_GENERATE, caMenu);						caMenu.add(fRetargetContentAssist);			Collection descriptors= CompletionProposalComputerRegistry.getDefault().getProposalCategories();			for (Iterator it= descriptors.iterator(); it.hasNext();) {				final CompletionProposalCategory cat= (CompletionProposalCategory) it.next();				if (cat.isSeparateCommand() && cat.hasComputers()) {					IAction caAction= new SpecificContentAssistAction(cat);					caMenu.add(caAction);				}			}						editMenu.appendToGroup(IContextMenuConstants.GROUP_GENERATE, fCorrectionAssist);			editMenu.appendToGroup(IContextMenuConstants.GROUP_GENERATE, fContextInformation);		}	}