Bug 100155 [hovering] Hover labels for local variables
RC2 Hover over a local variable, e.g. x. The hover shows: 'int p.Try2.m().x' in 3.0 we showed 'int x - p.Try2.m()' which I think is much better. As a side note, the important information should be (besides the type of the variable), that this is a local variable or a parameter. class Try2 { int m() { int x = 0; return x; } }
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/java/hover/JavadocHover.java
buf.append("&lt;"); 
			} else if (ch == '>') {
				buf.append("&gt;"); 
			} else {
				buf.append(ch);
			}
		}
		return buf.toString();
	}
	/**
	 * Returns the style sheet URL.
	 *
	 * @since 3.1
	 */
	protected URL getStyleSheetURL() {
		if (fStyleSheetURL == null) {
			Bundle bundle= Platform.getBundle(JavaPlugin.getPluginId());
			fStyleSheetURL= bundle.getEntry("/JavadocHoverStyleSheet.css"); 
			if (fStyleSheetURL != null) {
				try {
					fStyleSheetURL= Platform.asLocalURL(fStyleSheetURL);
				} catch (IOException ex) {
					JavaPlugin.log(ex);
				}
			}
		}
		return fStyleSheetURL;
	}
}