Build a custom intent action name, like "jp.co.nohana.amalgam.Sample.ACTION_SAMPLE".
@param clazz the class name.
@param action the action name.
@return the custom action name.
432374
public static String buildAction(Class<?> clazz, String action) {
        return new StringBuilder().append(clazz.getCanonicalName()).append(".").append(action).toString();
    }
1065220
protected function getActionUrl($action) : string
    {
        $context = Context::getInstance();
        return $context->getUrl($context->getParameter('controller_path') . $action);
    }
285386
public void setAction(String action)
    {
        ExtendedInfo info = getInfo(action);
        if (info != null)
            info._action = action;
    }
117286
private String getActionTypeName(final ActionType type) {
		String action = null;

		switch (type) {
			case SHOW:
				action = "show";
				break;
			case SHOWIN:
				action = "showIn";
				break;
			case HIDE:
				action = "hide";
				break;
			case HIDEIN:
				action = "hideIn";
				break;
			case ENABLE:
				action = "enable";
				break;
			case ENABLEIN:
				action = "enableIn";
				break;
			case DISABLE:
				action = "disable";
				break;
			case DISABLEIN:
				action = "disableIn";
				break;
			case OPTIONAL:
				action = "optional";
				break;
			case MANDATORY:
				action = "mandatory";
				break;
			default:
				break;
		}

		return action;
	}
297927
protected function getActionPath(string $action): string
    {
        $modelName = $this->getModelName();
        $nameSpace = ucfirst($modelName);

        $className = ucfirst(Str::camel($action)).'Request';

        return app_path('Http/Requests/Api/Admin/'.$nameSpace.'/'.$className.'.php');
    }
291884
protected function formatAction($action)
    {
        if (is_array($action)) {
            $action = '\\'.implode('@', $action);
        }

        if ($this->rootNamespace && strpos($action, '\\') !== 0) {
            return $this->rootNamespace.'\\'.$action;
        } else {
            return trim($action, '\\');
        }
    }
220742
public void setNameAction(final Action action) {
		LinkComponent linkComponent = new LinkComponent();
		linkComponent.setNameAction(action);
		repeater.setRepeatedComponent(linkComponent);
	}
930149
public function getActionRoute($action = null)
    {
        if (null === $action) {
            $action = $this->getEvent()
                ->getRouteMatch()
                ->getParam('action');
        }

        return $this->getRouteName().'/'.$action;
    }
1026613
private I_CmsWorkplaceAction getAction(VaadinRequest request) throws Exception {

        String dialogId = getDialogId(request);
        @SuppressWarnings("unchecked")
        Class<I_CmsWorkplaceAction> actionClass = (Class<I_CmsWorkplaceAction>)getClass().getClassLoader().loadClass(
            dialogId);
        return actionClass.newInstance();
    }
407651
public static void forEachMethod( final Object object, Class<?> clazz, final Class<? extends Annotation> annotation,
            final MethodAction action ) {
        forEachSuperClass( clazz, new ClassAction() {
            @Override
            public void act( Class<?> clazz ) throws Exception {
                for( Method method : clazz.getDeclaredMethods() ) {
                    if( method.isAnnotationPresent( annotation ) ) {
                        action.act( object, method );
                    }
                }
            }
        } );
    }
820907
private static IAction createAction(String action) {
        IAction actn = null;
        
        if (!StringUtils.isEmpty(action)) {
            if ((actn = ActionRegistry.getRegisteredAction(action)) == null) {
                actn = ActionUtil.createAction(null, action);
            }
        }
        
        return actn;
    }
580664
public alluxio.grpc.SetAclAction getAction() {
    alluxio.grpc.SetAclAction result = alluxio.grpc.SetAclAction.valueOf(action_);
    return result == null ? alluxio.grpc.SetAclAction.REPLACE : result;
  }
776696
public static String asString(String namespace, String action) {
    return DELIMITER + namespace + DELIMITER + action;
  }
727225
def addAction(self, action):
        
        self.ACTIONS.append(action)
        return "ACTION#{}".format(len(self.ACTIONS) - 1)
626641
public void updateAction(Action action)
	{
		action.putValue(Action.NAME, myMessageProvider.getMessage(getLabelMessage(), getLocale()));
		action.putValue(Action.SHORT_DESCRIPTION, myMessageProvider.getMessage(getLabelDescription(), getLocale()));
		if (IS_NOT_EMPTY.test(getKeyboardShortcut()))
		{
			action.putValue(Action.ACCELERATOR_KEY, KeyboardRepresentationTable.getKeyStroke(getKeyboardShortcut()));
		}
		else
		{
			action.putValue(Action.ACCELERATOR_KEY, null);
		}
	}
491559
protected function action($action)
    {
        $action = in_array($action, $this->actions) ? $action : null;
        $action = array_key_exists($action, $this->aliases) ? $this->aliases[$action] : $action;

        return $action;
    }
306687
private function describeActions($action = "") {

		if (!empty($action)) {
			$parts = explode('_', $action);
			unset($parts[0]);
			$parts = array_values($parts);

			$act = new \stdClass();

			$act->method = $action;

			switch (count($parts)) {
			case 1:
			case 2:
			case 3:
				$act->name = $parts[0];
			case 2:
			case 3:
				$act->tag = $parts[1];
			case 3:
				$act->priority = intval($parts[2]);
				break;
			}
			if (count($parts) == 1) {
				$act->tag = 'initi';
				$act->priority = 10;
			}

			return $act;

		}
		return null;
	}