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/SearchScopeActionGroup.java
private IWorkingSet mWorkingSet;
        public SearchScopeWorkingSetAction(IWorkingSet workingSet) {
            super(workingSet.getName());
            setToolTipText(CallHierarchyMessages.getString("SearchScopeActionGroup.workingset.tooltip")); 
            this.mWorkingSet = workingSet;
        }
        public IJavaSearchScope getSearchScope() {
            return SearchEngine.createJavaSearchScope(getJavaElements(
                    mWorkingSet.getElements()));
        }
        /**
         *
         */
        public IWorkingSet getWorkingSet() {
            return mWorkingSet;
        }
        /**
         * @param adaptables
         * @return IResource[]
         */
        private IJavaElement[] getJavaElements(IAdaptable[] adaptables) {
            Collection result = new ArrayList();
            for (int i = 0; i < adaptables.length; i++) {
                IJavaElement element = (IJavaElement) adaptables[i].getAdapter(IJavaElement.class);
                if (element != null) {
                    result.add(element);
                }
            }