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/FocusOnSelectionAction.java
private CallHierarchyViewPart fPart;
    public FocusOnSelectionAction(CallHierarchyViewPart part) {
        super(CallHierarchyMessages.getString("FocusOnSelectionAction.focusOnSelection.text")); 
        fPart= part;
        setDescription(CallHierarchyMessages.getString("FocusOnSelectionAction.focusOnSelection.description")); 
        setToolTipText(CallHierarchyMessages.getString("FocusOnSelectionAction.focusOnSelection.tooltip")); 
    }
    public boolean canActionBeAdded() {
        Object element = SelectionUtil.getSingleElement(getSelection());
        IMethod method = null;
        
        if (element instanceof IMethod) {
            method= (IMethod) element;