code: protected static Action findAction(EObject grammarComponent, String assignmentName) {
  		for (final Action action : GrammarUtil.containedActions(grammarComponent)) {
  			if (GrammarUtil.isAssignedAction(action)) {
  				if (Objects.equals(assignmentName, action.getFeature())) {
  					return action;
  				}
  			}
  		}
  		return null;
  	}
docs: Replies the assignment component with the given nazme in the given grammar component.
  
  @param grammarComponent the component to explore.
  @param assignmentName the name of the assignment to search for.
  @return the assignment component.