Bug 49975 Java Editor "hangs" and JavaEditorTextHoverDescriptor
Software: Windows 2000, Eclipse build id I200401060800, Sun JDK 1.4.1_05. Hardware: Celeron 1,7Ghz, 512MB Ram, -Xms64M -Xmx380M vm parameters At various tasks (simple editing, saving, changing to other java editor) sometimes Eclipse "hangs" on several seconds. After some investigating I think that it maybe related to the org.eclipse.jdt.internal.ui.text.java.hover.JavaEditorTextHoverDescriptor class. I imported the jdt.ui plugin as a source plugin and and enhance the following function with one System.out: private boolean dependsOn(IPluginDescriptor descriptor0, IPluginDescriptor descriptor1) { System.out.println("# Enter: " + descriptor0.getLabel() + ", " + descriptor1.getLabel()); ... - the other remains the same } When running the runtime workbench every occured "hang" produces a large list (over 1600 elements). After this list completes I can continue my work. A sample list fraction I got for a simple "hang" (after switching two java editor with Ctrl+F6). The full list consists of 1764 lines): # Enter: JFace, JDI Debug UI # Enter: Standard Widget Toolkit, JDI Debug UI # Enter: Core Runtime Plug-in Compatibility, JDI Debug UI # Enter: org.eclipse.core.runtime, JDI Debug UI # Enter: Standard Widget Toolkit, JDI Debug UI # Enter: Core Runtime Plug-in Compatibility, JDI Debug UI # Enter: org.eclipse.core.runtime, JDI Debug UI # Enter: Text, JDI Debug UI # Enter: Core Runtime Plug-in Compatibility, JDI Debug UI # Enter: org.eclipse.core.runtime, JDI Debug UI # Enter: Standard Widget Toolkit, JDI Debug UI # Enter: Core Runtime Plug-in Compatibility, JDI Debug UI # Enter: org.eclipse.core.runtime, JDI Debug UI # Enter: Eclipse UI, JDI Debug UI # Enter: JFace, JDI Debug UI # Enter: Standard Widget Toolkit, JDI Debug UI # Enter: Core Runtime Plug-in Compatibility, JDI Debug UI # Enter: org.eclipse.core.runtime, JDI Debug UI # Enter: Workbench, JDI Debug UI # Enter: JFace, JDI Debug UI # Enter: Standard Widget Toolkit, JDI Debug UI # Enter: Core Runtime Plug-in Compatibility, JDI Debug UI # Enter: org.eclipse.core.runtime, JDI Debug UI # Enter: Standard Widget Toolkit, JDI Debug UI # Enter: Help System Core, JDI Debug UI # Enter: Core Runtime Plug-in Compatibility, JDI Debug UI # Enter: org.eclipse.core.runtime, JDI Debug UI # Enter: Core Runtime Plug-in Compatibility, JDI Debug UI # Enter: org.eclipse.core.runtime, JDI Debug UI # Enter: Standard Widget Toolkit, JDI Debug UI # Enter: Help System Core, JDI Debug UI # Enter: Core Runtime Plug-in Compatibility, JDI Debug UI # Enter: org.eclipse.core.runtime, JDI Debug UI # Enter: Core Runtime Plug-in Compatibility, JDI Debug UI # Enter: org.eclipse.core.runtime, JDI Debug UI # Enter: Text, JDI Debug UI # Enter: Core Runtime Plug-in Compatibility, JDI Debug UI # Enter: org.eclipse.core.runtime, JDI Debug UI # Enter: Core Resource Management, JDI Debug UI # Enter: Core Runtime Plug-in Compatibility, JDI Debug UI # Enter: org.eclipse.core.runtime, JDI Debug UI # Enter: Default Text Editor, JDI Debug UI # Enter: Eclipse IDE UI, JDI Debug UI # Enter: Views, JDI Debug UI # Enter: JFace, JDI Debug UI # Enter: Standard Widget Toolkit, JDI Debug UI # Enter: Core Runtime Plug-in Compatibility, JDI Debug UI # Enter: org.eclipse.core.runtime, JDI Debug UI # Enter: Workbench, JDI Debug UI # Enter: JFace, JDI Debug UI # Enter: Standard Widget Toolkit, JDI Debug UI # Enter: Core Runtime Plug-in Compatibility, JDI Debug UI # Enter: org.eclipse.core.runtime, JDI Debug UI # Enter: Standard Widget Toolkit, JDI Debug UI # Enter: Help System Core, JDI Debug UI # Enter: Core Runtime Plug-in Compatibility, JDI Debug UI # Enter: org.eclipse.core.runtime, JDI Debug UI # Enter: Core Runtime Plug-in Compatibility, JDI Debug UI # Enter: org.eclipse.core.runtime, JDI Debug UI # Enter: Standard Widget Toolkit, JDI Debug UI # Enter: Help System Core, JDI Debug UI # Enter: Core Runtime Plug-in Compatibility, JDI Debug UI # Enter: org.eclipse.core.runtime, JDI Debug UI # Enter: Core Runtime Plug-in Compatibility, JDI Debug UI # Enter: org.eclipse.core.runtime, JDI Debug UI # Enter: Eclipse UI, JDI Debug UI # Enter: JFace, JDI Debug UI # Enter: Standard Widget Toolkit, JDI Debug UI # Enter: Core Runtime Plug-in Compatibility, JDI Debug UI # Enter: org.eclipse.core.runtime, JDI Debug UI # Enter: Workbench, JDI Debug UI # Enter: JFace, JDI Debug UI # Enter: Standard Widget Toolkit, JDI Debug UI # Enter: Core Runtime Plug-in Compatibility, JDI Debug UI # Enter: org.eclipse.core.runtime, JDI Debug UI # Enter: Standard Widget Toolkit, JDI Debug UI # Enter: Help System Core, JDI Debug UI # Enter: Core Runtime Plug-in Compatibility, JDI Debug UI # Enter: org.eclipse.core.runtime, JDI Debug UI # Enter: Core Runtime Plug-in Compatibility, JDI Debug UI # Enter: org.eclipse.core.runtime, JDI Debug UI # Enter: Standard Widget Toolkit, JDI Debug UI # Enter: Help System Core, JDI Debug UI # Enter: Core Runtime Plug-in Compatibility, JDI Debug UI # Enter: org.eclipse.core.runtime, JDI Debug UI # Enter: Core Runtime Plug-in Compatibility, JDI Debug UI # Enter: org.eclipse.core.runtime, JDI Debug UI # Enter: JFace, JDI Debug UI # Enter: Standard Widget Toolkit, JDI Debug UI # Enter: Core Runtime Plug-in Compatibility, JDI Debug UI # Enter: org.eclipse.core.runtime, JDI Debug UI # Enter: Workbench, JDI Debug UI # Enter: JFace, JDI Debug UI # Enter: Standard Widget Toolkit, JDI Debug UI # Enter: Core Runtime Plug-in Compatibility, JDI Debug UI # Enter: org.eclipse.core.runtime, JDI Debug UI # Enter: Standard Widget Toolkit, JDI Debug UI # Enter: Help System Core, JDI Debug UI # Enter: Core Runtime Plug-in Compatibility, JDI Debug UI # Enter: org.eclipse.core.runtime, JDI Debug UI # Enter: Core Runtime Plug-in Compatibility, JDI Debug UI # Enter: org.eclipse.core.runtime, JDI Debug UI # Enter: Standard Widget Toolkit, JDI Debug UI # Enter: Help System Core, JDI Debug UI # Enter: Core Runtime Plug-in Compatibility, JDI Debug UI # Enter: org.eclipse.core.runtime, JDI Debug UI # Enter: Core Runtime Plug-in Compatibility, JDI Debug UI # Enter: Install/Update Core, JDI Debug UI # Enter: Core Runtime Plug-in Compatibility, JDI Debug UI # Enter: Install/Update Configurator, JDI Debug UI # Enter: org.eclipse.core.runtime, JDI Debug UI # Enter: Core Resource Management, JDI Debug UI # Enter: Core Runtime Plug-in Compatibility, JDI Debug UI # Enter: org.eclipse.core.runtime, JDI Debug UI # Enter: org.eclipse.core.runtime, JDI Debug UI # Enter: Eclipse UI, JDI Debug UI # Enter: JFace, JDI Debug UI # Enter: Standard Widget Toolkit, JDI Debug UI # Enter: Core Runtime Plug-in Compatibility, JDI Debug UI # Enter: org.eclipse.core.runtime, JDI Debug UI # Enter: Workbench, JDI Debug UI # Enter: JFace, JDI Debug UI # Enter: Standard Widget Toolkit, JDI Debug UI # Enter: Core Runtime Plug-in Compatibility, JDI Debug UI # Enter: org.eclipse.core.runtime, JDI Debug UI # Enter: Standard Widget Toolkit, JDI Debug UI # Enter: Help System Core, JDI Debug UI # Enter: Core Runtime Plug-in Compatibility, JDI Debug UI # Enter: org.eclipse.core.runtime, JDI Debug UI # Enter: Core Runtime Plug-in Compatibility, JDI Debug UI # Enter: org.eclipse.core.runtime, JDI Debug UI # Enter: Standard Widget Toolkit, JDI Debug UI # Enter: Help System Core, JDI Debug UI # Enter: Core Runtime Plug-in Compatibility, JDI Debug UI # Enter: org.eclipse.core.runtime, JDI Debug UI # Enter: Core Runtime Plug-in Compatibility, JDI Debug UI # Enter: org.eclipse.core.runtime, JDI Debug UI # Enter: JFace, JDI Debug UI # Enter: Standard Widget Toolkit, JDI Debug UI # Enter: Core Runtime Plug-in Compatibility, JDI Debug UI # Enter: org.eclipse.core.runtime, JDI Debug UI # Enter: Workbench, JDI Debug UI # Enter: JFace, JDI Debug UI # Enter: Standard Widget Toolkit, JDI Debug UI # Enter: Core Runtime Plug-in Compatibility, JDI Debug UI # Enter: org.eclipse.core.runtime, JDI Debug UI # Enter: Standard Widget Toolkit, JDI Debug UI # Enter: Help System Core, JDI Debug UI # Enter: Core Runtime Plug-in Compatibility, JDI Debug UI # Enter: org.eclipse.core.runtime, JDI Debug UI # Enter: Core Runtime Plug-in Compatibility, JDI Debug UI # Enter: org.eclipse.core.runtime, JDI Debug UI # Enter: JFace Text, JDI Debug UI # Enter: JFace, JDI Debug UI # Enter: Standard Widget Toolkit, JDI Debug UI # Enter: Core Runtime Plug-in Compatibility, JDI Debug UI # Enter: org.eclipse.core.runtime, JDI Debug UI # Enter: Standard Widget Toolkit, JDI Debug UI # Enter: Core Runtime Plug-in Compatibility, JDI Debug UI # Enter: org.eclipse.core.runtime, JDI Debug UI # Enter: Text, JDI Debug UI # Enter: Core Runtime Plug-in Compatibility, JDI Debug UI # Enter: org.eclipse.core.runtime, JDI Debug UI # Enter: Standard Widget Toolkit, JDI Debug UI # Enter: Core Runtime Plug-in Compatibility, JDI Debug UI # Enter: Text Editor Framework, JDI Debug UI # Enter: JFace, JDI Debug UI # Enter: Standard Widget Toolkit, JDI Debug UI # Enter: Core Runtime Plug-in Compatibility, JDI Debug UI # Enter: org.eclipse.core.runtime, JDI Debug UI # Enter: Workbench, JDI Debug UI # Enter: JFace, JDI Debug UI # Enter: Standard Widget Toolkit, JDI Debug UI # Enter: Core Runtime Plug-in Compatibility, JDI Debug UI # Enter: org.eclipse.core.runtime, JDI Debug UI # Enter: Standard Widget Toolkit, JDI Debug UI # Enter: Help System Core, JDI Debug UI # Enter: Core Runtime Plug-in Compatibility, JDI Debug UI # Enter: org.eclipse.core.runtime, JDI Debug UI # Enter: Core Runtime Plug-in Compatibility, JDI Debug UI # Enter: org.eclipse.core.runtime, JDI Debug UI # Enter: JFace Text, JDI Debug UI # Enter: JFace, JDI Debug UI # Enter: Standard Widget Toolkit, JDI Debug UI # Enter: Core Runtime Plug-in Compatibility, JDI Debug UI # Enter: org.eclipse.core.runtime, JDI Debug UI # Enter: Standard Widget Toolkit, JDI Debug UI # Enter: Core Runtime Plug-in Compatibility, JDI Debug UI # Enter: org.eclipse.core.runtime, JDI Debug UI # Enter: Text, JDI Debug UI # Enter: Core Runtime Plug-in Compatibility, JDI Debug UI # Enter: org.eclipse.core.runtime, JDI Debug UI # Enter: Standard Widget Toolkit, JDI Debug UI # Enter: Core Runtime Plug-in Compatibility, JDI Debug UI # Enter: org.eclipse.core.runtime, JDI Debug UI # Enter: Eclipse UI, JDI Debug UI # Enter: JFace, JDI Debug UI # Enter: Standard Widget Toolkit, JDI Debug UI # Enter: Core Runtime Plug-in Compatibility, JDI Debug UI # Enter: org.eclipse.core.runtime, JDI Debug UI # Enter: Workbench, JDI Debug UI # Enter: JFace, JDI Debug UI # Enter: Standard Widget Toolkit, JDI Debug UI # Enter: Core Runtime Plug-in Compatibility, JDI Debug UI # Enter: org.eclipse.core.runtime, JDI Debug UI # Enter: Standard Widget Toolkit, JDI Debug UI # Enter: Help System Core, JDI Debug UI # Enter: Core Runtime Plug-in Compatibility, JDI Debug UI # Enter: org.eclipse.core.runtime, JDI Debug UI # Enter: Core Runtime Plug-in Compatibility, JDI Debug UI # Enter: org.eclipse.core.runtime, JDI Debug UI # Enter: Standard Widget Toolkit, JDI Debug UI # Enter: Help System Core, JDI Debug UI # Enter: Core Runtime Plug-in Compatibility, JDI Debug UI # Enter: org.eclipse.core.runtime, JDI Debug UI # Enter: Core Runtime Plug-in Compatibility, JDI Debug UI # Enter: org.eclipse.core.runtime, JDI Debug UI # Enter: Text, JDI Debug UI # Enter: Core Runtime Plug-in Compatibility, JDI Debug UI # Enter: org.eclipse.core.runtime, JDI Debug UI # Enter: Core Resource Management, JDI Debug UI # Enter: Core Runtime Plug-in Compatibility, JDI Debug UI # Enter: org.eclipse.core.runtime, JDI Debug UI # Enter: org.eclipse.core.runtime, JDI Debug UI # Enter: File Buffers, JDI Debug UI # Enter: Core Runtime Plug-in Compatibility, JDI Debug UI # Enter: Core Resource Management, JDI Debug UI # Enter: Core Runtime Plug-in Compatibility, JDI Debug UI # Enter: org.eclipse.core.runtime, JDI Debug UI # Enter: org.eclipse.core.runtime, JDI Debug UI # Enter: Text, JDI Debug UI # Enter: Core Runtime Plug-in Compatibility, JDI Debug UI # Enter: org.eclipse.core.runtime, JDI Debug UI # Enter: Eclipse UI, JDI Debug UI # Enter: JFace, JDI Debug UI # Enter: Standard Widget Toolkit, JDI Debug UI # Enter: Core Runtime Plug-in Compatibility, JDI Debug UI # Enter: org.eclipse.core.runtime, JDI Debug UI # Enter: Workbench, JDI Debug UI # Enter: JFace, JDI Debug UI # Enter: Standard Widget Toolkit, JDI Debug UI # Enter: Core Runtime Plug-in Compatibility, JDI Debug UI # Enter: org.eclipse.core.runtime, JDI Debug UI # Enter: Standard Widget Toolkit, JDI Debug UI # Enter: Help System Core, JDI Debug UI # Enter: Core Runtime Plug-in Compatibility, JDI Debug UI # Enter: org.eclipse.core.runtime, JDI Debug UI # Enter: Core Runtime Plug-in Compatibility, JDI Debug UI # Enter: org.eclipse.core.runtime, JDI Debug UI # Enter: Standard Widget Toolkit, JDI Debug UI # Enter: Help System Core, JDI Debug UI # Enter: Core Runtime Plug-in Compatibility, JDI Debug UI # Enter: org.eclipse.core.runtime, JDI Debug UI # Enter: Core Runtime Plug-in Compatibility, JDI Debug UI # Enter: org.eclipse.core.runtime, JDI Debug UI # Enter: Text, JDI Debug UI # Enter: Core Runtime Plug-in Compatibility, JDI Debug UI # Enter: org.eclipse.core.runtime, JDI Debug UI # Enter: Eclipse UI, JDI Debug UI # Enter: JFace, JDI Debug UI # Enter: Standard Widget Toolkit, JDI Debug UI # Enter: Core Runtime Plug-in Compatibility, JDI Debug UI # Enter: org.eclipse.core.runtime, JDI Debug UI # Enter: Workbench, JDI Debug UI # Enter: JFace, JDI Debug UI # Enter: Standard Widget Toolkit, JDI Debug UI # Enter: Core Runtime Plug-in Compatibility, JDI Debug UI # Enter: org.eclipse.core.runtime, JDI Debug UI # Enter: Standard Widget Toolkit, JDI Debug UI # Enter: Help System Core, JDI Debug UI # Enter: Core Runtime Plug-in Compatibility, JDI Debug UI # Enter: org.eclipse.core.runtime, JDI Debug UI # Enter: Core Runtime Plug-in Compatibility, JDI Debug UI # Enter: org.eclipse.core.runtime, JDI Debug UI # Enter: Standard Widget Toolkit, JDI Debug UI # Enter: Help System Core, JDI Debug UI # Enter: Core Runtime Plug-in Compatibility, JDI Debug UI # Enter: org.eclipse.core.runtime, JDI Debug UI # Enter: Core Runtime Plug-in Compatibility, JDI Debug UI # Enter: org.eclipse.core.runtime, JDI Debug UI # Enter: Text, JDI Debug UI # Enter: Core Runtime Plug-in Compatibility, JDI Debug UI # Enter: org.eclipse.core.runtime, JDI Debug UI # Enter: Compare Support, JDI Debug UI # Enter: Eclipse IDE UI, JDI Debug UI # Enter: Views, JDI Debug UI # Enter: JFace, JDI Debug UI # Enter: Standard Widget Toolkit, JDI Debug UI # Enter: Core Runtime Plug-in Compatibility, JDI Debug UI # Enter: org.eclipse.core.runtime, JDI Debug UI # Enter: Workbench, JDI Debug UI # Enter: JFace, JDI Debug UI # Enter: Standard Widget Toolkit, JDI Debug UI # Enter: Core Runtime Plug-in Compatibility, JDI Debug UI # Enter: org.eclipse.core.runtime, JDI Debug UI # Enter: Standard Widget Toolkit, JDI Debug UI # Enter: Help System Core, JDI Debug UI # Enter: Core Runtime Plug-in Compatibility, JDI Debug UI # Enter: org.eclipse.core.runtime, JDI Debug UI # Enter: Core Runtime Plug-in Compatibility, JDI Debug UI # Enter: org.eclipse.core.runtime, JDI Debug UI # Enter: Standard Widget Toolkit, JDI Debug UI # Enter: Help System Core, JDI Debug UI # Enter: Core Runtime Plug-in Compatibility, JDI Debug UI # Enter: org.eclipse.core.runtime, JDI Debug UI # Enter: Core Runtime Plug-in Compatibility, JDI Debug UI # Enter: org.eclipse.core.runtime, JDI Debug UI # Enter: Eclipse UI, JDI Debug UI # Enter: JFace, JDI Debug UI # Enter: Standard Widget Toolkit, JDI Debug UI # Enter: Core Runtime Plug-in Compatibility, JDI Debug UI # Enter: org.eclipse.core.runtime, JDI Debug UI # Enter: Workbench, JDI Debug UI # Enter: JFace, JDI Debug UI # Enter: Standard Widget Toolkit, JDI Debug UI # Enter: Core Runtime Plug-in Compatibility, JDI Debug UI # Enter: org.eclipse.core.runtime, JDI Debug UI # Enter: Standard Widget Toolkit, JDI Debug UI # Enter: Help System Core, JDI Debug UI # Enter: Core Runtime Plug-in Compatibility, JDI Debug UI # Enter: org.eclipse.core.runtime, JDI Debug UI # Enter: Core Runtime Plug-in Compatibility, JDI Debug UI # Enter: org.eclipse.core.runtime, JDI Debug UI # Enter: Standard Widget Toolkit, JDI Debug UI # Enter: Help System Core, JDI Debug UI # Enter: Core Runtime Plug-in Compatibility, JDI Debug UI # Enter: org.eclipse.core.runtime, JDI Debug UI # Enter: Core Runtime Plug-in Compatibility, JDI Debug UI # Enter: org.eclipse.core.runtime, JDI Debug UI # Enter: JFace, JDI Debug UI # Enter: Standard Widget Toolkit, JDI Debug UI # Enter: Core Runtime Plug-in Compatibility, JDI Debug UI # Enter: org.eclipse.core.runtime, JDI Debug UI # Enter: Workbench, JDI Debug UI # Enter: JFace, JDI Debug UI # Enter: Standard Widget Toolkit, JDI Debug UI # Enter: Core Runtime Plug-in Compatibility, JDI Debug UI # Enter: org.eclipse.core.runtime, JDI Debug UI # Enter: Standard Widget Toolkit, JDI Debug UI # Enter: Help System Core, JDI Debug UI # Enter: Core Runtime Plug-in Compatibility, JDI Debug UI # Enter: org.eclipse.core.runtime, JDI Debug UI # Enter: Core Runtime Plug-in Compatibility, JDI Debug UI # Enter: org.eclipse.core.runtime, JDI Debug UI # Enter: Standard Widget Toolkit, JDI Debug UI # Enter: Help System Core, JDI Debug UI # Enter: Core Runtime Plug-in Compatibility, JDI Debug UI # Enter: org.eclipse.core.runtime, JDI Debug UI # Enter: Core Runtime Plug-in Compatibility, JDI Debug UI # Enter: Install/Update Core, JDI Debug UI # Enter: Core Runtime Plug-in Compatibility, JDI Debug UI # Enter: Install/Update Configurator, JDI Debug UI # Enter: org.eclipse.core.runtime, JDI Debug UI # Enter: Core Resource Management, JDI Debug UI # Enter: Core Runtime Plug-in Compatibility, JDI Debug UI # Enter: org.eclipse.core.runtime, JDI Debug UI # Enter: org.eclipse.core.runtime, JDI Debug UI # Enter: Eclipse UI, JDI Debug UI # Enter: JFace, JDI Debug UI # Enter: Standard Widget Toolkit, JDI Debug UI # Enter: Core Runtime Plug-in Compatibility, JDI Debug UI # Enter: org.eclipse.core.runtime, JDI Debug UI # Enter: Workbench, JDI Debug UI # Enter: JFace, JDI Debug UI # Enter: Standard Widget Toolkit, JDI Debug UI # Enter: Core Runtime Plug-in Compatibility, JDI Debug UI # Enter: org.eclipse.core.runtime, JDI Debug UI # Enter: Standard Widget Toolkit, JDI Debug UI # Enter: Help System Core, JDI Debug UI # Enter: Core Runtime Plug-in Compatibility, JDI Debug UI # Enter: org.eclipse.core.runtime, JDI Debug UI # Enter: Core Runtime Plug-in Compatibility, JDI Debug UI # Enter: org.eclipse.core.runtime, JDI Debug UI # Enter: Standard Widget Toolkit, JDI Debug UI # Enter: Help System Core, JDI Debug UI # Enter: Core Runtime Plug-in Compatibility, JDI Debug UI # Enter: org.eclipse.core.runtime, JDI Debug UI # Enter: Core Runtime Plug-in Compatibility, JDI Debug UI # Enter: org.eclipse.core.runtime, JDI Debug UI # Enter: JFace, JDI Debug UI # Enter: Standard Widget Toolkit, JDI Debug UI # Enter: Core Runtime Plug-in Compatibility, JDI Debug UI # Enter: org.eclipse.core.runtime, JDI Debug UI # Enter: Workbench, JDI Debug UI # Enter: JFace, JDI Debug UI # Enter: Standard Widget Toolkit, JDI Debug UI # Enter: Core Runtime Plug-in Compatibility, JDI Debug UI # Enter: org.eclipse.core.runtime, JDI Debug UI # Enter: Standard Widget Toolkit, JDI Debug UI # Enter: Help System Core, JDI Debug UI # Enter: Core Runtime Plug-in Compatibility, JDI Debug UI # Enter: org.eclipse.core.runtime, JDI Debug UI # Enter: Core Runtime Plug-in Compatibility, JDI Debug UI # Enter: org.eclipse.core.runtime, JDI Debug UI # Enter: JFace Text, JDI Debug UI # Enter: JFace, JDI Debug UI # Enter: Standard Widget Toolkit, JDI Debug UI # Enter: Core Runtime Plug-in Compatibility, JDI Debug UI # Enter: org.eclipse.core.runtime, JDI Debug UI # Enter: Standard Widget Toolkit, JDI Debug UI # Enter: Core Runtime Plug-in Compatibility, JDI Debug UI # Enter: org.eclipse.core.runtime, JDI Debug UI # Enter: Text, JDI Debug UI # Enter: Core Runtime Plug-in Compatibility, JDI Debug UI # Enter: org.eclipse.core.runtime, JDI Debug UI # Enter: Standard Widget Toolkit, JDI Debug UI # Enter: Core Runtime Plug-in Compatibility, JDI Debug UI # Enter: Text Editor Framework, JDI Debug UI # Enter: JFace, JDI Debug UI # Enter: Standard Widget Toolkit, JDI Debug UI # Enter: Core Runtime Plug-in Compatibility, JDI Debug UI # Enter: org.eclipse.core.runtime, JDI Debug UI # Enter: Workbench, JDI Debug UI # Enter: JFace, JDI Debug UI # Enter: Standard Widget Toolkit, JDI Debug UI # Enter: Core Runtime Plug-in Compatibility, JDI Debug UI # Enter: org.eclipse.core.runtime, JDI Debug UI # Enter: Standard Widget Toolkit, JDI Debug UI # Enter: Help System Core, JDI Debug UI # Enter: Core Runtime Plug-in Compatibility, JDI Debug UI # Enter: org.eclipse.core.runtime, JDI Debug UI # Enter: Core Runtime Plug-in Compatibility, JDI Debug UI # Enter: org.eclipse.core.runtime, JDI Debug UI # Enter: JFace Text, JDI Debug UI # Enter: JFace, JDI Debug UI # Enter: Standard Widget Toolkit, JDI Debug UI # Enter: Core Runtime Plug-in Compatibility, JDI Debug UI # Enter: org.eclipse.core.runtime, JDI Debug UI # Enter: Standard Widget Toolkit, JDI Debug UI # Enter: Core Runtime Plug-in Compatibility, JDI Debug UI # Enter: org.eclipse.core.runtime, JDI Debug UI # Enter: Text, JDI Debug UI # Enter: Core Runtime Plug-in Compatibility, JDI Debug UI # Enter: org.eclipse.core.runtime, JDI Debug UI # Enter: Standard Widget Toolkit, JDI Debug UI # Enter: Core Runtime Plug-in Compatibility, JDI Debug UI # Enter: org.eclipse.core.runtime, JDI Debug UI # Enter: Eclipse UI, JDI Debug UI # Enter: JFace, JDI Debug UI # Enter: Standard Widget Toolkit, JDI Debug UI # Enter: Core Runtime Plug-in Compatibility, JDI Debug UI # Enter: org.eclipse.core.runtime, JDI Debug UI # Enter: Workbench, JDI Debug UI # Enter: JFace, JDI Debug UI # Enter: Standard Widget Toolkit, JDI Debug UI # Enter: Core Runtime Plug-in Compatibility, JDI Debug UI # Enter: org.eclipse.core.runtime, JDI Debug UI # Enter: Standard Widget Toolkit, JDI Debug UI # Enter: Help System Core, JDI Debug UI # Enter: Core Runtime Plug-in Compatibility, JDI Debug UI # Enter: org.eclipse.core.runtime, JDI Debug UI # Enter: Core Runtime Plug-in Compatibility, JDI Debug UI # Enter: org.eclipse.core.runtime, JDI Debug UI # Enter: Standard Widget Toolkit, JDI Debug UI # Enter: Help System Core, JDI Debug UI # Enter: Core Runtime Plug-in Compatibility, JDI Debug UI # Enter: org.eclipse.core.runtime, JDI Debug UI # Enter: Core Runtime Plug-in Compatibility, JDI Debug UI # Enter: org.eclipse.core.runtime, JDI Debug UI # Enter: Text, JDI Debug UI # Enter: Core Runtime Plug-in Compatibility, JDI Debug UI # Enter: org.eclipse.core.runtime, JDI Debug UI # Enter: Core Resource Management, JDI Debug UI # Enter: Core Runtime Plug-in Compatibility, JDI Debug UI # Enter: org.eclipse.core.runtime, JDI Debug UI # Enter: org.eclipse.core.runtime, JDI Debug UI # Enter: Eclipse UI, JDI Debug UI # Enter: JFace, JDI Debug UI # Enter: Standard Widget Toolkit, JDI Debug UI # Enter: Core Runtime Plug-in Compatibility, JDI Debug UI # Enter: org.eclipse.core.runtime, JDI Debug UI # Enter: Workbench, JDI Debug UI # Enter: JFace, JDI Debug UI # Enter: Standard Widget Toolkit, JDI Debug UI # Enter: Core Runtime Plug-in Compatibility, JDI Debug UI # Enter: org.eclipse.core.runtime, JDI Debug UI # Enter: Standard Widget Toolkit, JDI Debug UI # Enter: Help System Core, JDI Debug UI # Enter: Core Runtime Plug-in Compatibility, JDI Debug UI # Enter: org.eclipse.core.runtime, JDI Debug UI # Enter: Core Runtime Plug-in Compatibility, JDI Debug UI # Enter: org.eclipse.core.runtime, JDI Debug UI # Enter: Standard Widget Toolkit, JDI Debug UI # Enter: Help System Core, JDI Debug UI # Enter: Core Runtime Plug-in Compatibility, JDI Debug UI # Enter: org.eclipse.core.runtime, JDI Debug UI # Enter: Core Runtime Plug-in Compatibility, JDI Debug UI # Enter: org.eclipse.core.runtime, JDI Debug UI # Enter: Text, JDI Debug UI # Enter: Core Runtime Plug-in Compatibility, JDI Debug UI # Enter: org.eclipse.core.runtime, JDI Debug UI # Enter: Eclipse IDE UI, JDI Debug UI # Enter: Views, JDI Debug UI # Enter: JFace, JDI Debug UI # Enter: Standard Widget Toolkit, JDI Debug UI # Enter: Core Runtime Plug-in Compatibility, JDI Debug UI # Enter: org.eclipse.core.runtime, JDI Debug UI # Enter: Workbench, JDI Debug UI # Enter: JFace, JDI Debug UI # Enter: Standard Widget Toolkit, JDI Debug UI # Enter: Core Runtime Plug-in Compatibility, JDI Debug UI # Enter: org.eclipse.core.runtime, JDI Debug UI # Enter: Standard Widget Toolkit, JDI Debug UI # Enter: Help System Core, JDI Debug UI # Enter: Core Runtime Plug-in Compatibility, JDI Debug UI # Enter: org.eclipse.core.runtime, JDI Debug UI # Enter: Core Runtime Plug-in Compatibility, JDI Debug UI # Enter: org.eclipse.core.runtime, JDI Debug UI # Enter: Standard Widget Toolkit, JDI Debug UI # Enter: Help System Core, JDI Debug UI # Enter: Core Runtime Plug-in Compatibility, JDI Debug UI # Enter: org.eclipse.core.runtime, JDI Debug UI # Enter: Core Runtime Plug-in Compatibility, JDI Debug UI # Enter: org.eclipse.core.runtime, JDI Debug UI # Enter: Eclipse UI, JDI Debug UI # Enter: JFace, JDI Debug UI # Enter: Standard Widget Toolkit, JDI Debug UI # Enter: Core Runtime Plug-in Compatibility, JDI Debug UI # Enter: org.eclipse.core.runtime, JDI Debug UI # Enter: Workbench, JDI Debug UI # Enter: JFace, JDI Debug UI # Enter: Standard Widget Toolkit, JDI Debug UI # Enter: Core Runtime Plug-in Compatibility, JDI Debug UI # Enter: org.eclipse.core.runtime, JDI Debug UI # Enter: Standard Widget Toolkit, JDI Debug UI # Enter: Help System Core, JDI Debug UI # Enter: Core Runtime Plug-in Compatibility, JDI Debug UI # Enter: org.eclipse.core.runtime, JDI Debug UI # Enter: Core Runtime Plug-in Compatibility, JDI Debug UI # Enter: org.eclipse.core.runtime, JDI Debug UI # Enter: Standard Widget Toolkit, JDI Debug UI # Enter: Help System Core, JDI Debug UI # Enter: Core Runtime Plug-in Compatibility, JDI Debug UI # Enter: org.eclipse.core.runtime, JDI Debug UI # Enter: Core Runtime Plug-in Compatibility, JDI Debug UI # Enter: org.eclipse.core.runtime, JDI Debug UI # Enter: JFace, JDI Debug UI # Enter: Standard Widget Toolkit, JDI Debug UI # Enter: Core Runtime Plug-in Compatibility, JDI Debug UI # Enter: org.eclipse.core.runtime, JDI Debug UI # Enter: Workbench, JDI Debug UI # Enter: JFace, JDI Debug UI # Enter: Standard Widget Toolkit, JDI Debug UI # Enter: Core Runtime Plug-in Compatibility, JDI Debug UI # Enter: org.eclipse.core.runtime, JDI Debug UI # Enter: Standard Widget Toolkit, JDI Debug UI # Enter: Help System Core, JDI Debug UI # Enter: Core Runtime Plug-in Compatibility, JDI Debug UI # Enter: org.eclipse.core.runtime, JDI Debug UI # Enter: Core Runtime Plug-in Compatibility, JDI Debug UI # Enter: org.eclipse.core.runtime, JDI Debug UI # Enter: Standard Widget Toolkit, JDI Debug UI # Enter: Help System Core, JDI Debug UI # Enter: Core Runtime Plug-in Compatibility, JDI Debug UI # Enter: org.eclipse.core.runtime, JDI Debug UI # Enter: Core Runtime Plug-in Compatibility, JDI Debug UI # Enter: Install/Update Core, JDI Debug UI # Enter: Core Runtime Plug-in Compatibility, JDI Debug UI # Enter: Install/Update Configurator, JDI Debug UI # Enter: org.eclipse.core.runtime, JDI Debug UI # Enter: Core Resource Management, JDI Debug UI # Enter: Core Runtime Plug-in Compatibility, JDI Debug UI # Enter: org.eclipse.core.runtime, JDI Debug UI # Enter: org.eclipse.core.runtime, JDI Debug UI # Enter: Eclipse UI, JDI Debug UI # Enter: JFace, JDI Debug UI # Enter: Standard Widget Toolkit, JDI Debug UI # Enter: Core Runtime Plug-in Compatibility, JDI Debug UI # Enter: org.eclipse.core.runtime, JDI Debug UI # Enter: Workbench, JDI Debug UI # Enter: JFace, JDI Debug UI # Enter: Standard Widget Toolkit, JDI Debug UI # Enter: Core Runtime Plug-in Compatibility, JDI Debug UI # Enter: org.eclipse.core.runtime, JDI Debug UI # Enter: Standard Widget Toolkit, JDI Debug UI # Enter: Help System Core, JDI Debug UI # Enter: Core Runtime Plug-in Compatibility, JDI Debug UI # Enter: org.eclipse.core.runtime, JDI Debug UI # Enter: Core Runtime Plug-in Compatibility, JDI Debug UI # Enter: org.eclipse.core.runtime, JDI Debug UI # Enter: Standard Widget Toolkit, JDI Debug UI # Enter: Help System Core, JDI Debug UI # Enter: Core Runtime Plug-in Compatibility, JDI Debug UI # Enter: org.eclipse.core.runtime, JDI Debug UI # Enter: Core Runtime Plug-in Compatibility, JDI Debug UI # Enter: org.eclipse.core.runtime, JDI Debug UI # Enter: Workbench, JDI Debug UI # Enter: JFace, JDI Debug UI # Enter: Standard Widget Toolkit, JDI Debug UI # Enter: Core Runtime Plug-in Compatibility, JDI Debug UI # Enter: org.eclipse.core.runtime, JDI Debug UI # Enter: Standard Widget Toolkit, JDI Debug UI # Enter: Help System Core, JDI Debug UI # Enter: Core Runtime Plug-in Compatibility, JDI Debug UI # Enter: org.eclipse.core.runtime, JDI Debug UI # Enter: Core Runtime Plug-in Compatibility, JDI Debug UI # Enter: org.eclipse.core.runtime, JDI Debug UI # Enter: Search Support, JDI Debug UI # Enter: Eclipse IDE UI, JDI Debug UI # Enter: Views, JDI Debug UI # Enter: JFace, JDI Debug UI # Enter: Standard Widget Toolkit, JDI Debug UI # Enter: Core Runtime Plug-in Compatibility, JDI Debug UI # Enter: org.eclipse.core.runtime, JDI Debug UI # Enter: Workbench, JDI Debug UI # Enter: JFace, JDI Debug UI # Enter: Standard Widget Toolkit, JDI Debug UI # Enter: Core Runtime Plug-in Compatibility, JDI Debug UI # Enter: org.eclipse.core.runtime, JDI Debug UI # Enter: Standard Widget Toolkit, JDI Debug UI # Enter: Help System Core, JDI Debug UI # Enter: Core Runtime Plug-in Compatibility, JDI Debug UI # Enter: org.eclipse.core.runtime, JDI Debug UI # Enter: Core Runtime Plug-in Compatibility, JDI Debug UI # Enter: org.eclipse.core.runtime, JDI Debug UI # Enter: Standard Widget Toolkit, JDI Debug UI # Enter: Help System Core, JDI Debug UI # Enter: Core Runtime Plug-in Compatibility, JDI Debug UI # Enter: org.eclipse.core.runtime, JDI Debug UI # Enter: Core Runtime Plug-in Compatibility, JDI Debug UI # Enter: org.eclipse.core.runtime, JDI Debug UI # Enter: Eclipse UI, JDI Debug UI # Enter: JFace, JDI Debug UI # Enter: Standard Widget Toolkit, JDI Debug UI # Enter: Core Runtime Plug-in Compatibility, JDI Debug UI # Enter: org.eclipse.core.runtime, JDI Debug UI # Enter: Workbench, JDI Debug UI # Enter: JFace, JDI Debug UI # Enter: Standard Widget Toolkit, JDI Debug UI # Enter: Core Runtime Plug-in Compatibility, JDI Debug UI # Enter: org.eclipse.core.runtime, JDI Debug UI # Enter: Standard Widget Toolkit, JDI Debug UI # Enter: Help System Core, JDI Debug UI # Enter: Core Runtime Plug-in Compatibility, JDI Debug UI # Enter: org.eclipse.core.runtime, JDI Debug UI # Enter: Core Runtime Plug-in Compatibility, JDI Debug UI # Enter: org.eclipse.core.runtime, JDI Debug UI # Enter: Standard Widget Toolkit, JDI Debug UI # Enter: Help System Core, JDI Debug UI # Enter: Core Runtime Plug-in Compatibility, JDI Debug UI # Enter: org.eclipse.core.runtime, JDI Debug UI # Enter: Core Runtime Plug-in Compatibility, JDI Debug UI # Enter: org.eclipse.core.runtime, JDI Debug UI # Enter: JFace, JDI Debug UI # Enter: Standard Widget Toolkit, JDI Debug UI # Enter: Core Runtime Plug-in Compatibility, JDI Debug UI # Enter: org.eclipse.core.runtime, JDI Debug UI # Enter: Workbench, JDI Debug UI # Enter: JFace, JDI Debug UI # Enter: Standard Widget Toolkit, JDI Debug UI # Enter: Core Runtime Plug-in Compatibility, JDI Debug UI # Enter: org.eclipse.core.runtime, JDI Debug UI # Enter: Standard Widget Toolkit, JDI Debug UI # Enter: Help System Core, JDI Debug UI # Enter: Core Runtime Plug-in Compatibility, JDI Debug UI # Enter: org.eclipse.core.runtime, JDI Debug UI # Enter: Core Runtime Plug-in Compatibility, JDI Debug UI # Enter: org.eclipse.core.runtime, JDI Debug UI # Enter: Standard Widget Toolkit, JDI Debug UI # Enter: Help System Core, JDI Debug UI # Enter: Core Runtime Plug-in Compatibility, JDI Debug UI # Enter: org.eclipse.core.runtime, JDI Debug UI # Enter: Core Runtime Plug-in Compatibility, JDI Debug UI # Enter: Install/Update Core, JDI Debug UI # Enter: Core Runtime Plug-in Compatibility, JDI Debug UI # Enter: Install/Update Configurator, JDI Debug UI # Enter: org.eclipse.core.runtime, JDI Debug UI # Enter: Core Resource Management, JDI Debug UI # Enter: Core Runtime Plug-in Compatibility, JDI Debug UI # Enter: org.eclipse.core.runtime, JDI Debug UI # Enter: org.eclipse.core.runtime, JDI Debug UI # Enter: Eclipse UI, JDI Debug UI # Enter: JFace, JDI Debug UI # Enter: Standard Widget Toolkit, JDI Debug UI # Enter: Core Runtime Plug-in Compatibility, JDI Debug UI # Enter: org.eclipse.core.runtime, JDI Debug UI # Enter: Workbench, JDI Debug UI # Enter: JFace, JDI Debug UI # Ent
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/java/hover/BestMatchHover.java
/*******************************************************************************
 * Copyright (c) 2000, 2003 IBM Corporation and others.
 * All rights reserved. This program and the accompanying materials 
 * are made available under the terms of the Common Public License v1.0
 * which accompanies this distribution, and is available at
 * http://www.eclipse.org/legal/cpl-v10.html
 * 
 * Contributors:
 *     IBM Corporation - initial API and implementation
 *******************************************************************************/
package org.eclipse.jdt.internal.ui.text.java.hover;
import java.util.ArrayList;
import java.util.Collections;
import java.util.Comparator;
import java.util.Iterator;
import java.util.List;
import org.eclipse.jface.text.IInformationControlCreator;
import org.eclipse.jface.text.IRegion;
import org.eclipse.jface.text.ITextHover;
import org.eclipse.jface.text.ITextHoverExtension;
import org.eclipse.jface.text.ITextViewer;
import org.eclipse.jface.text.information.IInformationProviderExtension2;
import org.eclipse.ui.IEditorPart;
import org.eclipse.jdt.ui.PreferenceConstants;
import org.eclipse.jdt.ui.text.java.hover.IJavaEditorTextHover;
import org.eclipse.jdt.internal.ui.JavaPlugin;
/**
 * Caution: this implementation is a layer breaker and contains some "shortcuts"
 */
public class BestMatchHover extends AbstractJavaEditorTextHover implements ITextHoverExtension, IInformationProviderExtension2 {