Bug 92578 [typing] Javadoc of overriding methods no longer created
When I stepped up to M6, the "javadoc" of overriding methods (i.e. methods that are overriding an inherited method or implementing an interface method) were no longer being produced. For example if you typed "/*" and then hit enter, it use to produce: /* (non-javadoc) * @see java.lang.Runnable#run() */ It isn't doing that now. Has this function been removed? Thanks, Rich
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/javadoc/JavaDocAutoIndentStrategy.java
*/
	private static IMethod getInheritedMethod(IMethod method) throws JavaModelException {
		IType declaringType= method.getDeclaringType();
		ITypeHierarchy typeHierarchy= SuperTypeHierarchyCache.getTypeHierarchy(declaringType);
		return JavaModelUtil.findMethodDeclarationInHierarchy(typeHierarchy, declaringType,
			method.getElementName(), method.getParameterTypes(), method.isConstructor());
	}
	/**
	 * Returns the compilation unit of the CompilationUnitEditor invoking the AutoIndentStrategy,
	 * might return <code>null</code> on error.
	 * @return the compilation unit represented by the document
	 */
	private static ICompilationUnit getCompilationUnit() {
		IWorkbenchWindow window= PlatformUI.getWorkbench().getActiveWorkbenchWindow();
		if (window == null)
			return null;
		IWorkbenchPage page= window.getActivePage();
		if (page == null)
			return null;
		IEditorPart editor= page.getActiveEditor();
		if (editor == null)
			return null;
		IWorkingCopyManager manager= JavaPlugin.getDefault().getWorkingCopyManager();
		ICompilationUnit unit= manager.getWorkingCopy(editor.getEditorInput());
		if (unit == null)
			return null;
		return unit;
	}
}