_builder.newLineIfNotEmpty();
_builder.append("\t");
_builder.append("if (_matcher.find()) {");
_builder.newLine();
{
URL _url = route.getUrl();
EList<Variable> _variables = _url.getVariables();
for(final Variable variable : _variables) {
_builder.append("\t\t");
_builder.append("String ");
String _name = variable.getName();
_builder.append(_name, "\t\t");
_builder.append(" = _matcher.group(");
int _index_1 = RouteJvmModelInferrer.this.index(variable);
int _plus = (_index_1 + 1);
_builder.append(_plus, "\t\t");
_builder.append(");");
_builder.newLineIfNotEmpty();
}
}
_builder.append("\t\t");
StringConcatenation _builder_1 = new StringConcatenation();
String _nameOfRouteMethod = RouteJvmModelInferrer.this.nameOfRouteMethod(route);
_builder_1.append(_nameOfRouteMethod, "");
_builder_1.append("(request, response");
{
URL _url_1 = route.getUrl();
EList<Variable> _variables_1 = _url_1.getVariables();
for(final Variable v : _variables_1) {
_builder_1.append(", ");
String _name_1 = v.getName();
_builder_1.append(_name_1, "");
}
}
_builder_1.append(");");
final String routeMethodCall = _builder_1.toString();
_builder.newLineIfNotEmpty();
{
XExpression _condition = route.getCondition();
boolean _notEquals = (!Objects.equal(_condition, null));
if (_notEquals) {
_builder.append("\t\t");
_builder.append("if (");
String _nameOfRouteMethod_1 = RouteJvmModelInferrer.this.nameOfRouteMethod(route);
_builder.append(_nameOfRouteMethod_1, "\t\t");
_builder.append("Condition(request, response");
{
URL _url_2 = route.getUrl();
EList<Variable> _variables_2 = _url_2.getVariables();
boolean _hasElements = false;
for(final Variable v_1 : _variables_2) {
if (!_hasElements) {
_hasElements = true;
_builder.append(", ", "\t\t");