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
if (fMethodHistory.size() > 0) {
            updateHistoryEntries();
        }
        return (IMethod[]) fMethodHistory.toArray(new IMethod[fMethodHistory.size()]);
    }
    /**
     * Method setMethod.
     * @param method
     */
    public void setMethod(IMethod method) {
        if (method == null) {
            showPage(PAGE_EMPTY);
            return;
        }
        if ((method != null) && !method.equals(fShownMethod)) {
            addHistoryEntry(method);
        }
        this.fShownMethod = method;
        refresh();
    }
    public IMethod getMethod() {
        return fShownMethod;
    }
    /**
     * called from ToggleOrientationAction.
     * @param orientation VIEW_ORIENTATION_HORIZONTAL or VIEW_ORIENTATION_VERTICAL
     */
    void setOrientation(int orientation) {
        if (fCurrentOrientation != orientation) {
            if ((fLocationViewer != null) && !fLocationViewer.getControl().isDisposed() &&