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 boolean isNewComment(IDocument document, int commandOffset) {
		try {
			int lineIndex= document.getLineOfOffset(commandOffset) + 1;
			if (lineIndex >= document.getNumberOfLines())
				return true;
			IRegion line= document.getLineInformation(lineIndex);
			ITypedRegion partition= TextUtilities.getPartition(document, fPartitioning, commandOffset, false);
			int partitionEnd= partition.getOffset() + partition.getLength();
			if (line.getOffset() >= partitionEnd)
				return false;
			if (document.getLength() == partitionEnd)
				return true; 
			String comment= document.get(partition.getOffset(), partition.getLength());
			if (comment.indexOf("/*", 2) != -1) 
				return true; 
			return false;
		} catch (BadLocationException e) {
			return false;
		}
	}
	private boolean isSmartMode() {
		IWorkbenchPage page= JavaPlugin.getActivePage();
		if (page != null)  {
			IEditorPart part= page.getActiveEditor();
			if (part instanceof ITextEditorExtension3) {
				ITextEditorExtension3 extension= (ITextEditorExtension3) part;
				return extension.getInsertMode() == ITextEditorExtension3.SMART_INSERT;
			}
		}
		return false;