code: protected static Assignment findAssignmentFromFeatureName(EObject rule, String name) {
  		return IterableExtensions.findFirst(GrammarUtil.containedAssignments(rule),
  				assignment -> name.equals(assignment.getFeature()));
  	}
docs: Replies the first assignement with the given name in the given rule.
  
  @param rule the rule.
  @param name the name.
  @return the assignment or <code>null</code>.