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/ToggleCallModeAction.java
setText(CallHierarchyMessages.getString("ToggleCallModeAction.callers.label")); 
            setDescription(CallHierarchyMessages.getString("ToggleCallModeAction.callers.description")); 
            setToolTipText(CallHierarchyMessages.getString("ToggleCallModeAction.callers.tooltip")); 
            JavaPluginImages.setLocalImageDescriptors(this, "ch_callers.gif"); 
        } else if (mode == CallHierarchyViewPart.CALL_MODE_CALLEES) {
            setText(CallHierarchyMessages.getString("ToggleCallModeAction.callees.label")); 
            setDescription(CallHierarchyMessages.getString("ToggleCallModeAction.callees.description")); 
            setToolTipText(CallHierarchyMessages.getString("ToggleCallModeAction.callees.tooltip"));   
            JavaPluginImages.setLocalImageDescriptors(this, "ch_callees.gif"); 
        } else {
            Assert.isTrue(false);
        }
        fView= v;
        fMode= mode;
        WorkbenchHelp.setHelp(this, IJavaHelpContextIds.TOGGLE_ORIENTATION_ACTION); 
    }
    
    public int getMode() {
        return fMode;
    }   
    
    /*
     * @see Action#actionPerformed
     */     
    public void run() {
        fView.setCallMode(fMode); 
    }
    
}