public void doExecute(@NotNull final AnActionEvent event, final Map<String, Object> _params) { try { FeatureUsageTracker.getInstance().triggerFeatureUsed("navigation.gotoImplementation"); GoToHelper.executeFinders( ((SNode) MapSequence.fromMap(_params).get("methodNode")), ((Project) MapSequence.fromMap(_params).get("project")), GoToOverridingMethod_Action.this.getFinderName(_params), GoToHelper.getRelativePoint( ((EditorCell) MapSequence.fromMap(_params).get("selectedCell")), event.getInputEvent())); } catch (Throwable t) { LOG.error("User's action execute method failed. Action:" + "GoToOverridingMethod", t); } }
public boolean isApplicable(AnActionEvent event, final Map<String, Object> _params) { return GoToHelper.hasApplicableFinder( ((SNode) MapSequence.fromMap(_params).get("methodNode")), GoToOverridingMethod_Action.this.getFinderName(_params)); }