Examples of newLineIfNotEmpty()


Examples of org.eclipse.xtend2.lib.StringConcatenation.newLineIfNotEmpty()

      String _name = targetPlatform.getName();
      _builder.append(_name, "");
      _builder.append("\" sequenceNumber=\"");
      _builder.append(sequenceNumber, "");
      _builder.append("\">");
      _builder.newLineIfNotEmpty();
      {
        boolean _and = false;
        List<ResolvedLocation> _locations = targetPlatform.getLocations();
        boolean _notEquals = (!Objects.equal(_locations, null));
        if (!_notEquals) {
View Full Code Here

Examples of org.eclipse.xtend2.lib.StringConcatenation.newLineIfNotEmpty()

            for(final ResolvedLocation location : _locations_2) {
              _builder.append("  ");
              _builder.append("  ");
              String _generateLocation = this.generateLocation(targetPlatform, location);
              _builder.append(_generateLocation, "    ");
              _builder.newLineIfNotEmpty();
            }
          }
          _builder.append("  ");
          _builder.append("</locations>");
          _builder.newLine();
View Full Code Here

Examples of org.eclipse.xtend2.lib.StringConcatenation.newLineIfNotEmpty()

              _builder.append("<os>");
              ResolvedTargetPlatform.Environment _environment_6 = targetPlatform.getEnvironment();
              String _os_2 = _environment_6.getOs();
              _builder.append(_os_2, "    ");
              _builder.append("</os>");
              _builder.newLineIfNotEmpty();
            }
          }
          {
            ResolvedTargetPlatform.Environment _environment_7 = targetPlatform.getEnvironment();
            String _ws_1 = _environment_7.getWs();
View Full Code Here

Examples of org.eclipse.xtend2.lib.StringConcatenation.newLineIfNotEmpty()

              _builder.append("<ws>");
              ResolvedTargetPlatform.Environment _environment_8 = targetPlatform.getEnvironment();
              String _ws_2 = _environment_8.getWs();
              _builder.append(_ws_2, "    ");
              _builder.append("</ws>");
              _builder.newLineIfNotEmpty();
            }
          }
          {
            ResolvedTargetPlatform.Environment _environment_9 = targetPlatform.getEnvironment();
            String _arch_1 = _environment_9.getArch();
View Full Code Here

Examples of org.eclipse.xtend2.lib.StringConcatenation.newLineIfNotEmpty()

              _builder.append("<arch>");
              ResolvedTargetPlatform.Environment _environment_10 = targetPlatform.getEnvironment();
              String _arch_2 = _environment_10.getArch();
              _builder.append(_arch_2, "    ");
              _builder.append("</arch>");
              _builder.newLineIfNotEmpty();
            }
          }
          {
            ResolvedTargetPlatform.Environment _environment_11 = targetPlatform.getEnvironment();
            String _nl_1 = _environment_11.getNl();
View Full Code Here

Examples of org.eclipse.xtend2.lib.StringConcatenation.newLineIfNotEmpty()

              _builder.append("<nl>");
              ResolvedTargetPlatform.Environment _environment_12 = targetPlatform.getEnvironment();
              String _nl_2 = _environment_12.getNl();
              _builder.append(_nl_2, "    ");
              _builder.append("</nl>");
              _builder.newLineIfNotEmpty();
            }
          }
          _builder.append("  ");
          _builder.append("</environment>");
          _builder.newLine();
View Full Code Here

Examples of org.eclipse.xtend2.lib.StringConcatenation.newLineIfNotEmpty()

          _builder.append("<targetJRE path=\"");
          ResolvedTargetPlatform.Environment _environment_15 = targetPlatform.getEnvironment();
          String _targetJRE_1 = _environment_15.getTargetJRE();
          _builder.append(_targetJRE_1, "  ");
          _builder.append("\"/>");
          _builder.newLineIfNotEmpty();
        }
      }
      _builder.append("</target>");
      _builder.newLine();
      _xblockexpression = _builder.toString();
View Full Code Here

Examples of org.eclipse.xtend2.lib.StringConcatenation.newLineIfNotEmpty()

      final String repositoryAttributes = _builder.toString();
      StringConcatenation _builder_1 = new StringConcatenation();
      _builder_1.append("<location ");
      _builder_1.append(locationAttributes, "");
      _builder_1.append(" type=\"InstallableUnit\">");
      _builder_1.newLineIfNotEmpty();
      {
        List<IInstallableUnit> _resolvedIUs = location.getResolvedIUs();
        for(final IInstallableUnit iu : _resolvedIUs) {
          _builder_1.append("  ");
          _builder_1.append("<unit id=\"");
View Full Code Here

Examples of org.eclipse.xtend2.lib.StringConcatenation.newLineIfNotEmpty()

          _builder_1.append(_id, "  ");
          _builder_1.append("\" version=\"");
          Version _version = iu.getVersion();
          _builder_1.append(_version, "  ");
          _builder_1.append("\"/>");
          _builder_1.newLineIfNotEmpty();
        }
      }
      _builder_1.append("  ");
      _builder_1.append("<repository ");
      _builder_1.append(repositoryAttributes, "  ");
View Full Code Here

Examples of org.eclipse.xtend2.lib.StringConcatenation.newLineIfNotEmpty()

      }
      _builder_1.append("  ");
      _builder_1.append("<repository ");
      _builder_1.append(repositoryAttributes, "  ");
      _builder_1.append("/>");
      _builder_1.newLineIfNotEmpty();
      _builder_1.append("</location>");
      _builder_1.newLine();
      _xblockexpression = _builder_1.toString();
    }
    return _xblockexpression;
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.