Bug 36485 call hierarchy: location of menu entry
'Open Call Hierarchy' menu entry should be located right below 'Open Type Hierarchy'
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/callhierarchy/OpenCallHierarchyActionDelegate.java
import org.eclipse.ui.IEditorActionDelegate;
import org.eclipse.ui.IEditorPart;
import org.eclipse.ui.IObjectActionDelegate;
import org.eclipse.ui.IWorkbenchPart;
import org.eclipse.ui.IWorkbenchPartSite;
import org.eclipse.jdt.core.IJavaElement;
import org.eclipse.jdt.core.IMethod;
import org.eclipse.jdt.core.JavaModelException;
import org.eclipse.jdt.internal.ui.JavaPlugin;
import org.eclipse.jdt.internal.ui.actions.SelectionConverter;
import org.eclipse.jdt.internal.ui.javaeditor.JavaEditor;
/**
 * @see IEditorActionDelegate
 */
public class OpenCallHierarchyActionDelegate implements IEditorActionDelegate,
    IObjectActionDelegate {
    private IMethod fSelectedMethod;
    private IEditorPart fEditor;
    private IWorkbenchPartSite fSite;
    /**
     * The constructor.
     */
    public OpenCallHierarchyActionDelegate() {}
    /**
     * @see IEditorActionDelegate#setActiveEditor
     */
    public void setActiveEditor(IAction action, IEditorPart targetEditor) {
        fEditor= targetEditor;
        fSite= targetEditor != null ? targetEditor.getSite() : null;
        fSelectedMethod= null;