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/FiltersDialog.java
/* (non-Javadoc)
     * Method declared on Window.
     */
    protected void configureShell(Shell newShell) {
        super.configureShell(newShell);
        newShell.setText(CallHierarchyMessages.getString("FiltersDialog.filter")); 
    }
    
    void createMaxCallDepthArea(Composite parent) {
        new Label(parent, SWT.NONE).setText(CallHierarchyMessages.getString("FiltersDialog.maxCallDepth")); 
        
        fMaxCallDepth = new Text(parent, SWT.SINGLE | SWT.BORDER);
        fMaxCallDepth.setTextLimit(6);
        GridData gridData = new GridData();
        gridData.widthHint = convertWidthInCharsToPixels(10);
        fMaxCallDepth.setLayoutData(gridData);
        fMaxCallDepth.setFont(parent.getFont());
    }
    void createNamesArea(Composite parent) {
        fFilterOnNames = createCheckbox(parent,
                CallHierarchyMessages.getString("FiltersDialog.filterOnNames"), false); 
        fFilterOnNames.setLayoutData(new GridData());
        fNames= new Text(parent, SWT.SINGLE | SWT.BORDER);
        GridData gridData = new GridData();
        gridData.widthHint = convertWidthInCharsToPixels(30);
        fNames.setLayoutData(gridData);
        fNames.setFont(parent.getFont());
    }
    /**
     * Creates a check box button with the given parent and text.