public CharSequence javadocGroupClassInstanceMethod(final PatternModel model) { StringConcatenation _builder = new StringConcatenation(); _builder.append("Access the pattern group."); _builder.newLine(); _builder.newLine(); _builder.append("@return the singleton instance of the group"); _builder.newLine(); _builder.append("@throws ViatraQueryRuntimeException if there was an error loading the generated code of pattern specifications"); _builder.newLine(); return _builder; } }
public CharSequence javadocProcessorClass(final Pattern pattern) { StringConcatenation _builder = new StringConcatenation(); _builder.append("A match processor tailored for the "); QualifiedName _fullyQualifiedName = this._iQualifiedNameProvider.getFullyQualifiedName(pattern); _builder.append(_fullyQualifiedName, ""); _builder.append(" pattern."); _builder.newLineIfNotEmpty(); _builder.newLine(); _builder.append("Clients should derive an (anonymous) class that implements the abstract process()."); _builder.newLine(); return _builder; }
public CharSequence javadocProcessorClass(final Pattern pattern) { StringConcatenation _builder = new StringConcatenation(); _builder.append("A match processor tailored for the "); QualifiedName _fullyQualifiedName = this._iQualifiedNameProvider.getFullyQualifiedName(pattern); _builder.append(_fullyQualifiedName); _builder.append(" pattern."); _builder.newLineIfNotEmpty(); _builder.newLine(); _builder.append("Clients should derive an (anonymous) class that implements the abstract process()."); _builder.newLine(); return _builder; }
public CharSequence javadocNewEmptyMatchMethod(final Pattern pattern) { StringConcatenation _builder = new StringConcatenation(); _builder.append("Returns an empty, mutable match."); _builder.newLine(); _builder.append("Fields of the mutable match can be filled to create a partial match, usable as matcher input."); _builder.newLine(); _builder.newLine(); _builder.append("@return the empty match."); _builder.newLine(); return _builder; }
@Override protected String _ebnf2(final Assignment it, final AntlrOptions options, final boolean supportActions) { StringConcatenation _builder = new StringConcatenation(); _builder.append("("); _builder.newLine(); _builder.append("\t"); String __ebnf2 = super._ebnf2(it, options, supportActions); _builder.append(__ebnf2, "\t"); _builder.newLineIfNotEmpty(); _builder.append(")"); _builder.newLine(); return _builder.toString(); }
public CharSequence javadocNewEmptyMatchMethod(final Pattern pattern) { StringConcatenation _builder = new StringConcatenation(); _builder.append("Returns an empty, mutable match."); _builder.newLine(); _builder.append("Fields of the mutable match can be filled to create a partial match, usable as matcher input."); _builder.newLine(); _builder.newLine(); _builder.append("@return the empty match."); _builder.newLine(); return _builder; }
public CharSequence javadocGetAllValuesOfMethod(final Variable parameter) { StringConcatenation _builder = new StringConcatenation(); _builder.append("Retrieve the set of values that occur in matches for "); String _name = parameter.getName(); _builder.append(_name); _builder.append("."); _builder.newLineIfNotEmpty(); _builder.append("@return the Set of all values or empty set if there are no matches"); _builder.newLine(); return _builder; }
public CharSequence javadocGroupClassInstanceMethod(final PatternModel model) { StringConcatenation _builder = new StringConcatenation(); _builder.append("Access the pattern group."); _builder.newLine(); _builder.newLine(); _builder.append("@return the singleton instance of the group"); _builder.newLine(); _builder.append("@throws IncQueryException if there was an error loading the generated code of pattern specifications"); _builder.newLine(); return _builder; } }
public CharSequence javadocGetAllValuesOfMethod(final Variable parameter) { StringConcatenation _builder = new StringConcatenation(); _builder.append("Retrieve the set of values that occur in matches for "); String _name = parameter.getName(); _builder.append(_name, ""); _builder.append("."); _builder.newLineIfNotEmpty(); _builder.append("@return the Set of all values, null if no parameter with the given name exists, empty set if there are no matches"); _builder.newLine(); return _builder; }
public CharSequence javadocQuerySpecificationInstanceMethod(final Pattern pattern) { StringConcatenation _builder = new StringConcatenation(); _builder.append("@return the singleton instance of the query specification"); _builder.newLine(); _builder.append("@throws ViatraQueryRuntimeException if the pattern definition could not be loaded"); _builder.newLine(); return _builder; }
public CharSequence javadocHasMatchMethodNoParameter(final Pattern pattern) { StringConcatenation _builder = new StringConcatenation(); _builder.append("Indicates whether the (parameterless) pattern matches or not."); _builder.newLine(); _builder.append("@return true if the pattern has a valid match."); _builder.newLine(); return _builder; }
public CharSequence javadocHasMatchMethodNoParameter(final Pattern pattern) { StringConcatenation _builder = new StringConcatenation(); _builder.append("Indicates whether the (parameterless) pattern matches or not."); _builder.newLine(); _builder.append("@return true if the pattern has a valid match."); _builder.newLine(); return _builder; }
public CharSequence javadocQuerySpecificationMethod(final Pattern pattern) { StringConcatenation _builder = new StringConcatenation(); _builder.append("@return the singleton instance of the query specification of this pattern"); _builder.newLine(); _builder.append("@throws IncQueryException if the pattern definition could not be loaded"); _builder.newLine(); return _builder; }
public CharSequence javadocQuerySpecificationInstanceMethod(final Pattern pattern) { StringConcatenation _builder = new StringConcatenation(); _builder.append("@return the singleton instance of the query specification"); _builder.newLine(); _builder.append("@throws IncQueryException if the pattern definition could not be loaded"); _builder.newLine(); return _builder; }
public CharSequence javadocQuerySpecificationMethod(final Pattern pattern) { StringConcatenation _builder = new StringConcatenation(); _builder.append("@return the singleton instance of the query specification of this pattern"); _builder.newLine(); _builder.append("@throws ViatraQueryRuntimeException if the pattern definition could not be loaded"); _builder.newLine(); return _builder; }
@Override public String getContent(final InformationModel element, final InvocationContext context) { StringConcatenation _builder = new StringConcatenation(); _builder.append("SPRING_APPLICATION_JSON=$(jq .generators /gen/config/config.json | sed $\'s/\\r//\' | tr -d \'\\n\');"); _builder.newLine(); _builder.append("export SPRING_APPLICATION_JSON"); _builder.newLine(); _builder.append("java -jar /gen/generators.jar;"); _builder.newLine(); return _builder.toString(); } }
public CharSequence toResourceBundle() { StringConcatenation _builder = new StringConcatenation(); _builder.append("#Enter you own property messages here, property declared here can be referred using msgs variable\t"); _builder.newLine(); return _builder; }
public CharSequence createMessage(final CustomizeableField field) { StringConcatenation _builder = new StringConcatenation(); _builder.append("\t"); _builder.newLine(); return _builder; }
public CharSequence renderStartColumn(final EObject field) { StringConcatenation _builder = new StringConcatenation(); { boolean _isRenderingInTabPage = this.isRenderingInTabPage(field); boolean _not = (!_isRenderingInTabPage); if (_not) { _builder.append("<p:column>"); _builder.newLine(); } } return _builder; }
public CharSequence renderEndColumn(final EObject field) { StringConcatenation _builder = new StringConcatenation(); { boolean _isRenderingInTabPage = this.isRenderingInTabPage(field); boolean _not = (!_isRenderingInTabPage); if (_not) { _builder.append("</p:column>"); _builder.newLine(); } } return _builder; }