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/ToggleJavaLabelFormatAction.java
private CallHierarchyViewPart fView;    
    private int fFormat;
    
    public ToggleJavaLabelFormatAction(CallHierarchyViewPart v, int format) {
        super("", AS_RADIO_BUTTON); 
        if (format == CallHierarchyViewPart.JAVA_LABEL_FORMAT_DEFAULT) {
            setText(CallHierarchyMessages.getString("ToggleJavaLabelFormatAction.default.label")); 
            setDescription(CallHierarchyMessages.getString("ToggleJavaLabelFormatAction.default.description")); 
            setToolTipText(CallHierarchyMessages.getString("ToggleJavaLabelFormatAction.default.tooltip")); 
            JavaPluginImages.setLocalImageDescriptors(this, "th_horizontal.gif"); 
        } else if (format == CallHierarchyViewPart.JAVA_LABEL_FORMAT_SHORT) {