Community
Participate
Working Groups
Build Identifier: wst.sse.ui_1.2.2.v201008232126 BestMatchHover should implement ITextHoverExtension2. I use JdtdocHover which takes getHoverInfo() and getHoverInfo2() differently and I wrap it in my wtp TextEditorConfiguration extension. When it's HoverCreator take the hover info (here only can be string, but it should be object from getHoverInfo2()), ClasscaseException will be thrown. Similar implementation is: org.eclipse.jdt.internal.ui.text.java.hover.BestMatchHover Exception: java.lang.ClassCastException: org.eclipse.jface.internal.text.html.BrowserInformationControl$3 incompatible with org.eclipse.jdt.internal.ui.text.java.hover.JavadocBrowserInformationControlInput at org.eclipse.jdt.internal.ui.text.java.hover.JavadocHover$3.handleInlineJavadocLink(JavadocHover.java:494) at org.eclipse.jdt.internal.ui.viewsupport.JavaElementLinks$1.changing(JavaElementLinks.java:220) at org.eclipse.swt.browser.IE$6.handleEvent(IE.java:440) at org.eclipse.swt.ole.win32.OleEventTable.sendEvent(OleEventTable.java:55) at org.eclipse.swt.ole.win32.OleEventSink.notifyListener(OleEventSink.java:145) at org.eclipse.swt.ole.win32.OleEventSink.Invoke(OleEventSink.java:120) Reproducible: Always
BestMatchHover implements ITextHoverExtension2 as of bug 360874.