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/ToggleOrientationAction.java
private CallHierarchyViewPart fView;    
    private int fOrientation;
    
    public ToggleOrientationAction(CallHierarchyViewPart v, int orientation) {
        super("", AS_RADIO_BUTTON); 
        if (orientation == CallHierarchyViewPart.VIEW_ORIENTATION_HORIZONTAL) {
            setText(CallHierarchyMessages.getString("ToggleOrientationAction.horizontal.label")); 
            setDescription(CallHierarchyMessages.getString("ToggleOrientationAction.horizontal.description")); 
            setToolTipText(CallHierarchyMessages.getString("ToggleOrientationAction.horizontal.tooltip")); 
            JavaPluginImages.setLocalImageDescriptors(this, "th_horizontal.gif"); 
        } else if (orientation == CallHierarchyViewPart.VIEW_ORIENTATION_VERTICAL) {