Esempio n. 1
0
 protected String _nameOf(final StepReference ref) {
   String _xifexpression = null;
   boolean _equals = Objects.equal(ref, null);
   if (_equals) {
     _xifexpression = null;
   } else {
     EReference _stepReference_Reference = FeaturePackage.eINSTANCE.getStepReference_Reference();
     String _textForFeature = Nodes.textForFeature(ref, _stepReference_Reference);
     _xifexpression = _textForFeature;
   }
   return _xifexpression;
 }
Esempio n. 2
0
 protected String _nameOf(final Step step) {
   String _xblockexpression = null;
   {
     boolean _or = false;
     boolean _equals = Objects.equal(step, null);
     if (_equals) {
       _or = true;
     } else {
       String _name = step.getName();
       boolean _equals_1 = Objects.equal(_name, null);
       _or = (_equals || _equals_1);
     }
     if (_or) {
       return null;
     }
     EAttribute _xtendTypeDeclaration_Name = XtendPackage.eINSTANCE.getXtendTypeDeclaration_Name();
     String _textForFeature = Nodes.textForFeature(step, _xtendTypeDeclaration_Name);
     _xblockexpression = (_textForFeature);
   }
   return _xblockexpression;
 }