blob: cc8255df90a420d57cab3c8d1728be09a36c10f1 [file] [log] [blame]
/*
* Copyright (c) 2020 Eclipse contributors and others.
*
* This program and the accompanying materials
* are made available under the terms of the Eclipse Public License 2.0
* which accompanies this distribution, and is available at
* https://www.eclipse.org/legal/epl-2.0/
*
* SPDX-License-Identifier: EPL-2.0
*/
package org.eclipse.justj.codegen.templates.fragment;
public class EclipseInf
{
protected static String nl;
public static synchronized EclipseInf create(String lineSeparator)
{
nl = lineSeparator;
EclipseInf result = new EclipseInf();
nl = null;
return result;
}
public final String NL = nl == null ? (System.getProperties().getProperty("line.separator")) : nl;
protected static final String _1 = "jarprocessor.exclude.children.pack = true";
protected static final String _2 = "jarprocessor.exclude.pack = true";
protected final String _3 = _2 + NL + _1;
public String generate(Object argument)
{
final StringBuilder builder = new StringBuilder();
builder.append(_3);
builder.append(NL);
return builder.toString();
}
}