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/SearchScopeActionGroup.java
javaSearchMM.add(action);
            }
        }
        javaSearchMM.setVisible(!javaSearchMM.isEmpty());
    }
    void fillViewMenu(IMenuManager menu) {
        menu.add(new Separator(IContextMenuConstants.GROUP_SEARCH));
        MenuManager javaSearchMM = new MenuManager(CallHierarchyMessages.getString("SearchScopeActionGroup.searchScope"), 
                IContextMenuConstants.GROUP_SEARCH);
        javaSearchMM.addMenuListener(new IMenuListener() {
                /* (non-Javadoc)
                 * @see org.eclipse.jface.action.IMenuListener#menuAboutToShow(org.eclipse.jface.action.IMenuManager)
                 */
                public void menuAboutToShow(IMenuManager manager) {
                    fillSearchActions(manager);
                }
            });
        menu.appendToGroup(IContextMenuConstants.GROUP_SEARCH, javaSearchMM);
    }
    /**
     * @return SearchScopeAction[]
     */
    private Action[] getActions() {
        List actions = new ArrayList();
        addAction(actions, fSearchScopeWorkspaceAction);
        addAction(actions, fSearchScopeProjectAction);
        addAction(actions, fSearchScopeHierarchyAction);
        addAction(actions, fSelectWorkingSetAction);
        IWorkingSetManager workingSetManager = PlatformUI.getWorkbench()
                                                         .getWorkingSetManager();