Example #1
0
 @Override
 public Boolean caseAction(Action object) {
   assignedFeatures = newMultimap();
   if (GrammarUtil.isMultipleAssignment(object)) return null;
   if (object.getFeature() == null) return Boolean.FALSE;
   checkAssignment(object, object.getFeature());
   return Boolean.FALSE;
 }
 public String setOrAdd(final Action it) {
   String _xifexpression = null;
   String _operator = it.getOperator();
   boolean _equals = Objects.equal(_operator, "+=");
   if (_equals) {
     _xifexpression = "add";
   } else {
     _xifexpression = "set";
   }
   return _xifexpression;
 }