Bug 36498 outline view signature incorrect for templated functions/methods
try this code: class A { template <class B> B aMethod( B aParm ); }; template <class A, typename B> void aFunction( A a, B b ); the name of the method shows up twice in the signature in the outline view.
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/callhierarchy/CallHierarchyViewPart.java
} else if (elem instanceof IJavaElement) {
            IEditorPart editorPart = EditorUtility.isOpenInEditor(elem);
            if (editorPart != null) {
                
                getSite().getPage().bringToTop(editorPart);
                EditorUtility.revealInEditor(editorPart, (IJavaElement) elem);
                
            }
        }
    }
    /**
     * Returns the current selection.
     */
    protected ISelection getSelection() {
        return getSite().getSelectionProvider().getSelection();
    }
    protected void fillContextMenu(IMenuManager menu) {
        JavaPlugin.createStandardGroups(menu);
        if (fOpenDeclarationAction.canActionBeAdded()) {
            menu.appendToGroup(IContextMenuConstants.GROUP_SHOW, fOpenDeclarationAction);
        }
        menu.appendToGroup(IContextMenuConstants.GROUP_SHOW, fRefreshAction);
    }
    protected void handleKeyEvent(KeyEvent event) {
        if (event.stateMask == 0) {