Examples of newLineIfNotEmpty()


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

            Iterable<String> _map_4 = IterableExtensions.<Location, String>map(externalLocations, _function_8);
            Set<String> _set_1 = IterableExtensions.<String>toSet(_map_4);
            String _join_2 = IterableExtensions.join(_set_1, "\', \'");
            _builder_1.append(_join_2, "");
            _builder_1.append("\'.");
            _builder_1.newLineIfNotEmpty();
            final String msg_1 = _builder_1.toString();
            final Function1<Location, Boolean> _function_9 = new Function1<Location, Boolean>() {
              public Boolean apply(final Location it) {
                String _iD = it.getID();
                String _nullToEmpty = Strings.nullToEmpty(_iD);
View Full Code Here

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

      for (final String tp : Collections.<String>unmodifiableList(CollectionLiterals.<String>newArrayList("d", "e", "f", "g", "h", "i", "j", "k", "l"))) {
        StringConcatenation _builder_4 = new StringConcatenation();
        _builder_4.append("target \"");
        _builder_4.append(tp, "");
        _builder_4.append("\"");
        _builder_4.newLineIfNotEmpty();
        _builder_4.append("\t\t\t");
        _builder_4.append("location \"");
        _builder_4.append(tp, "\t\t\t");
        _builder_4.append("1\"");
        StringConcatenation _builder_5 = new StringConcatenation();
View Full Code Here

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

      for (final String tp : Collections.<String>unmodifiableList(CollectionLiterals.<String>newArrayList("d", "e", "f", "g", "h", "i", "j", "k", "l"))) {
        StringConcatenation _builder_4 = new StringConcatenation();
        _builder_4.append("target \"");
        _builder_4.append(tp, "");
        _builder_4.append("\"");
        _builder_4.newLineIfNotEmpty();
        _builder_4.append("\t\t\t");
        _builder_4.append("location \"");
        _builder_4.append(tp, "\t\t\t");
        _builder_4.append("1\"");
        StringConcatenation _builder_5 = new StringConcatenation();
View Full Code Here

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

            }
          };
          String _join = IterableExtensions.join(superParameters, ", ", _function);
          _builder.append(_join, "");
          _builder.append(");");
          _builder.newLineIfNotEmpty();
          {
            MutableTypeDeclaration _declaringType = it.getDeclaringType();
            Iterable<? extends MutableFieldDeclaration> _finalFields = Util.this.getFinalFields(_declaringType);
            for(final MutableFieldDeclaration arg : _finalFields) {
              _builder.append("this.");
View Full Code Here

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

              _builder.append(" = ");
              MutableParameterDeclaration _get = fieldToParameter.get(arg);
              String _simpleName_1 = _get.getSimpleName();
              _builder.append(_simpleName_1, "");
              _builder.append(";");
              _builder.newLineIfNotEmpty();
            }
          }
        }
      };
      it.setBody(_client);
View Full Code Here

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

    _builder.newLine();
    _builder.append("return ");
    String _cacheFieldName_3 = this.cacheFieldName();
    _builder.append(_cacheFieldName_3, "");
    _builder.append(";");
    _builder.newLineIfNotEmpty();
    return _builder;
  }
 
  protected TypeReference cacheFieldType() {
    return this.wrappedReturnType();
View Full Code Here

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

        Iterable<? extends MutableParameterDeclaration> _parameters = MultipleParameterMethodMemoizer.this.method.getParameters();
        List<? extends MutableParameterDeclaration> _list = IterableExtensions.toList(_parameters);
        int _indexOf = _list.indexOf(it);
        _builder.append(_indexOf, "");
        _builder.append("]");
        _builder.newLineIfNotEmpty();
        return _builder.toString();
      }
    };
    return IterableExtensions.join(_parameters, "", ",", "", _function);
  }
View Full Code Here

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

      }
    };
    String _join = IterableExtensions.join(_parameters, "", ",", "", _function);
    _builder.append(_join, "");
    _builder.append(")");
    _builder.newLineIfNotEmpty();
    return _builder;
  }
 
  protected TypeReference cacheKeyType() {
    return this.context.newTypeReference(CacheKey.class);
View Full Code Here

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

                  }
                };
                String _join = IterableExtensions.join(_dataFields, ",", _function);
                _builder.append(_join, "");
                _builder.append(");");
                _builder.newLineIfNotEmpty();
                return _builder;
              }
            };
            it.setBody(_function);
          }
View Full Code Here

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

                    _builder.append(_simpleName, "");
                    _builder.append(" = ");
                    String _simpleName_1 = field.getSimpleName();
                    _builder.append(_simpleName_1, "");
                    _builder.append(";");
                    _builder.newLineIfNotEmpty();
                    _builder.append("return this;");
                    _builder.newLine();
                    return _builder;
                  }
                };
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.