AnAction (@NotNull GotoActionModel.MatchedValue element) { Object value = element.value; if (value instanceof GotoActionModel.ActionWrapper) { value = ((GotoActionModel.ActionWrapper)value).getAction(); } return value instanceof AnAction ? (AnAction)value : null; }