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/CallHierarchyContentProvider.java
return TreeTermination.RECURSION_NODE.getObjectArray();
                }
                return methodWrapper.getCalls();
            } else {
                return TreeTermination.MAX_CALL_DEPTH_NODE.getObjectArray();
            }
        }
        return EMPTY_ARRAY;
    }
    /**
     * Determines whether the call is recursive
     * @param methodWrapper
     * @return
     */
    private boolean isRecursive(MethodWrapper methodWrapper) {
        return methodWrapper.isRecursive();
    }
    private boolean isMaxCallDepthExceeded(MethodWrapper methodWrapper) {
        return methodWrapper.getLevel() > CallHierarchyUI.getDefault().getMaxCallDepth();
    }
    /**
     * @see org.eclipse.jface.viewers.IStructuredContentProvider#getElements(java.lang.Object)
     */
    public Object[] getElements(Object inputElement) {
        return getChildren(inputElement);
    }
    /**
     * @see org.eclipse.jface.viewers.ITreeContentProvider#getParent(java.lang.Object)
     */
    public Object getParent(Object element) {