package jetbrains.mps.build.mps.generator.template.main;

/*Generated by MPS */

import jetbrains.mps.generator.runtime.Generated;
import jetbrains.mps.generator.impl.query.QueryProviderBase;
import jetbrains.mps.generator.template.BaseMappingRuleContext;
import jetbrains.mps.lang.smodel.generator.smodelAdapter.SNodeOperations;
import jetbrains.mps.lang.smodel.generator.smodelAdapter.SLinkOperations;
import jetbrains.mps.internal.collections.runtime.ListSequence;
import org.jetbrains.mps.openapi.language.SAbstractConcept;
import jetbrains.mps.build.mps.behavior.BuildMps_Module__BehaviorDescriptor;
import org.jetbrains.mps.openapi.model.SNode;
import jetbrains.mps.internal.collections.runtime.Sequence;
import java.util.Objects;
import jetbrains.mps.lang.smodel.generator.smodelAdapter.SPropertyOperations;
import jetbrains.mps.generator.template.PropertyMacroContext;
import jetbrains.mps.build.mps.behavior.BuildMps_AbstractModule__BehaviorDescriptor;
import org.jetbrains.mps.openapi.language.SLanguage;
import jetbrains.mps.smodel.adapter.structure.MetaAdapterFactory;
import org.jetbrains.mps.openapi.persistence.PersistenceFacade;
import jetbrains.mps.build.behavior.BuildSourcePath__BehaviorDescriptor;
import jetbrains.mps.build.util.VisibleArtifacts;
import jetbrains.mps.build.mps.util.ArtifactsRelativePathHelper;
import jetbrains.mps.build.behavior.BuildString__BehaviorDescriptor;
import jetbrains.mps.build.util.Context;
import jetbrains.mps.build.mps.behavior.BuildMpsLayout_ModuleJars__BehaviorDescriptor;
import jetbrains.mps.build.util.DependenciesHelper;
import jetbrains.mps.build.behavior.BuildLayout_PathElement__BehaviorDescriptor;
import jetbrains.mps.build.mps.behavior.BuildMps_Branding__BehaviorDescriptor;
import jetbrains.mps.lang.smodel.generator.smodelAdapter.SEnumOperations;
import jetbrains.mps.build.mps.behavior.BuildMps_Tips__BehaviorDescriptor;
import jetbrains.mps.build.mps.behavior.BuildMps_TipsPackage__BehaviorDescriptor;
import jetbrains.mps.generator.template.ReferenceMacroContext;
import jetbrains.mps.generator.TransientModelsModule;
import jetbrains.mps.generator.template.IfMacroContext;
import jetbrains.mps.build.mps.behavior.BuildMpsLayout_Plugin__BehaviorDescriptor;
import jetbrains.mps.build.mps.util.MPSModulesPartitioner;
import java.util.List;
import jetbrains.mps.generator.template.SourceSubstituteMacroNodeContext;
import jetbrains.mps.baseLanguage.tuples.runtime.Tuples;
import jetbrains.mps.generator.template.TemplateArgumentContext;
import jetbrains.mps.generator.template.SourceSubstituteMacroNodesContext;
import jetbrains.mps.build.mps.util.MPSModulesClosure;
import java.util.ArrayList;
import jetbrains.mps.lang.smodel.generator.smodelAdapter.SModelOperations;
import jetbrains.mps.build.mps.util.RuntimeDependencies;
import jetbrains.mps.internal.collections.runtime.NotNullWhereFilter;
import java.util.Set;
import jetbrains.mps.internal.collections.runtime.SetSequence;
import java.util.LinkedHashSet;
import java.util.HashSet;
import jetbrains.mps.lang.smodel.generator.smodelAdapter.SConceptOperations;
import jetbrains.mps.build.mps.util.ModulePlugins;
import jetbrains.mps.build.mps.util.ModuleFinder;
import jetbrains.mps.baseLanguage.closures.runtime._FunctionTypes;
import jetbrains.mps.generator.template.MapSrcMacroPostProcContext;
import jetbrains.mps.generator.template.WeavingMappingRuleContext;
import jetbrains.mps.generator.template.MappingScriptContext;
import jetbrains.mps.build.mps.util.ModuleLoader;
import jetbrains.mps.messages.IMessageHandler;
import jetbrains.mps.messages.IMessage;
import org.jetbrains.mps.openapi.model.SNodeReference;
import jetbrains.mps.messages.MessageKind;
import jetbrains.mps.build.mps.util.ModuleChecker;
import jetbrains.mps.build.util.FetchDependenciesProcessor;
import jetbrains.mps.generator.template.TemplateVarContext;
import jetbrains.mps.build.util.LocalSourcePathArtifact;
import jetbrains.mps.baseLanguage.tuples.runtime.MultiTuple;
import jetbrains.mps.build.mps.util.VisibleModules;
import jetbrains.mps.build.util.ProjectDependency;
import java.util.Map;
import jetbrains.mps.generator.impl.query.ReductionRuleCondition;
import java.util.HashMap;
import org.jetbrains.annotations.NotNull;
import jetbrains.mps.generator.impl.query.QueryKey;
import jetbrains.mps.generator.template.ReductionRuleQueryContext;
import jetbrains.mps.generator.impl.GenerationFailureException;
import jetbrains.mps.generator.impl.query.WeaveRuleCondition;
import jetbrains.mps.generator.impl.query.WeaveRuleQuery;
import jetbrains.mps.generator.impl.query.WeaveAnchorQuery;
import org.jetbrains.annotations.Nullable;
import jetbrains.mps.generator.template.WeavingAnchorContext;
import jetbrains.mps.generator.impl.query.ScriptCodeBlock;
import jetbrains.mps.generator.impl.query.SourceNodeQuery;
import jetbrains.mps.generator.impl.query.SourceNodesQuery;
import java.util.Collection;
import jetbrains.mps.util.IterableUtil;
import jetbrains.mps.generator.impl.query.PropertyValueQuery;
import org.jetbrains.mps.openapi.language.SProperty;
import jetbrains.mps.generator.impl.query.IfMacroCondition;
import jetbrains.mps.generator.impl.query.InlineSwitchCaseCondition;
import jetbrains.mps.generator.template.InlineSwitchCaseContext;
import jetbrains.mps.generator.impl.query.ReferenceTargetQuery;
import jetbrains.mps.generator.impl.query.VariableValueQuery;
import jetbrains.mps.generator.impl.query.CallArgumentQuery;
import jetbrains.mps.generator.impl.query.MapPostProcessor;
import jetbrains.mps.smodel.builder.SNodeBuilder;
import org.jetbrains.mps.openapi.language.SReferenceLink;
import org.jetbrains.mps.openapi.language.SContainmentLink;
import org.jetbrains.mps.openapi.language.SConcept;

@Generated
public class QueriesGenerated extends QueryProviderBase {
  public QueriesGenerated() {
    super(1);
  }
  public static boolean rule_Condition_0_0(final BaseMappingRuleContext _context) {
    return SNodeOperations.isInstanceOf(SLinkOperations.getTarget(_context.getNode(), LINKS.module$qsl4), CONCEPTS.BuildMps_Module$JW);
  }
  public static boolean rule_Condition_0_1(final BaseMappingRuleContext _context) {
    return ListSequence.fromList(SNodeOperations.getNodeDescendants(_context.getNode(), CONCEPTS.BuildMps_Module$JW, false, new SAbstractConcept[]{})).isNotEmpty();
  }
  public static boolean rule_Condition_0_2(final BaseMappingRuleContext _context) {
    return (boolean) BuildMps_Module__BehaviorDescriptor.isCompilable_id6tOCIA6_7jg.invoke(_context.getNode());
  }
  public static boolean rule_Condition_0_3(final BaseMappingRuleContext _context) {
    if (_context.getNode().getUserObject("LABELED") != null) {
      return false;
    }
    Iterable<SNode> f = SNodeOperations.ofConcept(SLinkOperations.getChildren(_context.getNode(), LINKS.children$aMRO), CONCEPTS.BuildLayout_Folder$AH);
    Iterable<SNode> ff = Sequence.fromIterable(f).where((it) -> Objects.equals(SPropertyOperations.getString(it, PROPS.name$MnvL), "META-INF"));
    if (Sequence.fromIterable(SNodeOperations.ofConcept(SLinkOperations.collectMany(ff, LINKS.children$aMRO), CONCEPTS.BuildMpsLayout_ModuleXml$_e)).isNotEmpty()) {
      _context.getNode().putUserObject("LABELED", "LABELED");
      return true;
    }
    return false;
  }
  public static boolean rule_Condition_0_4(final BaseMappingRuleContext _context) {
    if (_context.getNode().getUserObject("LABELED") != null) {
      return false;
    }
    Iterable<SNode> f = SNodeOperations.ofConcept(SLinkOperations.getChildren(_context.getNode(), LINKS.children$aMRO), CONCEPTS.BuildLayout_Folder$AH);
    Iterable<SNode> ff = Sequence.fromIterable(f).where((it) -> Objects.equals(SPropertyOperations.getString(it, PROPS.name$MnvL), "modules"));
    if (Sequence.fromIterable(SNodeOperations.ofConcept(SLinkOperations.collectMany(ff, LINKS.children$aMRO), CONCEPTS.BuildMpsLayout_FolderWithSources$mg)).isNotEmpty()) {
      _context.getNode().putUserObject("LABELED", "LABELED");
      return true;
    }
    return false;
  }
  public static boolean rule_Condition_0_5(final BaseMappingRuleContext _context) {
    return !(SPropertyOperations.getBoolean(SLinkOperations.getTarget(_context.getNode(), LINKS.plugin$ZarS), PROPS.pluginXmlProvided$f2I));
  }
  public static boolean rule_Condition_7_0(final BaseMappingRuleContext _context) {
    // FIXME template for this case was copied from reduce_BuildMpsLayout_ModuleJars, shall refactor to avoid duplication
    if (SNodeOperations.isInstanceOf(SLinkOperations.getTarget(_context.getNode(), LINKS.module$iRYT), CONCEPTS.BuildMps_Solution$R7)) {
      SNode solution = SNodeOperations.as(SLinkOperations.getTarget(_context.getNode(), LINKS.module$iRYT), CONCEPTS.BuildMps_Solution$R7);
      // something like !solution.hasSources() would be great, yet it doesn't make any sense at the moment - !hasSources might be true for a module with tests 
      // rationale for the new condition here (replaces "module has no jar dependencies") is to allow explicit source specification for modules built
      // outside of MPS, so that they get bundled into distinct -src.jar like modules compiled in MPS do. Still, keep mechanism to build simple one-jar 
      // distribution bundles for stub modules
      return SPropertyOperations.getBoolean(solution, PROPS.doNotCompile$4EF) && Sequence.fromIterable(SNodeOperations.ofConcept(SLinkOperations.getChildren(solution, LINKS.sources$mT1j), CONCEPTS.BuildMps_ModuleJavaSource$M6)).isEmpty();
    }
    return false;
  }
  public static boolean rule_Condition_7_1(final BaseMappingRuleContext _context) {
    return SNodeOperations.isInstanceOf(SLinkOperations.getTarget(_context.getNode(), LINKS.module$iRYT), CONCEPTS.BuildMps_DevKit$jc);
  }
  public static boolean rule_Condition_7_2(final BaseMappingRuleContext _context) {
    return SNodeOperations.isInstanceOf(SLinkOperations.getTarget(_context.getNode(), LINKS.element$PGip), CONCEPTS.BuildMps_Branding$M0);
  }
  public static boolean rule_Condition_7_3(final BaseMappingRuleContext _context) {
    if ((SLinkOperations.getTarget(_context.getNode(), LINKS.packagingType$WOvS) == null)) {
      // XXX check_PackagingTypeIsSet reports warning!
      _context.showErrorMessage(_context.getNode(), "Packaging type must be set");
      return true;
    }
    return false;
  }
  public static boolean rule_Condition_7_4(final BaseMappingRuleContext _context) {
    return SNodeOperations.isInstanceOf(SLinkOperations.getTarget(_context.getNode(), LINKS.packagingType$WOvS), CONCEPTS.BuildMpsLayout_AutoPluginLayoutType$JU);
  }
  public static boolean rule_Condition_13_0(final BaseMappingRuleContext _context) {
    // FIXME the only reason I check for same project, not same model here
    // is that to introduce least possible change now. Once I've got this functional,
    // shall get back and refactor this condition, as well as inspiring match in reduceMPSModule.
    // Check comment in the IF macro there for extra insight.
    //  
    // For the time being, for any layout node not from the same project (even from the same model,
    // i.e. being transformed simultaneously), take jar classpath element directly (like reduceMPSModule
    // does for dependencies between MpsModules). The problem with external jar is that BuildLayout_Node
    // comes from a different transformation step (now we collect them in a pre-processing script in a distinct
    // step (e.g @2_0), hence reference macro (@4_1->@5_0) yields a stale target) and generation fails unless
    // transient models are turned on.
    //  
    // In fact, this condition would never be true, provided BL_File comes from DependenciesHelper artifacts
    // that are collected at distinct step, however, I'd like to keep both alternatives for completeness.
    return SNodeOperations.getContainingRoot(((SNode) _context.getVariable("currentModule"))) != SNodeOperations.getContainingRoot(_context.getNode());
  }
  public static boolean rule_Condition_13_1(final BaseMappingRuleContext _context) {
    // see above for the explanation
    return SNodeOperations.getContainingRoot(((SNode) _context.getVariable("currentModule"))) != SNodeOperations.getContainingRoot(_context.getNode());
  }
  public static boolean rule_Condition_18_0(final BaseMappingRuleContext _context) {
    return SPropertyOperations.getBoolean(_context.getNode(), PROPS.customPackaging$31Ex);
  }
  public static Object propertyMacro_GetValue_0_0(final PropertyMacroContext _context) {
    return "";
  }
  public static Object propertyMacro_GetValue_0_1(final PropertyMacroContext _context) {
    return SPropertyOperations.getString(_context.getNode(), PROPS.name$MnvL);
  }
  public static Object propertyMacro_GetValue_0_2(final PropertyMacroContext _context) {
    return SPropertyOperations.getBoolean(_context.getNode(), PROPS.targetReexport$48k4);
  }
  public static Object propertyMacro_GetValue_0_3(final PropertyMacroContext _context) {
    return SPropertyOperations.getBoolean(Sequence.fromIterable(SNodeOperations.ofConcept(SLinkOperations.getChildren(SNodeOperations.getNodeAncestor(_context.getNode(), CONCEPTS.BuildProject$ae, false, false), LINKS.plugins$AsCR), CONCEPTS.BuildMPSPlugin$YW)).first(), PROPS.useMakeTask$aRFt);
  }
  public static Object propertyMacro_GetValue_0_4(final PropertyMacroContext _context) {
    return SPropertyOperations.getBoolean(_context.getNode(), PROPS.withKotlin$2YBL);
  }
  public static Object propertyMacro_GetValue_0_5(final PropertyMacroContext _context) {
    return SPropertyOperations.getString(SLinkOperations.getTarget(_context.getNode(), LINKS.module$zG3S), PROPS.name$MnvL);
  }
  public static Object propertyMacro_GetValue_0_6(final PropertyMacroContext _context) {
    return SPropertyOperations.getString(SLinkOperations.getTarget(_context.getNode(), LINKS.module$yKRo), PROPS.name$MnvL);
  }
  public static Object propertyMacro_GetValue_0_7(final PropertyMacroContext _context) {
    // constants from DeploymentDescriptor.TYPE_*
    if (SNodeOperations.isInstanceOf(SLinkOperations.getTarget(_context.getNode(), LINKS.module$yKRo), CONCEPTS.BuildMps_Solution$R7)) {
      return "solution";
    }
    if (SNodeOperations.isInstanceOf(SLinkOperations.getTarget(_context.getNode(), LINKS.module$yKRo), CONCEPTS.BuildMps_Language$RA)) {
      return "language";
    }
    if (SNodeOperations.isInstanceOf(SLinkOperations.getTarget(_context.getNode(), LINKS.module$yKRo), CONCEPTS.BuildMps_Generator$RQ)) {
      return "generator";
    }
    if (SNodeOperations.isInstanceOf(SLinkOperations.getTarget(_context.getNode(), LINKS.module$yKRo), CONCEPTS.BuildMps_DevKit$jc)) {
      return "devkit";
    }
    return "undefined";
  }
  public static Object propertyMacro_GetValue_0_8(final PropertyMacroContext _context) {
    return SPropertyOperations.getString(SLinkOperations.getTarget(_context.getNode(), LINKS.module$yKRo), PROPS.uuid$pC01);
  }
  public static Object propertyMacro_GetValue_0_9(final PropertyMacroContext _context) {
    return (String) BuildMps_AbstractModule__BehaviorDescriptor.getModuleReference_id41K1b4v5ZCB.invoke(_context.getNode());
  }
  public static Object propertyMacro_GetValue_0_10(final PropertyMacroContext _context) {
    return (String) BuildMps_AbstractModule__BehaviorDescriptor.getModuleReference_id41K1b4v5ZCB.invoke(_context.getNode());
  }
  public static Object propertyMacro_GetValue_0_11(final PropertyMacroContext _context) {
    // FIXME BuildMps_AM.getModuleReference doesn't use PersistenceFacade or anything else but hardcoded knowledge about module reference format
    //       and the fact it's uuid-based!
    SLanguage language = MetaAdapterFactory.getLanguage(PersistenceFacade.getInstance().createModuleReference(BuildMps_AbstractModule__BehaviorDescriptor.getModuleReference_id41K1b4v5ZCB.invoke(_context.getNode())));
    return PersistenceFacade.getInstance().asString(language);
  }
  public static Object propertyMacro_GetValue_0_12(final PropertyMacroContext _context) {
    final String pathText = BuildSourcePath__BehaviorDescriptor.getRelativePath_id4Kip2_918YF.invoke(_context.getNode());
    // first, check if there's overridden location for the path provided by the moduleXml itself (override jar locations)
    String result = ListSequence.fromList(SLinkOperations.getChildren(((SNode) _context.getVariable("var:moduleXml")), LINKS.jarLocations$3SqA)).where((it) -> Objects.equals(BuildSourcePath__BehaviorDescriptor.getRelativePath_id4Kip2_918YF.invoke(SLinkOperations.getTarget(it, LINKS.path$t1zS)), pathText)).select((it) -> SPropertyOperations.getString(it, PROPS.packagedLocation$t1MT)).first();
    if (result != null) {
      return result;
    }

    // if not, try to find matching path in the project's layout
    VisibleArtifacts local = ((VisibleArtifacts) _context.getVariable("var:localArtifacts"));
    SNode jarContainer = ((SNode) _context.getVariable("var:jarContainer"));
    if (jarContainer == null) {
      return "???";
    }
    try {
      return new ArtifactsRelativePathHelper(local, jarContainer).getRelativePath(_context.getNode());
    } catch (ArtifactsRelativePathHelper.RelativePathException ex) {
      String jarName = BuildSourcePath__BehaviorDescriptor.getLastSegment_id5dwDdJ8yckN.invoke(_context.getNode());
      _context.showErrorMessage(_context.getNode(), "cannot build relative path to `" + jarName + "': " + ex.getMessage());
      return "";
    }
  }
  public static Object propertyMacro_GetValue_0_13(final PropertyMacroContext _context) {
    return SPropertyOperations.getString(_context.getNode(), PROPS.packagedLocation$t1MT);
  }
  public static Object propertyMacro_GetValue_0_14(final PropertyMacroContext _context) {
    return SPropertyOperations.getString(_context.getNode(), PROPS.path$oN2q);
  }
  public static Object propertyMacro_GetValue_0_15(final PropertyMacroContext _context) {
    return SPropertyOperations.getString(_context.getNode(), PROPS.path$oN2q);
  }
  public static Object propertyMacro_GetValue_0_16(final PropertyMacroContext _context) {
    return SPropertyOperations.getString(SLinkOperations.getTarget(_context.getNode(), LINKS.sourcesJarLocation$dEUE), PROPS.path$oN2q);
  }
  public static Object propertyMacro_GetValue_0_17(final PropertyMacroContext _context) {
    return SPropertyOperations.getString(SLinkOperations.getTarget(_context.getNode(), LINKS.sourceDescriptorFile$k5dl), PROPS.path$oN2q);
  }
  public static Object propertyMacro_GetValue_0_18(final PropertyMacroContext _context) {
    return BuildString__BehaviorDescriptor.getText_id3NagsOfTioI.invoke(SLinkOperations.getTarget(SLinkOperations.getTarget(_context.getNode(), LINKS.plugin$9ewC), LINKS.containerName$xQbG), Context.defaultContext(_context).getMacros(_context.getNode())) + ".jar";
  }
  public static Object propertyMacro_GetValue_2_0(final PropertyMacroContext _context) {
    return SPropertyOperations.getBoolean(((SNode) _context.getVariable("var:modSources")), PROPS.stripImplementation$UksK);
  }
  public static Object propertyMacro_GetValue_2_1(final PropertyMacroContext _context) {
    return SPropertyOperations.getString(_context.getNode(), PROPS.deployFolderName$Nlpw);
  }
  public static Object propertyMacro_GetValue_3_0(final PropertyMacroContext _context) {
    return SPropertyOperations.getString(SLinkOperations.getTarget(_context.getNode(), LINKS.module$iRYT), PROPS.name$MnvL) + ".jar";
  }
  public static Object propertyMacro_GetValue_3_1(final PropertyMacroContext _context) {
    StringBuilder sb = new StringBuilder();
    sb.append(SPropertyOperations.getString(SLinkOperations.getTarget(_context.getNode(), LINKS.sourceLanguage$A51U), PROPS.name$MnvL));
    if ((Integer) _context.getVariable("loop:index") > 0) {
      // for compatibility with legacy code, do not use index for the first generator.
      // as there is at most 1 generator per language now, this code is effectively dead.
      // When we move towards multiple generators, we need to change BuildMpsLayout_Plugin behavior (unpack and location),
      // as well as BuildMpsLayout_ModuleJars.location (and, perhaps, other locations that assume lagnuage.name-generator.jar pattern).
      sb.append('-');
      sb.append(Integer.toString((Integer) _context.getVariable("loop:index")));
    }
    return sb.append("-generator.jar").toString();
  }
  public static Object propertyMacro_GetValue_3_2(final PropertyMacroContext _context) {
    return SPropertyOperations.getBoolean(_context.getNode(), PROPS.stripImplementation$btW2);
  }
  public static Object propertyMacro_GetValue_3_3(final PropertyMacroContext _context) {
    return (String) BuildMpsLayout_ModuleJars__BehaviorDescriptor.getSourceModuleJarName_id6v5CVv8csP9.invoke(_context.getNode());
  }
  public static Object propertyMacro_GetValue_4_0(final PropertyMacroContext _context) {
    SNode project = SNodeOperations.getNodeAncestor(((SNode) _context.getVariable("owner")), CONCEPTS.BuildProject$ae, false, false);
    if (project == null) {
      _context.showErrorMessage(((SNode) _context.getVariable("owner")), "no context project defined");
      return "???";
    }
    DependenciesHelper helper = DependenciesHelper.get(_context, project, "build.mps");
    SNode layoutNode = helper.getArtifact(_context.getNode());
    if (layoutNode == null) {
      _context.showErrorMessage(((SNode) _context.getVariable("owner")), "mps module " + SPropertyOperations.getString(_context.getNode(), PROPS.name$MnvL) + " was not found in the layout");
      return "???";
    }
    String val = BuildLayout_PathElement__BehaviorDescriptor.location_id6b4RkXS8sT2.invoke(layoutNode, helper, _context.getNode());
    if (val == null) {
      _context.showErrorMessage(((SNode) _context.getVariable("owner")), "no location for the mps module " + SPropertyOperations.getString(_context.getNode(), PROPS.name$MnvL));
      return "???";
    }
    return val;
  }
  public static Object propertyMacro_GetValue_7_0(final PropertyMacroContext _context) {
    return SPropertyOperations.getBoolean(_context.getNode(), PROPS.stripImplementation$btW2);
  }
  public static Object propertyMacro_GetValue_7_1(final PropertyMacroContext _context) {
    return SPropertyOperations.getString(SLinkOperations.getTarget(_context.getNode(), LINKS.module$iRYT), PROPS.name$MnvL) + ".jar";
  }
  public static Object propertyMacro_GetValue_7_2(final PropertyMacroContext _context) {
    return SPropertyOperations.getString(SLinkOperations.getTarget(_context.getNode(), LINKS.module$iRYT), PROPS.name$MnvL) + ".jar";
  }
  public static Object propertyMacro_GetValue_7_3(final PropertyMacroContext _context) {
    return SPropertyOperations.getBoolean(_context.getNode(), PROPS.stripImplementation$43U1);
  }
  public static Object propertyMacro_GetValue_8_0(final PropertyMacroContext _context) {
    return (String) BuildString__BehaviorDescriptor.getText_id3NagsOfTioI.invoke(SLinkOperations.getTarget(((SNode) _context.getVariable("branding")), LINKS.codename$fDyC), Context.defaultContext(_context).getMacros(((SNode) _context.getVariable("branding"))));
  }
  public static Object propertyMacro_GetValue_8_1(final PropertyMacroContext _context) {
    return (String) BuildMps_Branding__BehaviorDescriptor.getVersionMajor_id3AMbuf0qvyc.invoke(((SNode) _context.getVariable("branding")), Context.defaultContext(_context).getMacros(((SNode) _context.getVariable("branding"))));
  }
  public static Object propertyMacro_GetValue_8_2(final PropertyMacroContext _context) {
    String result = BuildMps_Branding__BehaviorDescriptor.getVersionMinor_id3AMbuf0qHKA.invoke(((SNode) _context.getVariable("branding")), Context.defaultContext(_context).getMacros(((SNode) _context.getVariable("branding")))) + BuildMps_Branding__BehaviorDescriptor.getVersionBugfixNr_id3AMbuf3$r6x.invoke(((SNode) _context.getVariable("branding")), Context.defaultContext(_context).getMacros(((SNode) _context.getVariable("branding"))));
    return result;
  }
  public static Object propertyMacro_GetValue_8_3(final PropertyMacroContext _context) {
    return (isNotEmptyString(BuildMps_Branding__BehaviorDescriptor.getVersionEap_id3AMbuf0qQ5F.invoke(((SNode) _context.getVariable("branding")), Context.defaultContext(_context).getMacros(((SNode) _context.getVariable("branding"))))) ? "true" : "false");
  }
  public static Object propertyMacro_GetValue_8_4(final PropertyMacroContext _context) {
    return (String) BuildString__BehaviorDescriptor.getText_id3NagsOfTioI.invoke(SLinkOperations.getTarget(SLinkOperations.getTarget(((SNode) _context.getVariable("branding")), LINKS.updateWebsite$3wnJ), LINKS.updateChannel$4EXl), Context.defaultContext(_context).getMacros(((SNode) _context.getVariable("branding"))));
  }
  public static Object propertyMacro_GetValue_8_5(final PropertyMacroContext _context) {
    return (String) BuildString__BehaviorDescriptor.getText_id3NagsOfTioI.invoke(SLinkOperations.getTarget(SLinkOperations.getTarget(((SNode) _context.getVariable("branding")), LINKS.company$8fEj), LINKS.name$a7Qw), Context.defaultContext(_context).getMacros(((SNode) _context.getVariable("branding"))));
  }
  public static Object propertyMacro_GetValue_8_6(final PropertyMacroContext _context) {
    return (String) BuildString__BehaviorDescriptor.getText_id3NagsOfTioI.invoke(SLinkOperations.getTarget(SLinkOperations.getTarget(((SNode) _context.getVariable("branding")), LINKS.company$8fEj), LINKS.url$a85x), Context.defaultContext(_context).getMacros(((SNode) _context.getVariable("branding"))));
  }
  public static Object propertyMacro_GetValue_8_7(final PropertyMacroContext _context) {
    return (String) BuildString__BehaviorDescriptor.getText_id3NagsOfTioI.invoke(SLinkOperations.getTarget(SLinkOperations.getTarget(((SNode) _context.getVariable("branding")), LINKS.company$8fEj), LINKS.copyrightStar$1Ma6), Context.defaultContext(_context).getMacros(((SNode) _context.getVariable("branding"))));
  }
  public static Object propertyMacro_GetValue_8_8(final PropertyMacroContext _context) {
    return (String) BuildString__BehaviorDescriptor.getText_id3NagsOfTioI.invoke(SLinkOperations.getTarget(((SNode) _context.getVariable("branding")), LINKS.buildNumber$9UFJ), Context.defaultContext(_context).getMacros(((SNode) _context.getVariable("branding"))));
  }
  public static Object propertyMacro_GetValue_8_9(final PropertyMacroContext _context) {
    return (String) BuildString__BehaviorDescriptor.getText_id3NagsOfTioI.invoke(SLinkOperations.getTarget(((SNode) _context.getVariable("branding")), LINKS.buildDate$1vkb), Context.defaultContext(_context).getMacros(((SNode) _context.getVariable("branding"))));
  }
  public static Object propertyMacro_GetValue_8_10(final PropertyMacroContext _context) {
    return "/" + BuildSourcePath__BehaviorDescriptor.getLastSegment_id5dwDdJ8yckN.invoke(SLinkOperations.getTarget(((SNode) _context.getVariable("branding")), LINKS.splashScreen$4jyW));
  }
  public static Object propertyMacro_GetValue_8_11(final PropertyMacroContext _context) {
    return (String) BuildString__BehaviorDescriptor.getText_id3NagsOfTioI.invoke(SLinkOperations.getTarget(((SNode) _context.getVariable("branding")), LINKS.textColor$76zz), Context.defaultContext(_context).getMacros(((SNode) _context.getVariable("branding"))));
  }
  public static Object propertyMacro_GetValue_8_12(final PropertyMacroContext _context) {
    return (String) BuildString__BehaviorDescriptor.getText_id3NagsOfTioI.invoke(SLinkOperations.getTarget(((SNode) _context.getVariable("branding")), LINKS.progressColor$8Lc8), Context.defaultContext(_context).getMacros(((SNode) _context.getVariable("branding"))));
  }
  public static Object propertyMacro_GetValue_8_13(final PropertyMacroContext _context) {
    return (String) BuildString__BehaviorDescriptor.getText_id3NagsOfTioI.invoke(SLinkOperations.getTarget(((SNode) _context.getVariable("branding")), LINKS.progressY$qdNT), Context.defaultContext(_context).getMacros(((SNode) _context.getVariable("branding"))));
  }
  public static Object propertyMacro_GetValue_8_14(final PropertyMacroContext _context) {
    return (String) BuildString__BehaviorDescriptor.getText_id3NagsOfTioI.invoke(SLinkOperations.getTarget(((SNode) _context.getVariable("branding")), LINKS.progressHeight$ooGq), Context.defaultContext(_context).getMacros(((SNode) _context.getVariable("branding"))));
  }
  public static Object propertyMacro_GetValue_8_15(final PropertyMacroContext _context) {
    return "/" + BuildSourcePath__BehaviorDescriptor.getLastSegment_id5dwDdJ8yckN.invoke(SLinkOperations.getTarget(((SNode) _context.getVariable("branding")), LINKS.aboutScreen$4jLX));
  }
  public static Object propertyMacro_GetValue_8_16(final PropertyMacroContext _context) {
    return (String) BuildString__BehaviorDescriptor.getText_id3NagsOfTioI.invoke(SLinkOperations.getTarget(((SNode) _context.getVariable("branding")), LINKS.foreground$u03D), Context.defaultContext(_context).getMacros(((SNode) _context.getVariable("branding"))));
  }
  public static Object propertyMacro_GetValue_8_17(final PropertyMacroContext _context) {
    return (String) BuildString__BehaviorDescriptor.getText_id3NagsOfTioI.invoke(SLinkOperations.getTarget(((SNode) _context.getVariable("branding")), LINKS.copyrightForeground$QIKr), Context.defaultContext(_context).getMacros(((SNode) _context.getVariable("branding"))));
  }
  public static Object propertyMacro_GetValue_8_18(final PropertyMacroContext _context) {
    return (String) BuildString__BehaviorDescriptor.getText_id3NagsOfTioI.invoke(SLinkOperations.getTarget(((SNode) _context.getVariable("branding")), LINKS.linkColor$RaFi), Context.defaultContext(_context).getMacros(((SNode) _context.getVariable("branding"))));
  }
  public static Object propertyMacro_GetValue_8_19(final PropertyMacroContext _context) {
    return (String) BuildString__BehaviorDescriptor.getText_id3NagsOfTioI.invoke(SLinkOperations.getTarget(((SNode) _context.getVariable("branding")), LINKS.logoX$i$vI), Context.defaultContext(_context).getMacros(((SNode) _context.getVariable("branding"))));
  }
  public static Object propertyMacro_GetValue_8_20(final PropertyMacroContext _context) {
    return (String) BuildString__BehaviorDescriptor.getText_id3NagsOfTioI.invoke(SLinkOperations.getTarget(((SNode) _context.getVariable("branding")), LINKS.logoY$lpBM), Context.defaultContext(_context).getMacros(((SNode) _context.getVariable("branding"))));
  }
  public static Object propertyMacro_GetValue_8_21(final PropertyMacroContext _context) {
    return (String) BuildString__BehaviorDescriptor.getText_id3NagsOfTioI.invoke(SLinkOperations.getTarget(((SNode) _context.getVariable("branding")), LINKS.logoW$p3jm), Context.defaultContext(_context).getMacros(((SNode) _context.getVariable("branding"))));
  }
  public static Object propertyMacro_GetValue_8_22(final PropertyMacroContext _context) {
    return (String) BuildString__BehaviorDescriptor.getText_id3NagsOfTioI.invoke(SLinkOperations.getTarget(((SNode) _context.getVariable("branding")), LINKS.logoH$pwah), Context.defaultContext(_context).getMacros(((SNode) _context.getVariable("branding"))));
  }
  public static Object propertyMacro_GetValue_8_23(final PropertyMacroContext _context) {
    return "/" + BuildSourcePath__BehaviorDescriptor.getLastSegment_id5dwDdJ8yckN.invoke(SLinkOperations.getTarget(((SNode) _context.getVariable("branding")), LINKS.icon$bVaC));
  }
  public static Object propertyMacro_GetValue_8_24(final PropertyMacroContext _context) {
    return "/" + BuildSourcePath__BehaviorDescriptor.getLastSegment_id5dwDdJ8yckN.invoke(SLinkOperations.getTarget(((SNode) _context.getVariable("branding")), LINKS.svg$AjjI));
  }
  public static Object propertyMacro_GetValue_8_25(final PropertyMacroContext _context) {
    return "/" + BuildSourcePath__BehaviorDescriptor.getLastSegment_id5dwDdJ8yckN.invoke(SLinkOperations.getTarget(((SNode) _context.getVariable("branding")), LINKS.svg_small$ASoc));
  }
  public static Object propertyMacro_GetValue_8_26(final PropertyMacroContext _context) {
    return "/" + BuildSourcePath__BehaviorDescriptor.getLastSegment_id5dwDdJ8yckN.invoke(SLinkOperations.getTarget(((SNode) _context.getVariable("branding")), LINKS.icon32$9UUK));
  }
  public static Object propertyMacro_GetValue_8_27(final PropertyMacroContext _context) {
    return "/" + BuildSourcePath__BehaviorDescriptor.getLastSegment_id5dwDdJ8yckN.invoke(SLinkOperations.getTarget(((SNode) _context.getVariable("branding")), LINKS.icon16$9V9L));
  }
  public static Object propertyMacro_GetValue_8_28(final PropertyMacroContext _context) {
    return "/" + BuildSourcePath__BehaviorDescriptor.getLastSegment_id5dwDdJ8yckN.invoke(SLinkOperations.getTarget(((SNode) _context.getVariable("branding")), LINKS.icon128$$$91));
  }
  public static Object propertyMacro_GetValue_8_29(final PropertyMacroContext _context) {
    return (String) BuildString__BehaviorDescriptor.getText_id3NagsOfTioI.invoke(SLinkOperations.getTarget(((SNode) _context.getVariable("branding")), LINKS.product$RfQu), Context.defaultContext(_context).getMacros(((SNode) _context.getVariable("branding"))));
  }
  public static Object propertyMacro_GetValue_8_30(final PropertyMacroContext _context) {
    return (String) BuildString__BehaviorDescriptor.getText_id3NagsOfTioI.invoke(SLinkOperations.getTarget(((SNode) _context.getVariable("branding")), LINKS.fullName$Rg5v), Context.defaultContext(_context).getMacros(((SNode) _context.getVariable("branding"))));
  }
  public static Object propertyMacro_GetValue_8_31(final PropertyMacroContext _context) {
    return (String) BuildString__BehaviorDescriptor.getText_id3NagsOfTioI.invoke(SLinkOperations.getTarget(((SNode) _context.getVariable("branding")), LINKS.codename$fDyC), Context.defaultContext(_context).getMacros(((SNode) _context.getVariable("branding"))));
  }
  public static Object propertyMacro_GetValue_8_32(final PropertyMacroContext _context) {
    return (String) BuildString__BehaviorDescriptor.getText_id3NagsOfTioI.invoke(SLinkOperations.getTarget(((SNode) _context.getVariable("branding")), LINKS.script$MlVT), Context.defaultContext(_context).getMacros(((SNode) _context.getVariable("branding"))));
  }
  public static Object propertyMacro_GetValue_8_33(final PropertyMacroContext _context) {
    return "/" + BuildSourcePath__BehaviorDescriptor.getLastSegment_id5dwDdJ8yckN.invoke(SLinkOperations.getTarget(((SNode) _context.getVariable("branding")), LINKS.welcomeLogo$kmjM));
  }
  public static Object propertyMacro_GetValue_8_34(final PropertyMacroContext _context) {
    if ((SLinkOperations.getTarget(((SNode) _context.getVariable("branding")), LINKS.plugins$RpD) != null) && !(BuildString__BehaviorDescriptor.getText_id3NagsOfTioI.invoke(SLinkOperations.getTarget(((SNode) _context.getVariable("branding")), LINKS.plugins$RpD), Context.defaultContext(_context).getMacros(((SNode) _context.getVariable("branding")))).isBlank())) {
      return BuildString__BehaviorDescriptor.getText_id3NagsOfTioI.invoke(SLinkOperations.getTarget(((SNode) _context.getVariable("branding")), LINKS.plugins$RpD), Context.defaultContext(_context).getMacros(((SNode) _context.getVariable("branding"))));
    }
    return _context.getTemplateValue();
  }
  public static Object propertyMacro_GetValue_8_35(final PropertyMacroContext _context) {
    return (String) BuildString__BehaviorDescriptor.getText_id3NagsOfTioI.invoke(SLinkOperations.getTarget(SLinkOperations.getTarget(((SNode) _context.getVariable("branding")), LINKS.updateWebsite$3wnJ), LINKS.checkUrl$L5Io), Context.defaultContext(_context).getMacros(((SNode) _context.getVariable("branding"))));
  }
  public static Object propertyMacro_GetValue_8_36(final PropertyMacroContext _context) {
    return (String) BuildString__BehaviorDescriptor.getText_id3NagsOfTioI.invoke(SLinkOperations.getTarget(SLinkOperations.getTarget(((SNode) _context.getVariable("branding")), LINKS.updateWebsite$3wnJ), LINKS.updateUrl$L5Xp), Context.defaultContext(_context).getMacros(((SNode) _context.getVariable("branding"))));
  }
  public static Object propertyMacro_GetValue_8_37(final PropertyMacroContext _context) {
    return (String) BuildString__BehaviorDescriptor.getText_id3NagsOfTioI.invoke(SLinkOperations.getTarget(SLinkOperations.getTarget(((SNode) _context.getVariable("branding")), LINKS.help$pHDr), LINKS.file$7xzx), Context.defaultContext(_context).getMacros(((SNode) _context.getVariable("branding"))));
  }
  public static Object propertyMacro_GetValue_8_38(final PropertyMacroContext _context) {
    return (String) BuildString__BehaviorDescriptor.getText_id3NagsOfTioI.invoke(SLinkOperations.getTarget(SLinkOperations.getTarget(((SNode) _context.getVariable("branding")), LINKS.help$pHDr), LINKS.root$7xkw), Context.defaultContext(_context).getMacros(((SNode) _context.getVariable("branding"))));
  }
  public static Object propertyMacro_GetValue_8_39(final PropertyMacroContext _context) {
    return (String) BuildString__BehaviorDescriptor.getText_id3NagsOfTioI.invoke(SLinkOperations.getTarget(SLinkOperations.getTarget(((SNode) _context.getVariable("branding")), LINKS.help$pHDr), LINKS.url$7x5v), Context.defaultContext(_context).getMacros(((SNode) _context.getVariable("branding"))));
  }
  public static Object propertyMacro_GetValue_8_40(final PropertyMacroContext _context) {
    return (String) BuildString__BehaviorDescriptor.getText_id3NagsOfTioI.invoke(SLinkOperations.getTarget(((SNode) _context.getVariable("branding")), LINKS.documentation$2S7O), Context.defaultContext(_context).getMacros(((SNode) _context.getVariable("branding"))));
  }
  public static Object propertyMacro_GetValue_8_41(final PropertyMacroContext _context) {
    return (String) BuildString__BehaviorDescriptor.getText_id3NagsOfTioI.invoke(SLinkOperations.getTarget(((SNode) _context.getVariable("branding")), LINKS.support$ZnCU), Context.defaultContext(_context).getMacros(((SNode) _context.getVariable("branding"))));
  }
  public static Object propertyMacro_GetValue_8_42(final PropertyMacroContext _context) {
    return (String) BuildString__BehaviorDescriptor.getText_id3NagsOfTioI.invoke(SLinkOperations.getTarget(((SNode) _context.getVariable("branding")), LINKS.feedbackUrl$D0L$), Context.defaultContext(_context).getMacros(((SNode) _context.getVariable("branding"))));
  }
  public static Object propertyMacro_GetValue_8_43(final PropertyMacroContext _context) {
    return (String) BuildString__BehaviorDescriptor.getText_id3NagsOfTioI.invoke(SLinkOperations.getTarget(((SNode) _context.getVariable("branding")), LINKS.whatsnew$KhWO), Context.defaultContext(_context).getMacros(((SNode) _context.getVariable("branding"))));
  }
  public static Object propertyMacro_GetValue_8_44(final PropertyMacroContext _context) {
    return (String) BuildString__BehaviorDescriptor.getText_id3NagsOfTioI.invoke(SLinkOperations.getTarget(SLinkOperations.getTarget(((SNode) _context.getVariable("branding")), LINKS.keymap$i0Aq), LINKS.win$Nzg), Context.defaultContext(_context).getMacros(((SNode) _context.getVariable("branding"))));
  }
  public static Object propertyMacro_GetValue_8_45(final PropertyMacroContext _context) {
    return (String) BuildString__BehaviorDescriptor.getText_id3NagsOfTioI.invoke(SLinkOperations.getTarget(SLinkOperations.getTarget(((SNode) _context.getVariable("branding")), LINKS.keymap$i0Aq), LINKS.mac$OIl), Context.defaultContext(_context).getMacros(((SNode) _context.getVariable("branding"))));
  }
  public static Object propertyMacro_GetValue_8_46(final PropertyMacroContext _context) {
    return (String) BuildString__BehaviorDescriptor.getText_id3NagsOfTioI.invoke(SLinkOperations.getTarget(SLinkOperations.getTarget(((SNode) _context.getVariable("branding")), LINKS.stats$rW6s), LINKS.settings$OPOC), Context.defaultContext(_context).getMacros(((SNode) _context.getVariable("branding"))));
  }
  public static Object propertyMacro_GetValue_8_47(final PropertyMacroContext _context) {
    return (String) BuildString__BehaviorDescriptor.getText_id3NagsOfTioI.invoke(SLinkOperations.getTarget(SLinkOperations.getTarget(((SNode) _context.getVariable("branding")), LINKS.stats$rW6s), LINKS.service$OQ3D), Context.defaultContext(_context).getMacros(((SNode) _context.getVariable("branding"))));
  }
  public static Object propertyMacro_GetValue_9_0(final PropertyMacroContext _context) {
    return SPropertyOperations.getString(((SNode) _context.getVariable("plugin")), PROPS.id$W4AX);
  }
  public static Object propertyMacro_GetValue_9_1(final PropertyMacroContext _context) {
    return (String) BuildString__BehaviorDescriptor.getText_id3NagsOfTioI.invoke(SLinkOperations.getTarget(((SNode) _context.getVariable("plugin")), LINKS.name$9zxd), Context.defaultContext(_context).getMacros(_context.getNode()));
  }
  public static Object propertyMacro_GetValue_9_2(final PropertyMacroContext _context) {
    return (String) BuildString__BehaviorDescriptor.getText_id3NagsOfTioI.invoke(SLinkOperations.getTarget(((SNode) _context.getVariable("plugin")), LINKS.description$YLU$), Context.defaultContext(_context).getMacros(_context.getNode()));
  }
  public static Object propertyMacro_GetValue_9_3(final PropertyMacroContext _context) {
    return (String) BuildString__BehaviorDescriptor.getText_id3NagsOfTioI.invoke(SLinkOperations.getTarget(((SNode) _context.getVariable("plugin")), LINKS.version$Waum), Context.defaultContext(_context).getMacros(_context.getNode()));
  }
  public static Object propertyMacro_GetValue_9_4(final PropertyMacroContext _context) {
    return SPropertyOperations.getString(SLinkOperations.getTarget(((SNode) _context.getVariable("plugin")), LINKS.vendor$1XBo), PROPS.url$IIAT);
  }
  public static Object propertyMacro_GetValue_9_5(final PropertyMacroContext _context) {
    return SPropertyOperations.getString(SLinkOperations.getTarget(((SNode) _context.getVariable("plugin")), LINKS.vendor$1XBo), PROPS.name$IIPU);
  }
  public static Object propertyMacro_GetValue_9_6(final PropertyMacroContext _context) {
    return SPropertyOperations.getString(SLinkOperations.getTarget(_context.getNode(), LINKS.target$cxAi), PROPS.id$W4AX);
  }
  public static Object propertyMacro_GetValue_10_0(final PropertyMacroContext _context) {
    if (isNotEmptyString(((String) _context.getVariable("var:mpsBackend")))) {
      return ((String) _context.getVariable("var:mpsBackend"));
    }
    return _context.getTemplateValue();
  }
  public static Object propertyMacro_GetValue_10_1(final PropertyMacroContext _context) {
    if (isNotEmptyString(((String) _context.getVariable("var:orgJdom")))) {
      return ((String) _context.getVariable("var:orgJdom"));
    }
    return _context.getTemplateValue();
  }
  public static Object propertyMacro_GetValue_10_2(final PropertyMacroContext _context) {
    if (SNodeOperations.getParent(_context.getNode()) == null) {
      // hand-crafted node with defaults
      return _context.getTemplateValue();
    }
    return String.format("m2m-%d", (Integer) _context.getVariable("loop:index"));
  }
  public static Object propertyMacro_GetValue_10_3(final PropertyMacroContext _context) {
    return Boolean.toString(SPropertyOperations.getBoolean(_context.getNode(), PROPS.strict$ARKj));
  }
  public static Object propertyMacro_GetValue_10_4(final PropertyMacroContext _context) {
    int thc;
    if (SPropertyOperations.getBoolean(_context.getNode(), PROPS.parallel$AX9E)) {
      thc = SPropertyOperations.getInteger(_context.getNode(), PROPS.parallelThreads$AXQH);
    } else {
      thc = 1;
    }
    if (thc < 1) {
      thc = 1;
    }
    return Integer.toString(thc);
  }
  public static Object propertyMacro_GetValue_10_5(final PropertyMacroContext _context) {
    return Boolean.toString(SPropertyOperations.getBoolean(_context.getNode(), PROPS.inplace$q8Ts));
  }
  public static Object propertyMacro_GetValue_10_6(final PropertyMacroContext _context) {
    return Boolean.toString(!(SPropertyOperations.getBoolean(_context.getNode(), PROPS.hideWarnings$vJ6P)));
  }
  public static Object propertyMacro_GetValue_10_7(final PropertyMacroContext _context) {
    return Boolean.toString(SPropertyOperations.getBoolean(_context.getNode(), PROPS.createStaticRefs$MDEl));
  }
  public static Object propertyMacro_GetValue_10_8(final PropertyMacroContext _context) {
    if (SEnumOperations.isMember(SPropertyOperations.getEnum(_context.getNode(), PROPS.skipUnmodifiedModels$kIij), 0x37b3e610a73c6cdL)) {
      return "false";
    } else if (SEnumOperations.isMember(SPropertyOperations.getEnum(_context.getNode(), PROPS.skipUnmodifiedModels$kIij), 0x37b3e610a73c6ccL) || (SPropertyOperations.getEnum(_context.getNode(), PROPS.skipUnmodifiedModels$kIij) == null)) {
      return "${mps.generator.skipUnmodifiedModels}";
    }

    _context.showErrorMessage(_context.getNode(), "Unsupported value of skipUnmodifiedModels property");
    return _context.getTemplateValue();
  }
  public static Object propertyMacro_GetValue_10_9(final PropertyMacroContext _context) {
    return SPropertyOperations.getEnum(_context.getNode(), PROPS.messageLevel$3iDi).getName();
  }
  public static Object propertyMacro_GetValue_10_10(final PropertyMacroContext _context) {
    if (Sequence.fromIterable(SNodeOperations.ofConcept(SLinkOperations.getChildren(_context.getNode(), LINKS.parts$mGDj), CONCEPTS.BuildMps_GeneratorOptions$A8)).isEmpty()) {
      return _context.getTemplateValue();
    }
    // just take the first one
    return "m2m-0";
  }
  public static Object propertyMacro_GetValue_10_11(final PropertyMacroContext _context) {
    return SPropertyOperations.getString(_context.getNode(), PROPS.path$oN2q);
  }
  public static Object propertyMacro_GetValue_10_12(final PropertyMacroContext _context) {
    return SPropertyOperations.getString(_context.getNode(), PROPS.path$oN2q);
  }
  public static Object propertyMacro_GetValue_10_13(final PropertyMacroContext _context) {
    return SPropertyOperations.getString(((SNode) _context.getVariable("var:compilerOptions")), PROPS.javaLevel$8zbK);
  }
  public static Object propertyMacro_GetValue_10_14(final PropertyMacroContext _context) {
    return (String) BuildSourcePath__BehaviorDescriptor.getAntPath_id7ro1ZztyOh5.invoke(SLinkOperations.getTarget(_context.getNode(), LINKS.path$iYKB), Context.defaultContext(_context));
  }
  public static Object propertyMacro_GetValue_10_15(final PropertyMacroContext _context) {
    SNode mpsAspect = Sequence.fromIterable(SNodeOperations.ofConcept(SLinkOperations.getChildren(_context.getNode(), LINKS.aspects$6r0Q), CONCEPTS.BuildMpsAspect$Ey)).first();

    int heapSize;
    // 0 as default value and 0 as heap size should be distinguished
    if ((mpsAspect != null) && (isNotEmptyString(mpsAspect.getProperty(PROPS.generationMaxHeapSizeInMb$XSHx)))) {
      heapSize = SPropertyOperations.getInteger(mpsAspect, PROPS.generationMaxHeapSizeInMb$XSHx);
    } else {
      // default size
      heapSize = 512;
    }

    return "-Xmx" + heapSize + "m";
  }
  public static Object propertyMacro_GetValue_10_16(final PropertyMacroContext _context) {
    return ((String) _context.getVariable("var:generatorOptions"));
  }
  public static Object propertyMacro_GetValue_10_17(final PropertyMacroContext _context) {
    return SPropertyOperations.getString(_context.getNode(), PROPS.name$MnvL);
  }
  public static Object propertyMacro_GetValue_10_18(final PropertyMacroContext _context) {
    return "${" + SPropertyOperations.getString(_context.getNode(), PROPS.name$MnvL) + "}";
  }
  public static Object propertyMacro_GetValue_10_19(final PropertyMacroContext _context) {
    return SPropertyOperations.getString(((SNode) _context.getVariable("var:compilerOptions")), PROPS.javaLevel$8zbK);
  }
  public static Object propertyMacro_GetValue_10_20(final PropertyMacroContext _context) {
    if (Sequence.fromIterable(SNodeOperations.ofConcept(SLinkOperations.getChildren(_context.getNode(), LINKS.parts$mGDj), CONCEPTS.BuildMps_GeneratorOptions$A8)).isEmpty()) {
      return _context.getTemplateValue();
    }
    // just take the first one
    return "m2m-0";
  }
  public static Object propertyMacro_GetValue_10_21(final PropertyMacroContext _context) {
    return SPropertyOperations.getString(_context.getNode(), PROPS.path$4PFd);
  }
  public static Object propertyMacro_GetValue_10_22(final PropertyMacroContext _context) {
    return SPropertyOperations.getString(_context.getNode(), PROPS.id$4PUe);
  }
  public static Object propertyMacro_GetValue_10_23(final PropertyMacroContext _context) {
    return SPropertyOperations.getString(_context.getNode(), PROPS.path$oN2q);
  }
  public static Object propertyMacro_GetValue_10_24(final PropertyMacroContext _context) {
    return (String) BuildSourcePath__BehaviorDescriptor.getAntPath_id7ro1ZztyOh5.invoke(SLinkOperations.getTarget(_context.getNode(), LINKS.path$iYKB), Context.defaultContext(_context));
  }
  public static Object propertyMacro_GetValue_10_25(final PropertyMacroContext _context) {
    SNode mpsAspect = Sequence.fromIterable(SNodeOperations.ofConcept(SLinkOperations.getChildren(_context.getNode(), LINKS.aspects$6r0Q), CONCEPTS.BuildMpsAspect$Ey)).first();

    int heapSize;
    // 0 as default value and 0 as heap size should be distinguished
    if ((mpsAspect != null) && (isNotEmptyString(mpsAspect.getProperty(PROPS.generationMaxHeapSizeInMb$XSHx)))) {
      heapSize = SPropertyOperations.getInteger(mpsAspect, PROPS.generationMaxHeapSizeInMb$XSHx);
    } else {
      // default size
      heapSize = 512;
    }

    return "-Xmx" + heapSize + "m";
  }
  public static Object propertyMacro_GetValue_10_26(final PropertyMacroContext _context) {
    return SPropertyOperations.getString(_context.getNode(), PROPS.name$MnvL);
  }
  public static Object propertyMacro_GetValue_10_27(final PropertyMacroContext _context) {
    return "${" + SPropertyOperations.getString(_context.getNode(), PROPS.name$MnvL) + "}";
  }
  public static Object propertyMacro_GetValue_10_28(final PropertyMacroContext _context) {
    return SPropertyOperations.getString(_context.getNode(), PROPS.path$oN2q);
  }
  public static Object propertyMacro_GetValue_10_29(final PropertyMacroContext _context) {
    return SPropertyOperations.getString(_context.getNode(), PROPS.path$oN2q);
  }
  public static Object propertyMacro_GetValue_10_30(final PropertyMacroContext _context) {
    return (String) BuildSourcePath__BehaviorDescriptor.getAntPath_id7ro1ZztyOh5.invoke(SLinkOperations.getTarget(_context.getNode(), LINKS.path$iYKB), Context.defaultContext(_context));
  }
  public static Object propertyMacro_GetValue_10_31(final PropertyMacroContext _context) {
    SNode mpsAspect = Sequence.fromIterable(SNodeOperations.ofConcept(SLinkOperations.getChildren(_context.getNode(), LINKS.aspects$6r0Q), CONCEPTS.BuildMpsAspect$Ey)).first();

    int heapSize;
    // 0 as default value and 0 as heap size should be distinguished
    if ((mpsAspect != null) && (isNotEmptyString(mpsAspect.getProperty(PROPS.generationMaxHeapSizeInMb$XSHx)))) {
      heapSize = SPropertyOperations.getInteger(mpsAspect, PROPS.generationMaxHeapSizeInMb$XSHx);
    } else {
      // default size
      heapSize = 512;
    }

    return "-Xmx" + heapSize + "m";
  }
  public static Object propertyMacro_GetValue_10_32(final PropertyMacroContext _context) {
    return SPropertyOperations.getString(_context.getNode(), PROPS.name$MnvL);
  }
  public static Object propertyMacro_GetValue_10_33(final PropertyMacroContext _context) {
    return "${" + SPropertyOperations.getString(_context.getNode(), PROPS.name$MnvL) + "}";
  }
  public static Object propertyMacro_GetValue_10_34(final PropertyMacroContext _context) {
    return SPropertyOperations.getString(SNodeOperations.cast(ListSequence.fromList(SLinkOperations.getChildren(_context.getNode(), LINKS.aspects$6r0Q)).findFirst((it) -> SNodeOperations.isInstanceOf(it, CONCEPTS.BuildMpsAspect$Ey)), CONCEPTS.BuildMpsAspect$Ey), PROPS.excludes$mj5k);
  }
  public static Object propertyMacro_GetValue_10_35(final PropertyMacroContext _context) {
    return (String) BuildSourcePath__BehaviorDescriptor.getAntPath_id7ro1ZztyOh5.invoke(SLinkOperations.getTarget(_context.getNode(), LINKS.path$zL7z), Context.defaultContext(_context));
  }
  public static Object propertyMacro_GetValue_10_36(final PropertyMacroContext _context) {
    return SPropertyOperations.getString(_context.getNode(), PROPS.path$URGX);
  }
  public static Object propertyMacro_GetValue_12_0(final PropertyMacroContext _context) {
    return SPropertyOperations.getBoolean(((SNode) _context.getVariable("layout_plugin")), PROPS.stripImplementation$43U1);
  }
  public static Object propertyMacro_GetValue_12_1(final PropertyMacroContext _context) {
    return SPropertyOperations.getString(SLinkOperations.getTarget(_context.getNode(), LINKS.group$qLbS), PROPS.name$MnvL);
  }
  public static Object propertyMacro_GetValue_12_2(final PropertyMacroContext _context) {
    return SPropertyOperations.getBoolean(((SNode) _context.getVariable("layout_plugin")), PROPS.stripImplementation$43U1);
  }
  public static Object propertyMacro_GetValue_13_0(final PropertyMacroContext _context) {
    return ((String) _context.getVariable("jarPath"));
  }
  public static Object propertyMacro_GetValue_13_1(final PropertyMacroContext _context) {
    return DependenciesHelper.get(_context, SNodeOperations.getNodeAncestor(((SNode) _context.getVariable("currentModule")), CONCEPTS.BuildProject$ae, false, false), "build.mps").getContentLocation(_context.getNode());
  }
  public static Object propertyMacro_GetValue_13_2(final PropertyMacroContext _context) {
    return ((String) _context.getVariable("jarPath"));
  }
  public static Object propertyMacro_GetValue_13_3(final PropertyMacroContext _context) {
    return ((String) _context.getVariable("jarPath"));
  }
  public static Object propertyMacro_GetValue_14_0(final PropertyMacroContext _context) {
    // FIXME no reason for MM to assume DD.descriptorFile always goes under module, we shall keep this knowledge here
    //       right now it's MM that prepends "module/" to the path we construct here, although it's this code that actually knowsn
    //       about module/ folder in the jar
    return ((String) _context.getVariable("descriptorSourceFile"));
  }
  public static Object propertyMacro_GetValue_14_1(final PropertyMacroContext _context) {
    return ((String) _context.getVariable("sourceJar"));
  }
  public static Object propertyMacro_GetValue_17_0(final PropertyMacroContext _context) {
    return BuildMps_Tips__BehaviorDescriptor.getPath_id4Y6KxqQL3ag.invoke(_context.getNode()) + "/tips/css";
  }
  public static Object propertyMacro_GetValue_17_1(final PropertyMacroContext _context) {
    return BuildMps_Tips__BehaviorDescriptor.getPath_id4Y6KxqQL3ag.invoke(_context.getNode()) + "/tips/images";
  }
  public static Object propertyMacro_GetValue_17_2(final PropertyMacroContext _context) {
    return (String) BuildMps_Tips__BehaviorDescriptor.getMpsTipsPath_id8yBQgWtrz8.invoke(_context.getNode());
  }
  public static Object propertyMacro_GetValue_17_3(final PropertyMacroContext _context) {
    return (String) BuildMps_Tips__BehaviorDescriptor.getPath_id4Y6KxqQL3ag.invoke(_context.getNode());
  }
  public static Object propertyMacro_GetValue_17_4(final PropertyMacroContext _context) {
    return (String) BuildMps_Tips__BehaviorDescriptor.getLocatedDirectory_id4Y6KxqQN2O7.invoke(SNodeOperations.getNodeAncestor(_context.getNode(), CONCEPTS.BuildMps_Tips$B3, false, false), SPropertyOperations.getString(_context.getNode(), PROPS.language$oDNS));
  }
  public static Object propertyMacro_GetValue_17_5(final PropertyMacroContext _context) {
    return (String) BuildSourcePath__BehaviorDescriptor.getRelativePath_id4Kip2_918YF.invoke(SLinkOperations.getTarget(_context.getNode(), LINKS.path$oDlQ));
  }
  public static Object propertyMacro_GetValue_17_6(final PropertyMacroContext _context) {
    return (String) BuildMps_Tips__BehaviorDescriptor.getLocatedDirectory_id4Y6KxqQN2O7.invoke(SNodeOperations.getNodeAncestor(_context.getNode(), CONCEPTS.BuildMps_Tips$B3, false, false), SPropertyOperations.getString(_context.getNode(), PROPS.language$oDNS));
  }
  public static Object propertyMacro_GetValue_17_7(final PropertyMacroContext _context) {
    int index = BuildSourcePath__BehaviorDescriptor.getRelativePath_id4Kip2_918YF.invoke(SLinkOperations.getTarget(_context.getNode(), LINKS.path$n1Fd)).indexOf("source_gen");

    return BuildSourcePath__BehaviorDescriptor.getRelativePath_id4Kip2_918YF.invoke(SLinkOperations.getTarget(_context.getNode(), LINKS.path$n1Fd)).substring(0, index);
  }
  public static Object propertyMacro_GetValue_17_8(final PropertyMacroContext _context) {
    int index = BuildSourcePath__BehaviorDescriptor.getRelativePath_id4Kip2_918YF.invoke(SLinkOperations.getTarget(_context.getNode(), LINKS.path$n1Fd)).lastIndexOf("/");

    return BuildSourcePath__BehaviorDescriptor.getRelativePath_id4Kip2_918YF.invoke(SLinkOperations.getTarget(_context.getNode(), LINKS.path$n1Fd)).substring(0, index) + "/";
  }
  public static Object propertyMacro_GetValue_17_9(final PropertyMacroContext _context) {
    return BuildMps_Tips__BehaviorDescriptor.getPath_id4Y6KxqQL3ag.invoke(SNodeOperations.getNodeAncestor(_context.getNode(), CONCEPTS.BuildMps_Tips$B3, false, false));
  }
  public static Object propertyMacro_GetValue_17_10(final PropertyMacroContext _context) {
    return (String) BuildSourcePath__BehaviorDescriptor.getRelativePath_id4Kip2_918YF.invoke(SLinkOperations.getTarget(_context.getNode(), LINKS.path$n1Fd));
  }
  public static Object propertyMacro_GetValue_17_11(final PropertyMacroContext _context) {
    return BuildMps_Tips__BehaviorDescriptor.getPath_id4Y6KxqQL3ag.invoke(_context.getNode()) + "/META-INF";
  }
  public static Object propertyMacro_GetValue_17_12(final PropertyMacroContext _context) {
    return BuildMps_Tips__BehaviorDescriptor.getPath_id4Y6KxqQL3ag.invoke(_context.getNode()) + "/tips";
  }
  public static Object propertyMacro_GetValue_17_13(final PropertyMacroContext _context) {
    return SPropertyOperations.getString(_context.getNode(), PROPS.name$MnvL) + ".prop.contents";
  }
  public static Object propertyMacro_GetValue_17_14(final PropertyMacroContext _context) {
    return "${" + SPropertyOperations.getString(_context.getNode(), PROPS.name$MnvL) + ".prop.contents}";
  }
  public static Object propertyMacro_GetValue_17_15(final PropertyMacroContext _context) {
    return BuildMps_Tips__BehaviorDescriptor.getPath_id4Y6KxqQL3ag.invoke(_context.getNode()) + "/META-INF/IdeTipsAndTricks.xml";
  }
  public static Object propertyMacro_GetValue_17_16(final PropertyMacroContext _context) {
    return BuildMps_Tips__BehaviorDescriptor.getPath_id4Y6KxqQL3ag.invoke(_context.getNode()) + "/META-INF/IdeTipsAndTricks.xml";
  }
  public static Object propertyMacro_GetValue_17_17(final PropertyMacroContext _context) {
    return BuildMps_Tips__BehaviorDescriptor.getPath_id4Y6KxqQL3ag.invoke(_context.getNode()) + "/META-INF/IdeTipsAndTricks.xml";
  }
  public static Object propertyMacro_GetValue_17_18(final PropertyMacroContext _context) {
    return "collect-tips-" + SPropertyOperations.getString(_context.getNode(), PROPS.name$MnvL);
  }
  public static Object propertyMacro_GetValue_18_0(final PropertyMacroContext _context) {
    return SPropertyOperations.getBoolean(((SNode) _context.getVariable("layout_plugin")), PROPS.stripImplementation$43U1);
  }
  public static Object propertyMacro_GetValue_18_1(final PropertyMacroContext _context) {
    return SPropertyOperations.getString(SLinkOperations.getTarget(_context.getNode(), LINKS.group$qLbS), PROPS.name$MnvL);
  }
  public static Object propertyMacro_GetValue_18_2(final PropertyMacroContext _context) {
    return SPropertyOperations.getBoolean(((SNode) _context.getVariable("layout_plugin")), PROPS.stripImplementation$43U1);
  }
  public static Object propertyMacro_GetValue_19_0(final PropertyMacroContext _context) {
    return (String) BuildMps_TipsPackage__BehaviorDescriptor.getTmpPath_id59gOS57Njec.invoke(_context.getNode(), SPropertyOperations.getString(SLinkOperations.getTarget(_context.getNode(), LINKS.tips$MAEw), PROPS.name$MnvL), _context.getNode());
  }
  public static Object propertyMacro_GetValue_19_1(final PropertyMacroContext _context) {
    if (SPropertyOperations.getString(_context.getNode(), PROPS.name$MnvL).endsWith(".jar")) {
      return SPropertyOperations.getString(_context.getNode(), PROPS.name$MnvL);
    } else {
      return SPropertyOperations.getString(_context.getNode(), PROPS.name$MnvL) + ".jar";
    }
  }
  public static Object referenceMacro_GetReferent_0_0(final ReferenceMacroContext _context) {
    SNode targetModule = SLinkOperations.getTarget(_context.getNode(), LINKS.targetModule$4853);
    return (SNodeOperations.getModel(targetModule).getModule() instanceof TransientModelsModule ? _context.getCopiedOutputNodeForInputNode(targetModule) : targetModule);
  }
  public static Object referenceMacro_GetReferent_0_1(final ReferenceMacroContext _context) {
    return SLinkOperations.getTarget(_context.getNode(), LINKS.targetFile$f8Q3);
  }
  public static Object referenceMacro_GetReferent_3_0(final ReferenceMacroContext _context) {
    return _context.getCopiedOutputNodeForInputNode(SNodeOperations.as(SLinkOperations.getTarget(_context.getNode(), LINKS.module$iRYT), CONCEPTS.BuildMps_Module$JW));
  }
  public static Object referenceMacro_GetReferent_3_1(final ReferenceMacroContext _context) {
    return _context.getNode();
  }
  public static Object referenceMacro_GetReferent_3_2(final ReferenceMacroContext _context) {
    return SLinkOperations.getTarget(_context.getNode(), LINKS.module$iRYT);
  }
  public static Object referenceMacro_GetReferent_4_0(final ReferenceMacroContext _context) {
    return _context.getOutputNodeByInputNodeAndMappingLabel(_context.getNode(), "javaModule");
  }
  public static Object referenceMacro_GetReferent_7_0(final ReferenceMacroContext _context) {
    return SLinkOperations.getTarget(_context.getNode(), LINKS.module$iRYT);
  }
  public static Object referenceMacro_GetReferent_7_1(final ReferenceMacroContext _context) {
    return _context.getCopiedOutputNodeForInputNode(SLinkOperations.getTarget(_context.getNode(), LINKS.plugin$9ewC));
  }
  public static Object referenceMacro_GetReferent_12_0(final ReferenceMacroContext _context) {
    return SLinkOperations.getTarget(_context.getNode(), LINKS.target$ccfo);
  }
  public static Object referenceMacro_GetReferent_12_1(final ReferenceMacroContext _context) {
    return _context.getNode();
  }
  public static Object referenceMacro_GetReferent_13_0(final ReferenceMacroContext _context) {
    return _context.getNode();
  }
  public static Object referenceMacro_GetReferent_13_1(final ReferenceMacroContext _context) {
    return _context.getNode();
  }
  public static Object referenceMacro_GetReferent_14_0(final ReferenceMacroContext _context) {
    return _context.getNode();
  }
  public static Object referenceMacro_GetReferent_18_0(final ReferenceMacroContext _context) {
    return SLinkOperations.getTarget(_context.getNode(), LINKS.target$ccfo);
  }
  public static Object referenceMacro_GetReferent_18_1(final ReferenceMacroContext _context) {
    return _context.getNode();
  }
  public static Object referenceMacro_GetReferent_21_0(final ReferenceMacroContext _context) {
    return _context.getOutputNodeByInputNodeAndMappingLabel(_context.getNode(), "MODULE2LAYOUT");
  }
  public static Object referenceReduction_GetReferent_0_zu1o_a0(final ReferenceMacroContext _context) {
    return _context.getOutputNodeByInputNodeAndMappingLabel(SNodeOperations.cast(SLinkOperations.getTarget(_context.getNode(), LINKS.module$qsl4), CONCEPTS.BuildMps_Module$JW), "javaModule");
  }
  public static boolean ifMacro_Condition_0_0(final IfMacroContext _context) {
    return (SLinkOperations.getTarget(_context.getNode(), LINKS.output$Hskt) != null);
  }
  public static boolean ifMacro_Condition_0_1(final IfMacroContext _context) {
    return ListSequence.fromList(SLinkOperations.getChildren(_context.getNode(), LINKS.classpathEntries$PWzd)).isNotEmpty();
  }
  public static boolean ifMacro_Condition_0_2(final IfMacroContext _context) {
    return SLinkOperations.getTarget(_context.getNode(), LINKS.sourcesJarLocation$dEUE) != null;
  }
  public static boolean ifMacro_Condition_0_3(final IfMacroContext _context) {
    return SLinkOperations.getTarget(_context.getNode(), LINKS.sourceDescriptorFile$k5dl) != null;
  }
  public static boolean ifMacro_Condition_0_4(final IfMacroContext _context) {
    return SLinkOperations.getTarget(_context.getNode(), LINKS.sourcesJarLocation$dEUE) != null || SLinkOperations.getTarget(_context.getNode(), LINKS.sourceDescriptorFile$k5dl) != null;
  }
  public static boolean ifMacro_Condition_0_5(final IfMacroContext _context) {
    return !(SPropertyOperations.getBoolean(SLinkOperations.getTarget(_context.getNode(), LINKS.plugin$9ewC), PROPS.pluginXmlProvided$f2I));
  }
  public static boolean ifMacro_Condition_0_6(final IfMacroContext _context) {
    return (boolean) BuildMpsLayout_Plugin__BehaviorDescriptor.isAutoLayoutForPluginDescriptorNeeded_id1RsDREuQnlU.invoke(_context.getNode(), Context.defaultContext(_context).getMacros(_context.getNode()));
  }
  public static boolean ifMacro_Condition_2_0(final IfMacroContext _context) {
    return (SLinkOperations.getTarget(SLinkOperations.getTarget(_context.getNode(), LINKS.module$zG3S), LINKS.path$iYKB) != null);
  }
  public static boolean ifMacro_Condition_2_1(final IfMacroContext _context) {
    return SPropertyOperations.getBoolean(((SNode) _context.getVariable("var:modelRoot")), PROPS.convert2binary$GPhk);
  }
  public static boolean ifMacro_Condition_2_2(final IfMacroContext _context) {
    return (SLinkOperations.getTarget(SLinkOperations.getTarget(_context.getNode(), LINKS.module$zG3S), LINKS.path$iYKB) != null);
  }
  public static boolean ifMacro_Condition_3_0(final IfMacroContext _context) {
    return (boolean) BuildMps_Module__BehaviorDescriptor.isCompilable_id6tOCIA6_7jg.invoke(SNodeOperations.as(SLinkOperations.getTarget(_context.getNode(), LINKS.module$iRYT), CONCEPTS.BuildMps_Module$JW));
  }
  public static boolean ifMacro_Condition_3_1(final IfMacroContext _context) {
    return SPropertyOperations.getBoolean(_context.getNode(), PROPS.customContent$2inR) && ListSequence.fromList(SLinkOperations.getChildren(SLinkOperations.getTarget(_context.getNode(), LINKS.deployedJar$Npdx), LINKS.children$aMRO)).isNotEmpty();
  }
  public static boolean ifMacro_Condition_3_2(final IfMacroContext _context) {
    return SPropertyOperations.getBoolean(_context.getNode(), PROPS.customContent$2inR) && ListSequence.fromList(SLinkOperations.getChildren(SLinkOperations.getTarget(_context.getNode(), LINKS.sourceJar$2j4U), LINKS.children$aMRO)).isNotEmpty();
  }
  public static boolean ifMacro_Condition_3_3(final IfMacroContext _context) {
    return ((Boolean) _context.getVariable("separateJarWithSources"));
  }
  public static boolean ifMacro_Condition_4_0(final IfMacroContext _context) {
    // XXX I've got no idea why we restrict to modules from the same project, technically
    // any module from the same model could be referenced here with BS_JavaDependencyModule
    // as it's done for dependencies to regular BuildSource_JavaModule at the template's call site (main, MpsModule->JavaModule)
    // With current approach, it looks odd to see e.g. mpsDevkit@5_0, where its solutions got translated to JavaModule and depend from
    // mpsBootstrapCore and mpsTesting languages via classpath element, while dependencies to mpsBootstrapCore's java modules (e.g. openapi, kernel)
    // are plain BuildSource_JavaModule references.
    // OTOH, if we move towards partial model regeneration, we might need to reconsider assumptions like 'same model/root' and always rely on x-model
    // reference restore mechanism (i.e. go on with BS_JavaModule and let generator restore the reference).
    return SNodeOperations.getContainingRoot(_context.getNode()) == SNodeOperations.getContainingRoot(((SNode) _context.getVariable("owner")));
  }
  public static boolean ifMacro_Condition_7_0(final IfMacroContext _context) {
    return SPropertyOperations.getBoolean(_context.getNode(), PROPS.customContent$2inR) && ListSequence.fromList(SLinkOperations.getChildren(SLinkOperations.getTarget(_context.getNode(), LINKS.deployedJar$Npdx), LINKS.children$aMRO)).isNotEmpty();
  }
  public static boolean ifMacro_Condition_7_1(final IfMacroContext _context) {
    return SPropertyOperations.getBoolean(_context.getNode(), PROPS.customContent$2inR) && ListSequence.fromList(SLinkOperations.getChildren(SLinkOperations.getTarget(_context.getNode(), LINKS.sourceJar$2j4U), LINKS.children$aMRO)).isNotEmpty();
  }
  public static boolean ifMacro_Condition_7_2(final IfMacroContext _context) {
    return SPropertyOperations.getBoolean(_context.getNode(), PROPS.customContent$2inR) && ListSequence.fromList(SLinkOperations.getChildren(SLinkOperations.getTarget(_context.getNode(), LINKS.deployedJar$Npdx), LINKS.children$aMRO)).isNotEmpty();
  }
  public static boolean ifMacro_Condition_7_3(final IfMacroContext _context) {
    return SPropertyOperations.getBoolean(_context.getNode(), PROPS.customContent$2inR) && ListSequence.fromList(SLinkOperations.getChildren(SLinkOperations.getTarget(_context.getNode(), LINKS.sourceJar$2j4U), LINKS.children$aMRO)).isNotEmpty();
  }
  public static boolean ifMacro_Condition_8_0(final IfMacroContext _context) {
    return isNotEmptyString(BuildString__BehaviorDescriptor.getText_id3NagsOfTioI.invoke(SLinkOperations.getTarget(((SNode) _context.getVariable("branding")), LINKS.codename$fDyC), Context.defaultContext(_context).getMacros(((SNode) _context.getVariable("branding")))));
  }
  public static boolean ifMacro_Condition_8_1(final IfMacroContext _context) {
    return (SLinkOperations.getTarget(((SNode) _context.getVariable("branding")), LINKS.updateWebsite$3wnJ) != null) && (SLinkOperations.getTarget(SLinkOperations.getTarget(((SNode) _context.getVariable("branding")), LINKS.updateWebsite$3wnJ), LINKS.updateChannel$4EXl) != null);
  }
  public static boolean ifMacro_Condition_8_2(final IfMacroContext _context) {
    return isNotEmptyString(BuildString__BehaviorDescriptor.getText_id3NagsOfTioI.invoke(SLinkOperations.getTarget(SLinkOperations.getTarget(((SNode) _context.getVariable("branding")), LINKS.company$8fEj), LINKS.copyrightStar$1Ma6), Context.defaultContext(_context).getMacros(((SNode) _context.getVariable("branding")))));
  }
  public static boolean ifMacro_Condition_8_3(final IfMacroContext _context) {
    return (SLinkOperations.getTarget(((SNode) _context.getVariable("branding")), LINKS.company$8fEj) != null);
  }
  public static boolean ifMacro_Condition_8_4(final IfMacroContext _context) {
    return (SLinkOperations.getTarget(((SNode) _context.getVariable("branding")), LINKS.textColor$76zz) != null);
  }
  public static boolean ifMacro_Condition_8_5(final IfMacroContext _context) {
    return (SLinkOperations.getTarget(((SNode) _context.getVariable("branding")), LINKS.progressColor$8Lc8) != null);
  }
  public static boolean ifMacro_Condition_8_6(final IfMacroContext _context) {
    return (SLinkOperations.getTarget(((SNode) _context.getVariable("branding")), LINKS.progressY$qdNT) != null) && ListSequence.fromList(SLinkOperations.getChildren(SLinkOperations.getTarget(((SNode) _context.getVariable("branding")), LINKS.progressY$qdNT), LINKS.parts$uJA0)).isNotEmpty();
  }
  public static boolean ifMacro_Condition_8_7(final IfMacroContext _context) {
    return (SLinkOperations.getTarget(((SNode) _context.getVariable("branding")), LINKS.progressHeight$ooGq) != null);
  }
  public static boolean ifMacro_Condition_8_8(final IfMacroContext _context) {
    return (SLinkOperations.getTarget(((SNode) _context.getVariable("branding")), LINKS.foreground$u03D) != null);
  }
  public static boolean ifMacro_Condition_8_9(final IfMacroContext _context) {
    return (SLinkOperations.getTarget(((SNode) _context.getVariable("branding")), LINKS.copyrightForeground$QIKr) != null);
  }
  public static boolean ifMacro_Condition_8_10(final IfMacroContext _context) {
    return (SLinkOperations.getTarget(((SNode) _context.getVariable("branding")), LINKS.linkColor$RaFi) != null);
  }
  public static boolean ifMacro_Condition_8_11(final IfMacroContext _context) {
    return (SLinkOperations.getTarget(((SNode) _context.getVariable("branding")), LINKS.logoX$i$vI) != null);
  }
  public static boolean ifMacro_Condition_8_12(final IfMacroContext _context) {
    return (SLinkOperations.getTarget(((SNode) _context.getVariable("branding")), LINKS.logoY$lpBM) != null);
  }
  public static boolean ifMacro_Condition_8_13(final IfMacroContext _context) {
    return (SLinkOperations.getTarget(((SNode) _context.getVariable("branding")), LINKS.logoW$p3jm) != null);
  }
  public static boolean ifMacro_Condition_8_14(final IfMacroContext _context) {
    return (SLinkOperations.getTarget(((SNode) _context.getVariable("branding")), LINKS.logoH$pwah) != null);
  }
  public static boolean ifMacro_Condition_8_15(final IfMacroContext _context) {
    return (SLinkOperations.getTarget(((SNode) _context.getVariable("branding")), LINKS.aboutScreen$4jLX) != null);
  }
  public static boolean ifMacro_Condition_8_16(final IfMacroContext _context) {
    return (SLinkOperations.getTarget(((SNode) _context.getVariable("branding")), LINKS.icon$bVaC) != null);
  }
  public static boolean ifMacro_Condition_8_17(final IfMacroContext _context) {
    return (SLinkOperations.getTarget(((SNode) _context.getVariable("branding")), LINKS.svg$AjjI) != null);
  }
  public static boolean ifMacro_Condition_8_18(final IfMacroContext _context) {
    return (SLinkOperations.getTarget(((SNode) _context.getVariable("branding")), LINKS.svg_small$ASoc) != null);
  }
  public static boolean ifMacro_Condition_8_19(final IfMacroContext _context) {
    return (SLinkOperations.getTarget(((SNode) _context.getVariable("branding")), LINKS.icon32$9UUK) != null);
  }
  public static boolean ifMacro_Condition_8_20(final IfMacroContext _context) {
    return (SLinkOperations.getTarget(((SNode) _context.getVariable("branding")), LINKS.icon16$9V9L) != null);
  }
  public static boolean ifMacro_Condition_8_21(final IfMacroContext _context) {
    return (SLinkOperations.getTarget(((SNode) _context.getVariable("branding")), LINKS.icon128$$$91) != null);
  }
  public static boolean ifMacro_Condition_8_22(final IfMacroContext _context) {
    return isNotEmptyString(BuildString__BehaviorDescriptor.getText_id3NagsOfTioI.invoke(SLinkOperations.getTarget(((SNode) _context.getVariable("branding")), LINKS.edition$LSAW), Context.defaultContext(_context).getMacros(((SNode) _context.getVariable("branding")))));
  }
  public static boolean ifMacro_Condition_8_23(final IfMacroContext _context) {
    return (SLinkOperations.getTarget(((SNode) _context.getVariable("branding")), LINKS.updateWebsite$3wnJ) != null);
  }
  public static boolean ifMacro_Condition_8_24(final IfMacroContext _context) {
    return isNotEmptyString(BuildString__BehaviorDescriptor.getText_id3NagsOfTioI.invoke(SLinkOperations.getTarget(SLinkOperations.getTarget(((SNode) _context.getVariable("branding")), LINKS.help$pHDr), LINKS.file$7xzx), Context.defaultContext(_context).getMacros(((SNode) _context.getVariable("branding")))));
  }
  public static boolean ifMacro_Condition_8_25(final IfMacroContext _context) {
    return (SLinkOperations.getTarget(((SNode) _context.getVariable("branding")), LINKS.help$pHDr) != null);
  }
  public static boolean ifMacro_Condition_8_26(final IfMacroContext _context) {
    return (SLinkOperations.getTarget(((SNode) _context.getVariable("branding")), LINKS.documentation$2S7O) != null);
  }
  public static boolean ifMacro_Condition_8_27(final IfMacroContext _context) {
    return (SLinkOperations.getTarget(((SNode) _context.getVariable("branding")), LINKS.support$ZnCU) != null);
  }
  public static boolean ifMacro_Condition_8_28(final IfMacroContext _context) {
    return (SLinkOperations.getTarget(((SNode) _context.getVariable("branding")), LINKS.feedbackUrl$D0L$) != null);
  }
  public static boolean ifMacro_Condition_8_29(final IfMacroContext _context) {
    return (SLinkOperations.getTarget(((SNode) _context.getVariable("branding")), LINKS.whatsnew$KhWO) != null);
  }
  public static boolean ifMacro_Condition_8_30(final IfMacroContext _context) {
    return (SLinkOperations.getTarget(((SNode) _context.getVariable("branding")), LINKS.keymap$i0Aq) != null);
  }
  public static boolean ifMacro_Condition_8_31(final IfMacroContext _context) {
    return (SLinkOperations.getTarget(((SNode) _context.getVariable("branding")), LINKS.stats$rW6s) != null);
  }
  public static boolean ifMacro_Condition_8_32(final IfMacroContext _context) {
    return (SLinkOperations.getTarget(((SNode) _context.getVariable("branding")), LINKS.icon16$9V9L) != null);
  }
  public static boolean ifMacro_Condition_8_33(final IfMacroContext _context) {
    return (SLinkOperations.getTarget(((SNode) _context.getVariable("branding")), LINKS.icon32$9UUK) != null);
  }
  public static boolean ifMacro_Condition_8_34(final IfMacroContext _context) {
    return (SLinkOperations.getTarget(((SNode) _context.getVariable("branding")), LINKS.icon128$$$91) != null);
  }
  public static boolean ifMacro_Condition_8_35(final IfMacroContext _context) {
    return (SLinkOperations.getTarget(((SNode) _context.getVariable("branding")), LINKS.svg$AjjI) != null);
  }
  public static boolean ifMacro_Condition_8_36(final IfMacroContext _context) {
    return (SLinkOperations.getTarget(((SNode) _context.getVariable("branding")), LINKS.svg_small$ASoc) != null);
  }
  public static boolean ifMacro_Condition_8_37(final IfMacroContext _context) {
    return (SLinkOperations.getTarget(((SNode) _context.getVariable("branding")), LINKS.icon$bVaC) != null);
  }
  public static boolean ifMacro_Condition_8_38(final IfMacroContext _context) {
    return (SLinkOperations.getTarget(((SNode) _context.getVariable("branding")), LINKS.aboutScreen$4jLX) != null);
  }
  public static boolean ifMacro_Condition_9_0(final IfMacroContext _context) {
    return (SLinkOperations.getTarget(((SNode) _context.getVariable("plugin")), LINKS.description$YLU$) != null);
  }
  public static boolean ifMacro_Condition_9_1(final IfMacroContext _context) {
    return isNotEmptyString(SPropertyOperations.getString(SLinkOperations.getTarget(((SNode) _context.getVariable("plugin")), LINKS.vendor$1XBo), PROPS.url$IIAT));
  }
  public static boolean ifMacro_Condition_9_2(final IfMacroContext _context) {
    return (SLinkOperations.getTarget(((SNode) _context.getVariable("plugin")), LINKS.vendor$1XBo) != null) && isNotEmptyString(SPropertyOperations.getString(SLinkOperations.getTarget(((SNode) _context.getVariable("plugin")), LINKS.vendor$1XBo), PROPS.name$IIPU));
  }
  public static boolean ifMacro_Condition_9_3(final IfMacroContext _context) {
    // generated by default
    return (SLinkOperations.getTarget(((SNode) _context.getVariable("plugin")), LINKS.pluginXml$ywib) == null);
  }
  public static boolean ifMacro_Condition_10_0(final IfMacroContext _context) {
    return (SPropertyOperations.getEnum(_context.getNode(), PROPS.messageLevel$3iDi) != null);
  }
  public static boolean ifMacro_Condition_10_1(final IfMacroContext _context) {
    return ((SNode) _context.getVariable("var:compilerOptions")) != null && isNotEmptyString(SPropertyOperations.getString(((SNode) _context.getVariable("var:compilerOptions")), PROPS.javaLevel$8zbK));
  }
  public static boolean ifMacro_Condition_10_2(final IfMacroContext _context) {
    return ((MPSModulesPartitioner.Chunk) _context.getVariable("var:chunk")).isBootstrap();
  }
  public static boolean ifMacro_Condition_10_3(final IfMacroContext _context) {
    return ((MPSModulesPartitioner.Chunk) _context.getVariable("var:chunk")).isConflicting(_context.getNode());
  }
  public static boolean ifMacro_Condition_10_4(final IfMacroContext _context) {
    return ((String) _context.getVariable("var:generatorOptions")) != null;
  }
  public static boolean ifMacro_Condition_10_5(final IfMacroContext _context) {
    return !(SPropertyOperations.getBoolean(Sequence.fromIterable(SNodeOperations.ofConcept(SLinkOperations.getChildren(_context.getNode(), LINKS.plugins$AsCR), CONCEPTS.BuildMPSPlugin$YW)).first(), PROPS.useMakeTask$aRFt));
  }
  public static boolean ifMacro_Condition_10_6(final IfMacroContext _context) {
    return ((SNode) _context.getVariable("var:compilerOptions")) != null && isNotEmptyString(SPropertyOperations.getString(((SNode) _context.getVariable("var:compilerOptions")), PROPS.javaLevel$8zbK));
  }
  public static boolean ifMacro_Condition_10_7(final IfMacroContext _context) {
    // XXX the reason I decided to put <mps.make> as alternative to <generate> as a start is
    //     to avoid deep dive into common/java/mps task dependencies and how to switch to a different set.
    //     Instead, just stick to present workflow
    return SPropertyOperations.getBoolean(Sequence.fromIterable(SNodeOperations.ofConcept(SLinkOperations.getChildren(_context.getNode(), LINKS.plugins$AsCR), CONCEPTS.BuildMPSPlugin$YW)).first(), PROPS.useMakeTask$aRFt);
  }
  public static boolean ifMacro_Condition_10_8(final IfMacroContext _context) {
    return Sequence.fromIterable(((MPSModulesPartitioner) _context.getVariable("var:closure")).getExternal()).isNotEmpty();
  }
  public static boolean ifMacro_Condition_10_9(final IfMacroContext _context) {
    SNode mpsAspect = Sequence.fromIterable(SNodeOperations.ofConcept(SLinkOperations.getChildren(_context.getNode(), LINKS.aspects$6r0Q), CONCEPTS.BuildMpsAspect$Ey)).first();
    return (mpsAspect != null) && SPropertyOperations.getBoolean(mpsAspect, PROPS.testGeneration$xdoj);
  }
  public static boolean ifMacro_Condition_10_10(final IfMacroContext _context) {
    SNode ba = ListSequence.fromList(SLinkOperations.getChildren(_context.getNode(), LINKS.aspects$6r0Q)).findFirst((it) -> SNodeOperations.isInstanceOf(it, CONCEPTS.BuildMpsAspect$Ey));
    if ((ba == null)) {
      return false;
    }
    return isNotEmptyString(SPropertyOperations.getString(SNodeOperations.cast(ba, CONCEPTS.BuildMpsAspect$Ey), PROPS.excludes$mj5k));
  }
  public static boolean ifMacro_Condition_10_11(final IfMacroContext _context) {
    return Sequence.fromIterable(((MPSModulesPartitioner) _context.getVariable("var:closure")).getExternal()).isNotEmpty();
  }
  public static boolean ifMacro_Condition_10_12(final IfMacroContext _context) {
    // sort of stupid way to find out if project has 'generate' task;
    // although the previous one, hardcoded check for presence of specific task library node,
    // was not better.
    return Sequence.fromIterable(SNodeOperations.ofConcept(SLinkOperations.getChildren(SLinkOperations.getTarget(_context.getNode(), LINKS.project$ciHu), LINKS.plugins$AsCR), CONCEPTS.BuildMPSPlugin$YW)).isNotEmpty();
  }
  public static boolean ifMacro_Condition_10_13(final IfMacroContext _context) {
    return ListSequence.fromList(((List<SNode>) _context.getVariable("var:dependency"))).isNotEmpty();
  }
  public static boolean ifMacro_Condition_17_0(final IfMacroContext _context) {
    return ListSequence.fromList(SLinkOperations.getChildren(_context.getNode(), LINKS.imports$27EN)).any((it) -> SNodeOperations.isInstanceOf(it, CONCEPTS.BuildMps_TipsMps$y5));
  }
  public static boolean ifMacro_Condition_17_1(final IfMacroContext _context) {
    return ListSequence.fromList(SLinkOperations.getChildren(_context.getNode(), LINKS.imports$27EN)).any((it) -> SNodeOperations.isInstanceOf(it, CONCEPTS.BuildMps_TipsMps$y5)) || ListSequence.fromList(SLinkOperations.getChildren(_context.getNode(), LINKS.imports$27EN)).any((it) -> SNodeOperations.isInstanceOf(it, CONCEPTS.BuildMps_TipsSolution$5K));
  }
  public static boolean ifMacro_Condition_19_0(final IfMacroContext _context) {
    return (SLinkOperations.getTarget(_context.getNode(), LINKS.tips$MAEw) != null);
  }
  public static SNode sourceNodeQuery_0_0(final SourceSubstituteMacroNodeContext _context) {
    return SLinkOperations.getTarget(_context.getNode(), LINKS.folder$URyp);
  }
  public static SNode sourceNodeQuery_0_1(final SourceSubstituteMacroNodeContext _context) {
    return SLinkOperations.getTarget(SLinkOperations.getTarget(_context.getNode(), LINKS.folder$ICh7), LINKS.path$zL7z);
  }
  public static SNode sourceNodeQuery_0_2(final SourceSubstituteMacroNodeContext _context) {
    return ((SNode) _context.getVariable("var:mpsModule"));
  }
  public static SNode sourceNodeQuery_0_3(final SourceSubstituteMacroNodeContext _context) {
    return SLinkOperations.getTarget(_context.getNode(), LINKS.output$Hskt);
  }
  public static SNode sourceNodeQuery_0_4(final SourceSubstituteMacroNodeContext _context) {
    return SNodeOperations.copyNode(SLinkOperations.getTarget(SLinkOperations.getTarget(_context.getNode(), LINKS.plugin$9ewC), LINKS.containerName$xQbG));
  }
  public static SNode sourceNodeQuery_2_0(final SourceSubstituteMacroNodeContext _context) {
    return SLinkOperations.getTarget(SLinkOperations.getTarget(_context.getNode(), LINKS.module$zG3S), LINKS.path$iYKB);
  }
  public static SNode sourceNodeQuery_2_1(final SourceSubstituteMacroNodeContext _context) {
    return SLinkOperations.getTarget(_context.getNode(), LINKS.dir$e6r$);
  }
  public static SNode sourceNodeQuery_3_0(final SourceSubstituteMacroNodeContext _context) {
    return SLinkOperations.getTarget(_context.getNode(), LINKS.module$iRYT);
  }
  public static SNode sourceNodeQuery_6_0(final SourceSubstituteMacroNodeContext _context) {
    return ((Tuples._2<SNode, String>) _context.getVariable("var:target"))._0();
  }
  public static SNode sourceNodeQuery_7_0(final SourceSubstituteMacroNodeContext _context) {
    return SLinkOperations.getTarget(_context.getNode(), LINKS.module$iRYT);
  }
  public static SNode sourceNodeQuery_7_1(final SourceSubstituteMacroNodeContext _context) {
    return SLinkOperations.getTarget(_context.getNode(), LINKS.module$iRYT);
  }
  public static SNode sourceNodeQuery_7_2(final SourceSubstituteMacroNodeContext _context) {
    // XXX I know I could have delegated to 'sources of ->$aaa', but I don't like contentOf_BuildMpsLayout_ModuleSources
    //     template due to the way resources get copied depending on modelsOnly flag, and gonna refactor it. Once refactored,
    //     and the single jar deployment story is complete, may change this 'copy file .' to become 'sources of'.
    return SLinkOperations.getTarget(SLinkOperations.getTarget(_context.getNode(), LINKS.module$iRYT), LINKS.path$iYKB);
  }
  public static SNode sourceNodeQuery_8_0(final SourceSubstituteMacroNodeContext _context) {
    return SLinkOperations.getTarget(((SNode) _context.getVariable("branding")), LINKS.icon16$9V9L);
  }
  public static SNode sourceNodeQuery_8_1(final SourceSubstituteMacroNodeContext _context) {
    return SLinkOperations.getTarget(((SNode) _context.getVariable("branding")), LINKS.icon32$9UUK);
  }
  public static SNode sourceNodeQuery_8_2(final SourceSubstituteMacroNodeContext _context) {
    return SLinkOperations.getTarget(((SNode) _context.getVariable("branding")), LINKS.icon128$$$91);
  }
  public static SNode sourceNodeQuery_8_3(final SourceSubstituteMacroNodeContext _context) {
    return SLinkOperations.getTarget(((SNode) _context.getVariable("branding")), LINKS.svg$AjjI);
  }
  public static SNode sourceNodeQuery_8_4(final SourceSubstituteMacroNodeContext _context) {
    return SLinkOperations.getTarget(((SNode) _context.getVariable("branding")), LINKS.svg_small$ASoc);
  }
  public static SNode sourceNodeQuery_8_5(final SourceSubstituteMacroNodeContext _context) {
    return SLinkOperations.getTarget(((SNode) _context.getVariable("branding")), LINKS.icon$bVaC);
  }
  public static SNode sourceNodeQuery_8_6(final SourceSubstituteMacroNodeContext _context) {
    return SLinkOperations.getTarget(((SNode) _context.getVariable("branding")), LINKS.welcomeLogo$kmjM);
  }
  public static SNode sourceNodeQuery_8_7(final SourceSubstituteMacroNodeContext _context) {
    return SLinkOperations.getTarget(((SNode) _context.getVariable("branding")), LINKS.splashScreen$4jyW);
  }
  public static SNode sourceNodeQuery_8_8(final SourceSubstituteMacroNodeContext _context) {
    return SLinkOperations.getTarget(((SNode) _context.getVariable("branding")), LINKS.aboutScreen$4jLX);
  }
  public static SNode sourceNodeQuery_9_0(final SourceSubstituteMacroNodeContext _context) {
    return SLinkOperations.getTarget(((SNode) _context.getVariable("plugin")), LINKS.pluginXml$ywib);
  }
  public static SNode sourceNodeQuery_15_0(final SourceSubstituteMacroNodeContext _context) {
    return SLinkOperations.getTarget(SLinkOperations.getTarget(_context.getNode(), LINKS.folder$URyp), LINKS.path$zL7z);
  }
  public static SNode sourceNodeQuery_15_1(final SourceSubstituteMacroNodeContext _context) {
    return SLinkOperations.getTarget(_context.getNode(), LINKS.files$uRjo);
  }
  public static SNode sourceNodeQuery_16_0(final SourceSubstituteMacroNodeContext _context) {
    return SLinkOperations.getTarget(SLinkOperations.getTarget(_context.getNode(), LINKS.folder$URyp), LINKS.path$zL7z);
  }
  public static Object templateArgumentQuery_7_0(final TemplateArgumentContext _context) {
    return SNodeOperations.cast(SLinkOperations.getTarget(_context.getNode(), LINKS.element$PGip), CONCEPTS.BuildMps_Branding$M0);
  }
  public static Object templateArgumentQuery_0_0(final TemplateArgumentContext _context) {
    return ((SNode) _context.getVariable("var:mpsModule"));
  }
  public static Object templateArgumentQuery_0_1(final TemplateArgumentContext _context) {
    return SLinkOperations.getTarget(_context.getNode(), LINKS.targetPath$MMCS);
  }
  public static Object templateArgumentQuery_0_2(final TemplateArgumentContext _context) {
    return SLinkOperations.getTarget(_context.getNode(), LINKS.plugin$9ewC);
  }
  public static Object templateArgumentQuery_0_3(final TemplateArgumentContext _context) {
    return SLinkOperations.getTarget(_context.getNode(), LINKS.plugin$9ewC);
  }
  public static Object templateArgumentQuery_3_0(final TemplateArgumentContext _context) {
    return (((Boolean) _context.getVariable("separateJarWithSources")) ? BuildMpsLayout_ModuleJars__BehaviorDescriptor.getSourceModuleJarName_id6v5CVv8csP9.invoke(_context.getNode()) : null);
  }
  public static Object templateArgumentQuery_3_1(final TemplateArgumentContext _context) {
    return (((Boolean) _context.getVariable("separateJarWithSources")) ? BuildSourcePath__BehaviorDescriptor.getLastSegment_id5dwDdJ8yckN.invoke(SLinkOperations.getTarget(SLinkOperations.getTarget(_context.getNode(), LINKS.module$iRYT), LINKS.path$iYKB)) : null);
  }
  public static Object templateArgumentQuery_3_2(final TemplateArgumentContext _context) {
    return ((boolean) BuildMps_Module__BehaviorDescriptor.isCompilable_id6tOCIA6_7jg.invoke(SNodeOperations.as(SLinkOperations.getTarget(_context.getNode(), LINKS.module$iRYT), CONCEPTS.BuildMps_Module$JW)) ? new String[]{"."} : new String[0]);
  }
  public static Object templateArgumentQuery_3_3(final TemplateArgumentContext _context) {
    return SLinkOperations.getChildren(_context.getNode(), LINKS.jarLocations$YX2i);
  }
  public static Object templateArgumentQuery_3_4(final TemplateArgumentContext _context) {
    return (((Boolean) _context.getVariable("separateJarWithSources")) ? BuildMpsLayout_ModuleJars__BehaviorDescriptor.getSourceModuleJarName_id6v5CVv8csP9.invoke(((SNode) _context.getVariable("var:moduleJarsNode"))) : null);
  }
  public static Object templateArgumentQuery_3_5(final TemplateArgumentContext _context) {
    return (((Boolean) _context.getVariable("separateJarWithSources")) ? BuildSourcePath__BehaviorDescriptor.getLastSegment_id5dwDdJ8yckN.invoke(SLinkOperations.getTarget(SLinkOperations.getTarget(_context.getNode(), LINKS.sourceLanguage$A51U), LINKS.path$iYKB)) : null);
  }
  public static Object templateArgumentQuery_3_6(final TemplateArgumentContext _context) {
    return new String[]{"."};
  }
  public static Object templateArgumentQuery_7_1(final TemplateArgumentContext _context) {
    return BuildSourcePath__BehaviorDescriptor.getLastSegment_id5dwDdJ8yckN.invoke(SLinkOperations.getTarget(SLinkOperations.getTarget(_context.getNode(), LINKS.module$iRYT), LINKS.path$iYKB));
  }
  public static Object templateArgumentQuery_7_2(final TemplateArgumentContext _context) {
    return new String[0];
  }
  public static Object templateArgumentQuery_7_3(final TemplateArgumentContext _context) {
    return SLinkOperations.getChildren(_context.getNode(), LINKS.jarLocations$YX2i);
  }
  public static Object templateArgumentQuery_7_4(final TemplateArgumentContext _context) {
    return BuildSourcePath__BehaviorDescriptor.getLastSegment_id5dwDdJ8yckN.invoke(SLinkOperations.getTarget(SLinkOperations.getTarget(_context.getNode(), LINKS.module$iRYT), LINKS.path$iYKB));
  }
  public static Object templateArgumentQuery_7_5(final TemplateArgumentContext _context) {
    return new String[0];
  }
  public static Object templateArgumentQuery_0_4(final TemplateArgumentContext _context) {
    return SLinkOperations.getTarget(_context.getNode(), LINKS.plugin$ZarS);
  }
  public static Object templateArgumentQuery_7_6(final TemplateArgumentContext _context) {
    return (SLinkOperations.getTarget(SLinkOperations.getTarget(_context.getNode(), LINKS.module$iRYT), LINKS.path$iYKB) != null);
  }
  public static Object templateArgumentQuery_6_0(final TemplateArgumentContext _context) {
    return _context.getNode();
  }
  public static Object templateArgumentQuery_6_1(final TemplateArgumentContext _context) {
    return ((Tuples._2<SNode, String>) _context.getVariable("var:target"))._1();
  }
  public static Iterable<SNode> sourceNodesQuery_0_0(final SourceSubstituteMacroNodesContext _context) {
    return SNodeOperations.ofConcept(SLinkOperations.getChildren(_context.getNode(), LINKS.sources$mT1j), CONCEPTS.BuildMps_ModuleJavaSource$M6);
  }
  public static Iterable<SNode> sourceNodesQuery_0_1(final SourceSubstituteMacroNodesContext _context) {
    return SNodeOperations.ofConcept(SLinkOperations.getChildren(_context.getNode(), LINKS.sources$mT1j), CONCEPTS.BuildMps_ModuleTestSource$tl);
  }
  public static Iterable<SNode> sourceNodesQuery_0_2(final SourceSubstituteMacroNodesContext _context) {
    return Sequence.fromIterable(((MPSModulesClosure) _context.getVariable("var:mdeps")).getModules()).where((it) -> (boolean) BuildMps_Module__BehaviorDescriptor.isCompilable_id6tOCIA6_7jg.invoke(it)).sort((it) -> SPropertyOperations.getString(it, PROPS.name$MnvL), true);
  }
  public static Iterable<SNode> sourceNodesQuery_0_3(final SourceSubstituteMacroNodesContext _context) {
    MPSModulesClosure.RequiredJavaModules requiredAndReexp = ((MPSModulesClosure) _context.getVariable("var:mdeps")).getRequiredJava();
    List<SNode> result = new ArrayList<SNode>();
    for (SNode mod : Sequence.fromIterable(requiredAndReexp.getModules()).sort((it) -> SPropertyOperations.getString(it, PROPS.name$MnvL), true)) {
      SNode loopnode = SModelOperations.createNewNode(_context.getOutputModel(), null, CONCEPTS.GeneratorInternal_BuildSource_JavaModule$pC);
      SLinkOperations.setTarget(loopnode, LINKS.targetModule$4853, mod);
      SPropertyOperations.set(loopnode, PROPS.targetReexport$48k4, requiredAndReexp.isReexported(mod));
      ListSequence.fromList(result).addElement(loopnode);
    }
    return result;
  }
  public static Iterable<SNode> sourceNodesQuery_0_4(final SourceSubstituteMacroNodesContext _context) {
    List<SNode> result = new ArrayList<SNode>();
    for (SNode module : Sequence.fromIterable(((MPSModulesClosure) _context.getVariable("var:mdeps")).getModules()).concat(ListSequence.fromList(((MPSModulesClosure) _context.getVariable("var:mdeps")).getInitial())).where((it) -> SNodeOperations.getContainingRoot(_context.getNode()) == SNodeOperations.getContainingRoot(it)).sort((it) -> SPropertyOperations.getString(it, PROPS.name$MnvL), true)) {
      ListSequence.fromList(result).addSequence(Sequence.fromIterable(SNodeOperations.ofConcept(SLinkOperations.getChildren(module, LINKS.dependencies$j8Lj), CONCEPTS.BuildMps_ModuleDependencyJar$Rm)).where((it) -> (SLinkOperations.getTarget(it, LINKS.customLocation$e43G) == null)).select((it) -> SNodeOperations.copyNode(SLinkOperations.getTarget(it, LINKS.path$yTVo))));
    }
    return result;
  }
  public static Iterable<SNode> sourceNodesQuery_0_5(final SourceSubstituteMacroNodesContext _context) {
    List<SNode> result = new ArrayList<SNode>();
    for (SNode module : Sequence.fromIterable(((MPSModulesClosure) _context.getVariable("var:mdeps")).getModules()).where((it) -> SNodeOperations.getContainingRoot(_context.getNode()) != SNodeOperations.getContainingRoot(it)).sort((it) -> SPropertyOperations.getString(it, PROPS.name$MnvL), true)) {
      ListSequence.fromList(result).addSequence(Sequence.fromIterable(SLinkOperations.collect(Sequence.fromIterable(SNodeOperations.ofConcept(BuildMps_Module__BehaviorDescriptor.getDependenciesUnwrapped_id3QtfwKhgryb.invoke(module), CONCEPTS.BuildMps_ModuleDependencyJar$Rm)).where((it) -> (SLinkOperations.getTarget(it, LINKS.customLocation$e43G) == null)), LINKS.path$yTVo)));
    }
    return ListSequence.fromList(result).distinct().select((it) -> {
      SNode loopnode = SModelOperations.createNewNode(_context.getOutputModel(), null, CONCEPTS.GeneratorInternal_BuildSourcePath$CL);
      SLinkOperations.setTarget(loopnode, LINKS.targetPath$MMCS, it);
      return loopnode;
    });
  }
  public static Iterable<SNode> sourceNodesQuery_0_6(final SourceSubstituteMacroNodesContext _context) {
    List<SNode> result = new ArrayList<SNode>();
    for (SNode module : Sequence.fromIterable(((MPSModulesClosure) _context.getVariable("var:mdeps")).getModules()).concat(ListSequence.fromList(((MPSModulesClosure) _context.getVariable("var:mdeps")).getInitial())).sort((it) -> SPropertyOperations.getString(it, PROPS.name$MnvL), true)) {
      ListSequence.fromList(result).addSequence(Sequence.fromIterable(SLinkOperations.collect(Sequence.fromIterable(SNodeOperations.ofConcept(BuildMps_Module__BehaviorDescriptor.getDependenciesUnwrapped_id3QtfwKhgryb.invoke(module), CONCEPTS.BuildMps_ModuleDependencyJar$Rm)).where((it) -> (SLinkOperations.getTarget(it, LINKS.customLocation$e43G) != null)), LINKS.customLocation$e43G)));
    }
    return ListSequence.fromList(result).distinct().select((it) -> {
      SNode loopnode = SModelOperations.createNewNode(_context.getOutputModel(), null, CONCEPTS.GeneratorInternal_BuildSource_SingleFile$ra);
      SLinkOperations.setTarget(loopnode, LINKS.targetFile$f8Q3, SLinkOperations.getTarget(it, LINKS.jar$JLD3));
      return loopnode;
    });
  }
  public static Iterable<SNode> sourceNodesQuery_0_7(final SourceSubstituteMacroNodesContext _context) {
    return SLinkOperations.getChildren(_context.getNode(), LINKS.modules$JlQo);
  }
  public static Iterable<SNode> sourceNodesQuery_0_8(final SourceSubstituteMacroNodesContext _context) {
    return SLinkOperations.getChildren(_context.getNode(), LINKS.children$aMRO);
  }
  public static Iterable<SNode> sourceNodesQuery_0_9(final SourceSubstituteMacroNodesContext _context) {
    return Sequence.fromIterable(((RuntimeDependencies) _context.getVariable("var:rtDeps")).languageRuntimes()).sort((it) -> SPropertyOperations.getString(it, PROPS.name$MnvL), true);
  }
  public static Iterable<SNode> sourceNodesQuery_0_10(final SourceSubstituteMacroNodesContext _context) {
    return Sequence.fromIterable(((RuntimeDependencies) _context.getVariable("var:rtDeps")).deploymentDependencies()).sort((it) -> SPropertyOperations.getString(it, PROPS.name$MnvL), true);
  }
  public static Iterable<SNode> sourceNodesQuery_0_11(final SourceSubstituteMacroNodesContext _context) {
    // XXX though it's not apparent if deployed module shall tell their used languages (seems that RTs of these languages should be sufficient),
    //     there's a lot of code in MPS that asks for module's languages and it seems(!) we'd better give some reasonable values there.
    // FIXME revisit to justify true need for deployed module to tell its used languages
    return Sequence.fromIterable(((RuntimeDependencies) _context.getVariable("var:rtDeps")).usedLanguages()).sort((it) -> SPropertyOperations.getString(it, PROPS.name$MnvL), true);
  }
  public static Iterable<SNode> sourceNodesQuery_0_12(final SourceSubstituteMacroNodesContext _context) {
    return SLinkOperations.collect(SNodeOperations.ofConcept(BuildMps_Module__BehaviorDescriptor.getDependenciesUnwrapped_id3QtfwKhgryb.invoke(SNodeOperations.as(SLinkOperations.getTarget(_context.getNode(), LINKS.module$yKRo), CONCEPTS.BuildMps_Module$JW)), CONCEPTS.BuildMps_ModuleDependencyJar$Rm), LINKS.path$yTVo);
  }
  public static Iterable<SNode> sourceNodesQuery_0_13(final SourceSubstituteMacroNodesContext _context) {
    // / MPS module uses classes of some JavaModule as its java library. If there's a jarLcoation specified for such location, shall mention it in <library>
    final Iterable<SNode> javaLibsOfModule = Sequence.fromIterable(SLinkOperations.collect(SNodeOperations.ofConcept(BuildMps_Module__BehaviorDescriptor.getDependenciesUnwrapped_id3QtfwKhgryb.invoke(SNodeOperations.as(SLinkOperations.getTarget(_context.getNode(), LINKS.module$yKRo), CONCEPTS.BuildMps_Module$JW)), CONCEPTS.BuildMps_ModuleDependencyOnJavaModule$MK), LINKS.javaLibLocation$cmtb)).where(new NotNullWhereFilter());
    return ListSequence.fromList(SLinkOperations.getChildren(_context.getNode(), LINKS.jarLocations$3SqA)).where((it1) -> {
      final String rp = BuildSourcePath__BehaviorDescriptor.getRelativePath_id4Kip2_918YF.invoke(SLinkOperations.getTarget(it1, LINKS.path$t1zS));
      return Sequence.fromIterable(javaLibsOfModule).any((it2) -> Objects.equals(BuildSourcePath__BehaviorDescriptor.getRelativePath_id4Kip2_918YF.invoke(it2), rp));
    });
  }
  public static Iterable<SNode> sourceNodesQuery_0_14(final SourceSubstituteMacroNodesContext _context) {
    return SLinkOperations.getChildren(_context.getNode(), LINKS.libraryEntries$kJkN);
  }
  public static Iterable<SNode> sourceNodesQuery_0_15(final SourceSubstituteMacroNodesContext _context) {
    return SLinkOperations.getChildren(_context.getNode(), LINKS.classpathEntries$PWzd);
  }
  public static Iterable<SNode> sourceNodesQuery_0_16(final SourceSubstituteMacroNodesContext _context) {
    return SLinkOperations.getChildren(_context.getNode(), LINKS.children$aMRO);
  }
  public static Iterable<SNode> sourceNodesQuery_2_0(final SourceSubstituteMacroNodesContext _context) {
    return SLinkOperations.getChildren(_context.getNode(), LINKS.selectors$hp_C);
  }
  public static Iterable<SNode> sourceNodesQuery_2_1(final SourceSubstituteMacroNodesContext _context) {
    return SLinkOperations.getChildren(_context.getNode(), LINKS.location$UU44);
  }
  public static Iterable<SNode> sourceNodesQuery_2_2(final SourceSubstituteMacroNodesContext _context) {
    // FIXME why don't we handle this inside switch_ModuleSourcesToSourceLocation?
    Set<SNode> modelRoots = SetSequence.fromSet(new LinkedHashSet<SNode>());
    SetSequence.fromSet(modelRoots).addSequence(Sequence.fromIterable(SNodeOperations.ofConcept(SLinkOperations.getChildren(SNodeOperations.as(SLinkOperations.getTarget(_context.getNode(), LINKS.module$zG3S), CONCEPTS.BuildMps_Module$JW), LINKS.sources$mT1j), CONCEPTS.BuildMps_ModuleModelRoot$Ie)));

    if (SNodeOperations.isInstanceOf(SLinkOperations.getTarget(_context.getNode(), LINKS.module$zG3S), CONCEPTS.BuildMps_Language$RA)) {
      SetSequence.fromSet(modelRoots).addSequence(Sequence.fromIterable(SNodeOperations.ofConcept(SLinkOperations.collectMany(SLinkOperations.collect(SLinkOperations.getChildren(SNodeOperations.cast(SLinkOperations.getTarget(_context.getNode(), LINKS.module$zG3S), CONCEPTS.BuildMps_Language$RA), LINKS.managedGenerators$Hbof), LINKS.generator$98gH), LINKS.sources$mT1j), CONCEPTS.BuildMps_ModuleModelRoot$Ie)));
    }

    return modelRoots;
  }
  public static Iterable<SNode> sourceNodesQuery_3_0(final SourceSubstituteMacroNodesContext _context) {
    return SLinkOperations.getChildren(SNodeOperations.as(SLinkOperations.getTarget(_context.getNode(), LINKS.module$iRYT), CONCEPTS.BuildMps_Module$JW), LINKS.sources$mT1j);
  }
  public static Iterable<SNode> sourceNodesQuery_3_1(final SourceSubstituteMacroNodesContext _context) {
    return SLinkOperations.getChildren(SLinkOperations.getTarget(_context.getNode(), LINKS.deployedJar$Npdx), LINKS.children$aMRO);
  }
  public static Iterable<SNode> sourceNodesQuery_3_2(final SourceSubstituteMacroNodesContext _context) {
    return SLinkOperations.getChildren(_context.getNode(), LINKS.sources$mT1j);
  }
  public static Iterable<SNode> sourceNodesQuery_3_3(final SourceSubstituteMacroNodesContext _context) {
    return SLinkOperations.collect(SLinkOperations.getChildren(SNodeOperations.as(SLinkOperations.getTarget(_context.getNode(), LINKS.module$iRYT), CONCEPTS.BuildMps_Language$RA), LINKS.managedGenerators$Hbof), LINKS.generator$98gH);
  }
  public static Iterable<SNode> sourceNodesQuery_3_4(final SourceSubstituteMacroNodesContext _context) {
    Set<SNode> sources = SetSequence.fromSet(new HashSet<SNode>());
    SetSequence.fromSet(sources).addSequence(Sequence.fromIterable(SNodeOperations.ofConcept(SLinkOperations.getChildren(SNodeOperations.as(SLinkOperations.getTarget(_context.getNode(), LINKS.module$iRYT), CONCEPTS.BuildMps_Module$JW), LINKS.sources$mT1j), CONCEPTS.BuildMps_ModuleJavaSource$M6)));

    if (SNodeOperations.isInstanceOf(SLinkOperations.getTarget(_context.getNode(), LINKS.module$iRYT), CONCEPTS.BuildMps_Language$RA)) {
      SetSequence.fromSet(sources).addSequence(Sequence.fromIterable(SNodeOperations.ofConcept(SLinkOperations.collectMany(SLinkOperations.collect(SLinkOperations.getChildren(SNodeOperations.cast(SLinkOperations.getTarget(_context.getNode(), LINKS.module$iRYT), CONCEPTS.BuildMps_Language$RA), LINKS.managedGenerators$Hbof), LINKS.generator$98gH), LINKS.sources$mT1j), CONCEPTS.BuildMps_ModuleJavaSource$M6)));
    }

    return SetSequence.fromSet(sources).sort((it) -> (String) BuildSourcePath__BehaviorDescriptor.getRelativePath_id4Kip2_918YF.invoke(SLinkOperations.getTarget(SLinkOperations.getTarget(it, LINKS.folder$URyp), LINKS.path$zL7z)), true);
  }
  public static Iterable<SNode> sourceNodesQuery_3_5(final SourceSubstituteMacroNodesContext _context) {
    return SLinkOperations.getChildren(SLinkOperations.getTarget(_context.getNode(), LINKS.sourceJar$2j4U), LINKS.children$aMRO);
  }
  public static Iterable<SNode> sourceNodesQuery_7_0(final SourceSubstituteMacroNodesContext _context) {
    return SLinkOperations.getChildren(SLinkOperations.getTarget(_context.getNode(), LINKS.deployedJar$Npdx), LINKS.children$aMRO);
  }
  public static Iterable<SNode> sourceNodesQuery_7_1(final SourceSubstituteMacroNodesContext _context) {
    return SLinkOperations.getChildren(SLinkOperations.getTarget(_context.getNode(), LINKS.sourceJar$2j4U), LINKS.children$aMRO);
  }
  public static Iterable<SNode> sourceNodesQuery_7_2(final SourceSubstituteMacroNodesContext _context) {
    return SLinkOperations.getChildren(SNodeOperations.as(SLinkOperations.getTarget(_context.getNode(), LINKS.module$iRYT), CONCEPTS.BuildMps_Solution$R7), LINKS.sources$mT1j);
  }
  public static Iterable<SNode> sourceNodesQuery_7_3(final SourceSubstituteMacroNodesContext _context) {
    return SLinkOperations.getChildren(SLinkOperations.getTarget(_context.getNode(), LINKS.deployedJar$Npdx), LINKS.children$aMRO);
  }
  public static Iterable<SNode> sourceNodesQuery_7_4(final SourceSubstituteMacroNodesContext _context) {
    return SLinkOperations.getChildren(SLinkOperations.getTarget(_context.getNode(), LINKS.sourceJar$2j4U), LINKS.children$aMRO);
  }
  public static Iterable<SNode> sourceNodesQuery_7_5(final SourceSubstituteMacroNodesContext _context) {
    return SLinkOperations.getChildren(SLinkOperations.getTarget(_context.getNode(), LINKS.plugin$9ewC), LINKS.content$9T6D);
  }
  public static Iterable<SNode> sourceNodesQuery_7_6(final SourceSubstituteMacroNodesContext _context) {
    return SLinkOperations.getChildren(_context.getNode(), LINKS.children$aMRO);
  }
  public static Iterable<SNode> sourceNodesQuery_8_0(final SourceSubstituteMacroNodesContext _context) {
    return SLinkOperations.getChildren(((SNode) _context.getVariable("branding")), LINKS.customXmlElement$nti5);
  }
  public static Iterable<SNode> sourceNodesQuery_9_0(final SourceSubstituteMacroNodesContext _context) {
    return SLinkOperations.getChildren(((SNode) _context.getVariable("plugin")), LINKS.dependencies$9_ak);
  }
  public static Iterable<SNode> sourceNodesQuery_9_1(final SourceSubstituteMacroNodesContext _context) {
    return SLinkOperations.getChildren(((SNode) _context.getVariable("plugin")), LINKS.xml$djzj);
  }
  public static Iterable<SNode> sourceNodesQuery_10_0(final SourceSubstituteMacroNodesContext _context) {
    Iterable<SNode> seq = SNodeOperations.ofConcept(SLinkOperations.getChildren(_context.getNode(), LINKS.parts$mGDj), CONCEPTS.BuildMps_GeneratorOptions$A8);
    if (Sequence.fromIterable(seq).isNotEmpty()) {
      return seq;
    }
    SNode defaults = SConceptOperations.createNewNode(MetaAdapterFactory.getConcept(0xcf935df46994e9cL, 0xa132fa109541cba3L, 0x3ba296405b6f3b1bL, "jetbrains.mps.build.mps.structure.BuildMps_GeneratorOptions"));
    SPropertyOperations.assign(defaults, PROPS.parallel$AX9E, true);
    // 8 is the value BaseGenerationWorker uses when parallel is true
    SPropertyOperations.assign(defaults, PROPS.parallelThreads$AXQH, 8);
    SPropertyOperations.assign(defaults, PROPS.strict$ARKj, true);
    SPropertyOperations.assign(defaults, PROPS.inplace$q8Ts, false);
    SPropertyOperations.assign(defaults, PROPS.hideWarnings$vJ6P, false);
    SPropertyOperations.assign(defaults, PROPS.createStaticRefs$MDEl, true);
    SPropertyOperations.assignEnum(defaults, PROPS.skipUnmodifiedModels$kIij, SEnumOperations.getMember(MetaAdapterFactory.getEnumeration(0xcf935df46994e9cL, 0xa132fa109541cba3L, 0x37b3e610a73c6cbL, "jetbrains.mps.build.mps.structure.BuildMps_GeneratorOptions_SkipUnmodifiedModels"), 0x37b3e610a73c6ccL, "use_mps_generator_skipUnmodifiedModels_macro"));
    // keep messageLevel blank for default value (as it used to be; not to get changed after fist re-generation of scripts)
    return Sequence.<SNode>singleton(defaults);
  }
  public static Iterable<SNode> sourceNodesQuery_10_1(final SourceSubstituteMacroNodesContext _context) {
    // FIXME in fact, we can utilize plugin id now as well (see EnvironmentConfig and PluginData)
    //      however, would need a node to hold 2 string values at a time
    // XXX FWIW, there's GeneratorInternal_PluginExpanded; though I hope to replace with just _IdeaPlugin reference some day,
    //    which is to be reduced to path value later.
    return Sequence.fromIterable(Sequence.fromArray(((ModulePlugins) _context.getVariable("var:requiredPlugins")).getPluginPaths(_context))).select((it) -> createGeneratorInternal_String_x583g4_a0a0a0e0ln(it));
  }
  public static Iterable<SNode> sourceNodesQuery_10_2(final SourceSubstituteMacroNodesContext _context) {
    return ModuleFinder.findModules(((ModulePlugins) _context.getVariable("var:requiredPlugins")).getModulesNotInPlugins(), _context, _context.getNode());
  }
  public static Iterable<SNode> sourceNodesQuery_10_3(final SourceSubstituteMacroNodesContext _context) {
    return ListSequence.fromList(((MPSModulesPartitioner) _context.getVariable("var:closure")).getChunks()).select((it) -> {
      SNode loopnode = SModelOperations.createNewNode(_context.getOutputModel(), null, CONCEPTS.BaseConcept$gP);
      loopnode.putUserObject("chunk", it);
      return loopnode;
    });
  }
  public static Iterable<SNode> sourceNodesQuery_10_4(final SourceSubstituteMacroNodesContext _context) {
    List<SNode> mm = SetSequence.fromSet(((MPSModulesPartitioner.Chunk) _context.getVariable("var:chunk")).getModules()).sort((it) -> SPropertyOperations.getString(it, PROPS.name$MnvL), true).toList();
    Iterable<SNode> managedGenerators = Sequence.fromIterable(SNodeOperations.ofConcept(mm, CONCEPTS.BuildMps_Generator$RQ)).where((it) -> Sequence.fromIterable(SLinkOperations.collect(SLinkOperations.getChildren(SLinkOperations.getTarget(it, LINKS.sourceLanguage$A51U), LINKS.managedGenerators$Hbof), LINKS.generator$98gH)).contains(it));
    // XXX in fact, assumption that managed generator shares descriptor file is not perfect.
    //   as we need to reference module files here, might be better just to remove modules with duplicating path
    //   One more alternative is just to exclude modules without path (as we use path anyway in the template), however
    //   I won't use it alone as it would imply 'owned' BM_Generator module don't have path specified, which might get 
    //   changed as it has changed for SModule/AbstractModule/Generator
    return ListSequence.fromList(mm).subtract(Sequence.fromIterable(managedGenerators)).where((it) -> (SLinkOperations.getTarget(it, LINKS.path$iYKB) != null));
  }
  public static Iterable<SNode> sourceNodesQuery_10_5(final SourceSubstituteMacroNodesContext _context) {
    return SNodeOperations.ofConcept(SLinkOperations.getChildren(_context.getNode(), LINKS.macros$r8_A), CONCEPTS.BuildFolderMacro$mR);
  }
  public static Iterable<SNode> sourceNodesQuery_10_6(final SourceSubstituteMacroNodesContext _context) {
    // XXX Although there's GeneratorInternal_PluginExpanded now, I hope to replace it with 
    //    just _IdeaPlugin reference some day, which is to be reduced to path value later.
    return ((ModulePlugins) _context.getVariable("var:requiredPlugins")).getPlugins(_context, false);

  }
  public static Iterable<SNode> sourceNodesQuery_10_7(final SourceSubstituteMacroNodesContext _context) {
    return ModuleFinder.findModules(((ModulePlugins) _context.getVariable("var:requiredPlugins")).getModulesNotInPlugins(), _context, _context.getNode());
  }
  public static Iterable<SNode> sourceNodesQuery_10_8(final SourceSubstituteMacroNodesContext _context) {
    List<SNode> modules = ListSequence.fromList(((MPSModulesPartitioner) _context.getVariable("var:closure")).getChunks()).translate((it) -> it.getModules()).sort((it) -> SPropertyOperations.getString(it, PROPS.name$MnvL), true).toList();
    final HashSet<String> seen = new HashSet<>();
    // seen.add(null) to simplify next check?
    return ListSequence.fromList(modules).removeWhere((it) -> (SLinkOperations.getTarget(it, LINKS.path$iYKB) == null) || !(seen.add(BuildSourcePath__BehaviorDescriptor.getRelativePath_id4Kip2_918YF.invoke(SLinkOperations.getTarget(it, LINKS.path$iYKB)))));
  }
  public static Iterable<SNode> sourceNodesQuery_10_9(final SourceSubstituteMacroNodesContext _context) {
    return SNodeOperations.ofConcept(SLinkOperations.getChildren(_context.getNode(), LINKS.macros$r8_A), CONCEPTS.BuildFolderMacro$mR);
  }
  public static Iterable<SNode> sourceNodesQuery_10_10(final SourceSubstituteMacroNodesContext _context) {
    return Sequence.fromIterable(Sequence.fromArray(((String[]) _context.getVariable("var:requiredPlugins")))).select((it) -> createGeneratorInternal_String_x583g4_a0a0a0a0un(it));
  }
  public static Iterable<SNode> sourceNodesQuery_10_11(final SourceSubstituteMacroNodesContext _context) {
    return ((Iterable<SNode>) _context.getVariable("var:closureForGenTest"));
  }
  public static Iterable<SNode> sourceNodesQuery_10_12(final SourceSubstituteMacroNodesContext _context) {
    return ListSequence.fromList(((MPSModulesPartitioner) _context.getVariable("var:closure")).getChunks()).translate((it) -> it.getModules()).where((it) -> !(SNodeOperations.isInstanceOf(it, CONCEPTS.BuildMps_Generator$RQ))).sort((it) -> SPropertyOperations.getString(it, PROPS.name$MnvL), true);
  }
  public static Iterable<SNode> sourceNodesQuery_10_13(final SourceSubstituteMacroNodesContext _context) {
    return ListSequence.fromList(SLinkOperations.getChildren(_context.getNode(), LINKS.macros$r8_A)).where((it) -> SNodeOperations.isInstanceOf(it, CONCEPTS.BuildFolderMacro$mR));
  }
  public static Iterable<SNode> sourceNodesQuery_10_14(final SourceSubstituteMacroNodesContext _context) {
    // FIXME any idea why no clean sources for modules in bootstrap chunks, anyone?!
    Iterable<SNode> modules = SNodeOperations.ofConcept(ListSequence.fromList(((MPSModulesPartitioner) _context.getVariable("var:closure")).getChunks()).where((it) -> !(it.isBootstrap())).translate((it) -> it.getModules()), CONCEPTS.BuildMps_Module$JW);

    Iterable<SNode> sources = SLinkOperations.collect(Sequence.fromIterable(modules).translate((it) -> {
      return Sequence.fromIterable(SNodeOperations.ofConcept(SLinkOperations.getChildren(it, LINKS.sources$mT1j), CONCEPTS.BuildMps_ModuleJavaSource$M6)).where(new _FunctionTypes._return_P1_E0<Boolean, SNode>() {
        public Boolean invoke(SNode it) {
          return SPropertyOperations.getBoolean(it, PROPS.isGenerated$EIvr);
        }
      });
    }), LINKS.folder$URyp);
    Iterable<SNode> testSources = SLinkOperations.collect(Sequence.fromIterable(modules).translate((it) -> {
      return Sequence.fromIterable(SNodeOperations.ofConcept(SLinkOperations.getChildren(it, LINKS.sources$mT1j), CONCEPTS.BuildMps_ModuleTestSource$tl)).where(new _FunctionTypes._return_P1_E0<Boolean, SNode>() {
        public Boolean invoke(SNode it) {
          return SPropertyOperations.getBoolean(it, PROPS.isGenerated$WkmJ);
        }
      });
    }), LINKS.folder$ICh7);

    return Sequence.fromIterable(sources).union(Sequence.fromIterable(testSources));
  }
  public static Iterable<SNode> sourceNodesQuery_10_15(final SourceSubstituteMacroNodesContext _context) {
    return ((List<SNode>) _context.getVariable("var:dependency"));
  }
  public static Iterable<SNode> sourceNodesQuery_12_0(final SourceSubstituteMacroNodesContext _context) {
    // generator modules that are 'managed' (i.e. deployed along with a language) don't need a dedicated 'module' entry
    // loadModules script moves all BM_Generator modules to top level, therefore we can face both standalone and owned BM_Generator in the group
    Iterable<SNode> managedGenerators = Sequence.fromIterable(SNodeOperations.ofConcept(SLinkOperations.getChildren(SLinkOperations.getTarget(_context.getNode(), LINKS.group$qLbS), LINKS.modules$JlQo), CONCEPTS.BuildMps_Generator$RQ)).where((it) -> Sequence.fromIterable(SLinkOperations.collect(SLinkOperations.getChildren(SLinkOperations.getTarget(it, LINKS.sourceLanguage$A51U), LINKS.managedGenerators$Hbof), LINKS.generator$98gH)).contains(it));
    return ListSequence.fromList(SLinkOperations.getChildren(SLinkOperations.getTarget(_context.getNode(), LINKS.group$qLbS), LINKS.modules$JlQo)).subtract(Sequence.fromIterable(managedGenerators));
  }
  public static Iterable<SNode> sourceNodesQuery_14_0(final SourceSubstituteMacroNodesContext _context) {
    List<SNode> rv = ListSequence.fromList(new ArrayList<SNode>());
    for (String cpe : ((String[]) _context.getVariable("classpathEntries"))) {
      SNode e = SConceptOperations.createNewNode(MetaAdapterFactory.getConcept(0xcf935df46994e9cL, 0xa132fa109541cba3L, 0xd94b027412f0824L, "jetbrains.mps.build.mps.structure.GeneratorInternal_String"));
      SPropertyOperations.assign(e, PROPS.path$oN2q, cpe);
      ListSequence.fromList(rv).addElement(e);
    }
    return rv;
  }
  public static Iterable<SNode> sourceNodesQuery_14_1(final SourceSubstituteMacroNodesContext _context) {
    return ((List<SNode>) _context.getVariable("jarMappings"));
  }
  public static Iterable<SNode> sourceNodesQuery_17_0(final SourceSubstituteMacroNodesContext _context) {
    return SNodeOperations.ofConcept(SLinkOperations.getChildren(_context.getNode(), LINKS.imports$27EN), CONCEPTS.BuildMps_TipsDir$LO);
  }
  public static Iterable<SNode> sourceNodesQuery_17_1(final SourceSubstituteMacroNodesContext _context) {
    return SNodeOperations.ofConcept(SLinkOperations.getChildren(_context.getNode(), LINKS.imports$27EN), CONCEPTS.BuildMps_TipsSolution$5K);
  }
  public static Iterable<SNode> sourceNodesQuery_18_0(final SourceSubstituteMacroNodesContext _context) {
    return ListSequence.fromList(SLinkOperations.getChildren(SLinkOperations.getTarget(_context.getNode(), LINKS.group$qLbS), LINKS.modules$JlQo)).where((it) -> !(SNodeOperations.isInstanceOf(it, CONCEPTS.BuildMps_Generator$RQ)));
  }
  public static Iterable<SNode> sourceNodesQuery_21_0(final SourceSubstituteMacroNodesContext _context) {
    SNode bp = SNodeOperations.getNodeAncestor(_context.getNode(), CONCEPTS.BuildProject$ae, false, false);
    return Sequence.fromIterable(SLinkOperations.collectMany(SNodeOperations.ofConcept(SLinkOperations.getChildren(bp, LINKS.parts$mGDj), CONCEPTS.BuildMps_Group$Jc), LINKS.modules$JlQo)).union(Sequence.fromIterable(SNodeOperations.ofConcept(SLinkOperations.getChildren(bp, LINKS.parts$mGDj), CONCEPTS.BuildMps_AbstractModule$FZ)));
  }
  public static void mapSrcMacro_post_0_0(final MapSrcMacroPostProcContext _context) {
    Iterable<SNode> f = SNodeOperations.ofConcept(SLinkOperations.getChildren(_context.getNode(), LINKS.children$aMRO), CONCEPTS.BuildLayout_Folder$AH);
    Iterable<SNode> ff = Sequence.fromIterable(f).where((it) -> Objects.equals(SPropertyOperations.getString(it, PROPS.name$MnvL), "META-INF"));
    SNode md = Sequence.fromIterable(SNodeOperations.ofConcept(SLinkOperations.collectMany(ff, LINKS.children$aMRO), CONCEPTS.BuildMpsLayout_ModuleXml$_e)).first();
    _context.registerMappingLabel(SLinkOperations.getTarget(md, LINKS.module$yKRo), "MODULE2LAYOUT", _context.getOutputNode());
  }
  public static void mapSrcMacro_post_0_1(final MapSrcMacroPostProcContext _context) {
    Iterable<SNode> f = SNodeOperations.ofConcept(SLinkOperations.getChildren(_context.getNode(), LINKS.children$aMRO), CONCEPTS.BuildLayout_Folder$AH);
    Iterable<SNode> ff = Sequence.fromIterable(f).where((it) -> Objects.equals(SPropertyOperations.getString(it, PROPS.name$MnvL), "modules"));
    for (SNode fws : Sequence.fromIterable(SNodeOperations.ofConcept(SLinkOperations.collectMany(ff, LINKS.children$aMRO), CONCEPTS.BuildMpsLayout_FolderWithSources$mg))) {
      _context.registerMappingLabel(SLinkOperations.getTarget(fws, LINKS.module$zG3S), "MODULE2LAYOUT", _context.getOutputNode());
    }
  }
  public static void mapSrcMacro_post_0_2(final MapSrcMacroPostProcContext _context) {
    // not sure there's need for preserveLocations when we have distinct DH for build.mps and mps.build steps
    DependenciesHelper.get(_context, SNodeOperations.getNodeAncestor(_context.getNode(), CONCEPTS.BuildProject$ae, false, false), "build.mps").preserveLocations(_context.getNode(), _context.getOutputNode());
  }
  public static void mapSrcMacro_post_7_0(final MapSrcMacroPostProcContext _context) {
    DependenciesHelper.get(_context, SNodeOperations.getNodeAncestor(_context.getNode(), CONCEPTS.BuildProject$ae, false, false), "build.mps").preserveLocations(_context.getNode(), _context.getOutputNode());
  }
  public static SNode weavingRule_ContextQuery_0_0(final WeavingMappingRuleContext _context) {
    return _context.getCopiedOutputNodeForInputNode(_context.getNode());
  }
  public static SNode weavingRule_ContextQuery_0_1(final WeavingMappingRuleContext _context) {
    return _context.getCopiedOutputNodeForInputNode(SNodeOperations.getContainingRoot(_context.getNode()));
  }
  public static void mappingScript_CodeBlock_1(final MappingScriptContext _context) {
    for (final SNode project : SModelOperations.roots(_context.getModel(), CONCEPTS.BuildProject$ae)) {

      ModuleLoader ml = new ModuleLoader(project, _context, new IMessageHandler() {
        public void handle(IMessage msg) {
          SNode location = project;
          if (msg.getHintObject() instanceof SNodeReference) {
            SNodeReference nodePtr = (SNodeReference) msg.getHintObject();
            if (_context.getModel().getReference().equals(nodePtr.getModelReference())) {
              location = _context.getModel().getNode(nodePtr.getNodeId());
            }
          }
          if (MessageKind.ERROR.is(msg)) {
            _context.showErrorMessage(location, msg.getText());
          } else if (MessageKind.WARNING.is(msg)) {
            _context.showWarningMessage(location, msg.getText());
          } else {
            _context.showInformationMessage(location, msg.getText());
          }
        }
      });
      ml.checkAllModules(ModuleChecker.CheckType.LOAD_ALL);

      // move generators outside language, respect languages under Group project parts (hence, descendants), and
      // do not touch Generators that are not child of a generator (i.e. standalone generator modules, once we have them)

      for (SNode generator : SLinkOperations.collect(ListSequence.fromList(SLinkOperations.getChildren(project, LINKS.parts$mGDj)).translate((it) -> SNodeOperations.getNodeDescendants(it, CONCEPTS.BuildMps_Language$RA, true, new SAbstractConcept[]{})), LINKS.generator$OCOG)) {
        SNode lang = SNodeOperations.cast(SNodeOperations.getParent(generator), CONCEPTS.BuildMps_Language$RA);
        SLinkOperations.setTarget(generator, LINKS.sourceLanguage$A51U, lang);
        SNodeOperations.insertNextSiblingChild(lang, generator);
        SNode generatorRef = SModelOperations.createNewNode(_context.getModel(), null, CONCEPTS.BuildMps_GeneratorRef$aa);
        SLinkOperations.setTarget(generatorRef, LINKS.generator$98gH, generator);
        if (ListSequence.fromList(SLinkOperations.getChildren(lang, LINKS.managedGenerators$Hbof)).isEmpty()) {
          ListSequence.fromList(SLinkOperations.getChildren(lang, LINKS.managedGenerators$Hbof)).addElement(generatorRef);
        } else {
          // make sure 'owned' generator comes first in the list and receives default langname-generator.jar, not langname-x-generator.jar
          ListSequence.fromList(SLinkOperations.getChildren(lang, LINKS.managedGenerators$Hbof)).insertElement(0, generatorRef);
        }
      }
    }

    for (SNode root : SModelOperations.roots(_context.getModel(), CONCEPTS.BuildProject$ae)) {
      new FetchDependenciesProcessor(root, _context).alternativeProcess("build.mps");
    }
  }
  public static Object varMacro_Value_0_0(final TemplateVarContext _context) {
    return new MPSModulesClosure(_context.getNode(), new MPSModulesClosure.ModuleDependenciesOptions()).closure();
  }
  public static Object varMacro_Value_0_1(final TemplateVarContext _context) {
    return _context.getNode();
  }
  public static Object varMacro_Value_0_2(final TemplateVarContext _context) {
    return _context.getNode();
  }
  public static Object varMacro_Value_0_3(final TemplateVarContext _context) {
    // ancestor jar of module descriptor
    SNode firstAncestorJar = SNodeOperations.getParent(_context.getNode());
    while (SNodeOperations.isInstanceOf(firstAncestorJar, CONCEPTS.BuildLayout_Folder$AH)) {
      firstAncestorJar = SNodeOperations.getParent(firstAncestorJar);
    }
    if (!(SNodeOperations.isInstanceOf(firstAncestorJar, CONCEPTS.BuildLayout_Jar$bd))) {
      _context.showErrorMessage(_context.getNode(), "`module descriptor of mps module' should be in a jar");
      return null;
    }
    return SNodeOperations.cast(firstAncestorJar, CONCEPTS.BuildLayout_Jar$bd);
  }
  public static Object varMacro_Value_0_4(final TemplateVarContext _context) {
    SNode project = SNodeOperations.getNodeAncestor(_context.getNode(), CONCEPTS.BuildProject$ae, false, false);
    if (project == null) {
      _context.showErrorMessage(_context.getNode(), "no context project defined");
      return null;
    }

    VisibleArtifacts localArtifacts = new VisibleArtifacts(project);
    localArtifacts.collectProjectArtifacts();
    return localArtifacts;
  }
  public static Object varMacro_Value_0_5(final TemplateVarContext _context) {
    RuntimeDependencies rtDeps = new RuntimeDependencies();
    if (SNodeOperations.isInstanceOf(SLinkOperations.getTarget(_context.getNode(), LINKS.module$yKRo), CONCEPTS.BuildMps_Module$JW)) {
      rtDeps.collectFor(SNodeOperations.as(SLinkOperations.getTarget(_context.getNode(), LINKS.module$yKRo), CONCEPTS.BuildMps_Module$JW));
    }
    return rtDeps;
  }
  public static Object varMacro_Value_2_0(final TemplateVarContext _context) {
    return _context.getNode();
  }
  public static Object varMacro_Value_2_1(final TemplateVarContext _context) {
    return _context.getNode();
  }
  public static Object varMacro_Value_3_0(final TemplateVarContext _context) {
    // need one to access template input from inside the nested loop
    return _context.getNode();
  }
  public static Object varMacro_Value_6_0(final TemplateVarContext _context) {
    SNode project = SNodeOperations.getNodeAncestor(_context.getNode(), CONCEPTS.BuildProject$ae, true, false);
    if (project == null) {
      _context.showErrorMessage(_context.getNode(), "no context project defined");
      return null;
    }
    DependenciesHelper helper = DependenciesHelper.get(_context, project, "build.mps");
    SNode layoutNode = helper.getArtifact(((SNode) _context.getVariable("remotePath")));

    SNode path = ((SNode) _context.getVariable("remotePath"));
    if (layoutNode == null) {
      StringBuilder suffix = new StringBuilder();
      SNode current = SNodeOperations.as(path, CONCEPTS.BuildRelativePath$Kc);
      if (current != null) {
        suffix.append('/').append(BuildSourcePath__BehaviorDescriptor.getLastSegment_id5dwDdJ8yckN.invoke(path));
        current = SNodeOperations.as(BuildSourcePath__BehaviorDescriptor.getParent_id7wpYgMyTXsR.invoke(current), CONCEPTS.BuildRelativePath$Kc);
      }
      SNode containingRoot = SNodeOperations.getContainingRoot(path);
      while (current != null) {
        SNode res = helper.getArtifact(new LocalSourcePathArtifact(containingRoot, BuildSourcePath__BehaviorDescriptor.getRelativePath_id4Kip2_918YF.invoke(current), true));
        if (res != null) {
          return MultiTuple.<SNode,String>from(res, suffix.substring(1));
        }

        suffix.insert(0, BuildSourcePath__BehaviorDescriptor.getLastSegment_id5dwDdJ8yckN.invoke(current)).insert(0, '/');
        current = SNodeOperations.as(BuildSourcePath__BehaviorDescriptor.getParent_id7wpYgMyTXsR.invoke(current), CONCEPTS.BuildRelativePath$Kc);
      }
    }

    if (layoutNode == null) {
      _context.showErrorMessage(_context.getNode(), "path " + BuildSourcePath__BehaviorDescriptor.getRelativePath_id4Kip2_918YF.invoke(((SNode) _context.getVariable("remotePath"))) + " was not found in the layout");
      return MultiTuple.<Object,String>from(null, BuildSourcePath__BehaviorDescriptor.getRelativePath_id4Kip2_918YF.invoke(((SNode) _context.getVariable("remotePath"))));
    }
    // Since our layout nodes are pre-collected from transient models at a distinct step, we can't use them as reference targets for newly created dependencies,
    // and need to replace them with strings/classpath elements. Guess, the origin of the issue is that external jar dependency element may reference layout node,
    // which breaks the idea of BL being description of build parts, and dependency direction from BL to the part, not vice versa.
    // Even though this BL dependencies are often look reasonable and point to external layout nodes, I feel this part of build story is inconsistent, perhaps
    // 'java library' element shall get jars assigned with layout rather than reference layout node with extenal jar? OTOH, it's not clear what to do if I don't want
    // to include jar into layout, but would like to depend from it for compilation/build time?
    //  
    // Here's small discrepancy, for a _SingleFolder node, getContentLocation is invoked inside switch_ExternalJar, while for _SingleFile I do getLocation
    // here right away. It's only to save extra DependenciesHelper initialization and to stay with existing two-element tuple.
    return MultiTuple.<SNode,String>from(layoutNode, helper.getLocation(layoutNode));
  }
  public static Object varMacro_Value_7_0(final TemplateVarContext _context) {
    return _context.getNode();
  }
  public static Object varMacro_Value_10_0(final TemplateVarContext _context) {
    // with ant-mps residing in mpsTrueBootstrap project, its artifact is registered by BuildMPSPlugin.fetchDependencies()) and is available by regular means (helper.getArtifact("ant-mps"), below) 
    DependenciesHelper helper = DependenciesHelper.get(_context, _context.getNode(), "build.mps");
    String artifact = "ant-mps";
    SNode jmAntJar = helper.getArtifact(artifact);
    if ((jmAntJar != null)) {
      return helper.getLocation(jmAntJar);
    }
    if (!(Sequence.fromIterable(SNodeOperations.ofConcept(SLinkOperations.getChildren(_context.getNode(), LINKS.macros$r8_A), CONCEPTS.BuildFolderMacro$mR)).any((it) -> "mps_home".equals(SPropertyOperations.getString(it, PROPS.name$MnvL))))) {
      _context.showErrorMessage(null, "${mps_home} macro is required to create `generate' task");
    }
    return null;
  }
  public static Object varMacro_Value_10_1(final TemplateVarContext _context) {
    DependenciesHelper helper = DependenciesHelper.get(_context, _context.getNode(), "build.mps");
    String artifact = "org.jdom";
    // as of 22.2, org.jdom ([ant-mps-common] dependency), lives in util.jar
    // XXX I wonder why we don't add org.jdom classes right into ant-mps.jar?
    SNode jar = helper.getArtifact(artifact);
    if ((jar != null)) {
      String libLocation = helper.getLocation(jar);
      return libLocation.substring(0, libLocation.lastIndexOf('/'));
    }
    // in fact, [ant-mps] uses annotations and we might need IDEA/lib/annotations.jar dependency,
    // but so far it works without this dependency
    if (!(Sequence.fromIterable(SNodeOperations.ofConcept(SLinkOperations.getChildren(_context.getNode(), LINKS.macros$r8_A), CONCEPTS.BuildFolderMacro$mR)).any((it) -> "mps_home".equals(SPropertyOperations.getString(it, PROPS.name$MnvL))))) {
      _context.showErrorMessage(null, "${mps_home} macro is required to create `generate' task");
    }
    return null;
  }
  public static Object varMacro_Value_10_2(final TemplateVarContext _context) {
    return (MPSModulesPartitioner.Chunk) _context.getNode().getUserObject("chunk");
  }
  public static Object varMacro_Value_10_3(final TemplateVarContext _context) {
    return Sequence.fromIterable(SNodeOperations.ofConcept(SLinkOperations.getChildren(_context.getNode(), LINKS.parts$mGDj), CONCEPTS.BuildSource_JavaOptions$D)).findFirst((it) -> isEmptyString(SPropertyOperations.getString(it, PROPS.optionsName$Rr_z)));
  }
  public static Object varMacro_Value_10_4(final TemplateVarContext _context) {
    ModulePlugins plugins = new ModulePlugins(SNodeOperations.cast(SNodeOperations.getContainingRoot(_context.getNode()), CONCEPTS.BuildProject$ae));
    plugins.collect(((MPSModulesPartitioner) _context.getVariable("var:closure")).getExternal(), new ArrayList<SNode>());
    return plugins;
  }
  public static Object varMacro_Value_10_5(final TemplateVarContext _context) {
    SNode options = Sequence.fromIterable(SNodeOperations.ofConcept(SLinkOperations.getChildren(_context.getNode(), LINKS.parts$mGDj), CONCEPTS.BuildSource_JavaOptions$D)).findFirst((it) -> isNotEmptyString(SPropertyOperations.getString(it, PROPS.generatorJvmOptions$K2H4)));
    return (options != null ? SPropertyOperations.getString(options, PROPS.generatorJvmOptions$K2H4) : null);
  }
  public static Object varMacro_Value_10_6(final TemplateVarContext _context) {
    ModulePlugins plugins = new ModulePlugins(SNodeOperations.cast(SNodeOperations.getContainingRoot(_context.getNode()), CONCEPTS.BuildProject$ae));
    plugins.collect(((MPSModulesPartitioner) _context.getVariable("var:closure")).getExternal(), new ArrayList<SNode>());
    return plugins.getPluginPaths(_context);
  }
  public static Object varMacro_Value_10_7(final TemplateVarContext _context) {
    VisibleModules visibleModules = new VisibleModules(_context.getNode(), _context);
    visibleModules.collect();
    // jetbrains.mps.tool.gentest
    SNode gentest = visibleModules.resolveById("3ba7b7cf-6a5a-4981-ba0b-3302e59ffef7");
    MPSModulesClosure closure = new MPSModulesClosure(SNodeOperations.cast(gentest, CONCEPTS.BuildMps_Module$JW));
    Iterable<SNode> allModules = Sequence.fromIterable(closure.runtimeClosure().getAllModules()).union(Sequence.fromIterable(((MPSModulesPartitioner) _context.getVariable("var:closure")).getExternal())).union(Sequence.fromIterable(Sequence.<SNode>singleton(gentest)));
    return ModuleFinder.findModules(allModules, _context, _context.getNode());
  }
  public static Object varMacro_Value_10_8(final TemplateVarContext _context) {
    List<Tuples._2<SNode, String>> dependencies = new ProjectDependency(_context, _context.getNode()).collectDependencies().getDependencies();
    return ListSequence.fromList(dependencies).select((it) -> createGeneratorInternal_ProjectDependency_x583g4_a0a0a0a1a793(it._1(), it._0())).toList();
  }
  public static Object varMacro_Value_10_9(final TemplateVarContext _context) {
    MPSModulesPartitioner partitioner = new MPSModulesPartitioner(_context.getNode());
    partitioner.buildChunks();
    partitioner.buildExternalDependencies();
    if (ListSequence.fromList(partitioner.getChunks()).any((it) -> it.isBootstrap()) && !(ListSequence.fromList(SLinkOperations.getChildren(_context.getNode(), LINKS.aspects$6r0Q)).any((it) -> SNodeOperations.isInstanceOf(it, CONCEPTS.BuildMpsAspect$Ey) && SPropertyOperations.getBoolean(SNodeOperations.cast(it, CONCEPTS.BuildMpsAspect$Ey), PROPS.bootstrap$TxNt)))) {
      Iterable<SNode> samples = SNodeOperations.ofConcept(ListSequence.fromList(partitioner.getChunks()).where((it) -> it.isBootstrap()).translate((it) -> it.getConflicting()), CONCEPTS.BuildMps_Module$JW);
      _context.showErrorMessage(null, "cannot create `generate' task, there is a dependency cycle between a language and modules using it; read 'https://www.jetbrains.com/help/mps/removing-bootstrapping-dependency-problems.html' to understand the situation and how to fix it, you may add the `mps settings' aspect with bootstrap = true to turn off the check as the last resort solution");
      for (SNode c : Sequence.fromIterable(samples).select((it) -> DependenciesHelper.getOriginalNode(it, _context))) {
        _context.showErrorMessage(c, "(bootstrap cycle) " + SPropertyOperations.getString(SNodeOperations.as(c, CONCEPTS.BuildMps_Module$JW), PROPS.name$MnvL) + "; right click on a module -> Analyze -> Analyze Module Dependencies");
      }
    }
    return partitioner;
  }
  private final Map<String, ReductionRuleCondition> rrcMethods = new HashMap<String, ReductionRuleCondition>();
  {
    int i = 0;
    rrcMethods.put("687702229766529098", new RRC(i++));
    rrcMethods.put("687702229768099918", new RRC(i++));
    rrcMethods.put("7753544965996882283", new RRC(i++));
    rrcMethods.put("4031822141866244864", new RRC(i++));
    rrcMethods.put("4031822141866291778", new RRC(i++));
    rrcMethods.put("884473973751152856", new RRC(i++));
  }
  @Override
  @NotNull
  public ReductionRuleCondition getReductionRuleCondition(@NotNull QueryKey identity) {
    ReductionRuleCondition query = identity.forTemplateNode(rrcMethods);
    return (query != null ? query : super.getReductionRuleCondition(identity));
  }
  private static class RRC implements ReductionRuleCondition {
    private final int methodKey;
    public RRC(int methodKey) {
      this.methodKey = methodKey;
    }
    @Override
    public boolean check(ReductionRuleQueryContext ctx) throws GenerationFailureException {
      switch (methodKey) {
        case 0:
          return QueriesGenerated.rule_Condition_0_3(ctx);
        case 1:
          return QueriesGenerated.rule_Condition_0_4(ctx);
        case 2:
          return QueriesGenerated.rule_Condition_7_2(ctx);
        case 3:
          return QueriesGenerated.rule_Condition_7_3(ctx);
        case 4:
          return QueriesGenerated.rule_Condition_7_4(ctx);
        case 5:
          return QueriesGenerated.rule_Condition_0_0(ctx);
        default:
          throw new GenerationFailureException(String.format("Inconsistent QueriesGenerated: there's no condition method for rule %s (key: #%d)", ctx.getTemplateReference(), methodKey));
      }
    }
  }
  private final Map<String, WRQ> wrcnMethods = new HashMap<String, WRQ>();
  {
    int i = 0;
    wrcnMethods.put("2413798559262849242", new WRQ(i++));
    wrcnMethods.put("5397230782653143327", new WRQ(i++));
  }
  @Override
  @NotNull
  public WeaveRuleCondition getWeaveRuleCondition(@NotNull QueryKey identity) {
    WRQ query = identity.forTemplateNode(wrcnMethods);
    return (query != null ? query : super.getWeaveRuleCondition(identity));
  }
  @Override
  @NotNull
  public WeaveRuleQuery getWeaveRuleQuery(@NotNull QueryKey identity) {
    WRQ query = identity.forTemplateNode(wrcnMethods);
    return (query != null ? query : super.getWeaveRuleQuery(identity));
  }
  @NotNull
  @Override
  public WeaveAnchorQuery getWeaveAnchorQuery(@NotNull QueryKey identity) {
    WRQ query = identity.forTemplateNode(wrcnMethods);
    return (query != null ? query : super.getWeaveAnchorQuery(identity));
  }
  private static class WRQ implements WeaveRuleQuery, WeaveRuleCondition, WeaveAnchorQuery {
    private final int methodKey;
    public WRQ(int methodKey) {
      this.methodKey = methodKey;
    }
    @Override
    public boolean check(@NotNull WeavingMappingRuleContext ctx) throws GenerationFailureException {
      switch (methodKey) {
        case 0:
          return QueriesGenerated.rule_Condition_0_1(ctx);
        case 1:
          return true;
        default:
          throw new GenerationFailureException(String.format("Inconsistent QueriesGenerated: there's no condition method for rule %s (key: #%d)", ctx.getTemplateReference(), methodKey));
      }
    }
    @Override
    public SNode contextNode(WeavingMappingRuleContext ctx) throws GenerationFailureException {
      switch (methodKey) {
        case 0:
          return QueriesGenerated.weavingRule_ContextQuery_0_0(ctx);
        case 1:
          return QueriesGenerated.weavingRule_ContextQuery_0_1(ctx);
        default:
          throw new GenerationFailureException(String.format("Inconsistent QueriesGenerated: there's no context node query method for weaving rule %s (key: #%d)", ctx.getTemplateReference(), methodKey));
      }

    }
    @Nullable
    @Override
    public SNode anchorNode(WeavingAnchorContext ctx) throws GenerationFailureException {
      switch (methodKey) {
        case 0:
          return null;
        case 1:
          return null;
        default:
          throw new GenerationFailureException(String.format("Inconsistent QueriesGenerated: there's no anchor query method for rule %s (key: #%d)", ctx.getTemplateReference(), methodKey));
      }
    }
  }
  private final Map<String, ScriptCodeBlock> mscbMethods = new HashMap<String, ScriptCodeBlock>();
  {
    int i = 0;
    mscbMethods.put("3189788309732145594", new SCB(i++));
  }
  @Override
  @NotNull
  public ScriptCodeBlock getScriptCodeBlock(@NotNull QueryKey identity) {
    ScriptCodeBlock query = identity.forTemplateNode(mscbMethods);
    return (query != null ? query : super.getScriptCodeBlock(identity));
  }
  private static class SCB implements ScriptCodeBlock {
    private final int methodKey;
    public SCB(int methodKey) {
      this.methodKey = methodKey;
    }
    @Override
    public void invoke(MappingScriptContext ctx) throws GenerationFailureException {
      switch (methodKey) {
        case 0:
          QueriesGenerated.mappingScript_CodeBlock_1(ctx);
          return;
        default:
          throw new GenerationFailureException(String.format("There's no code block with method index %d ", methodKey));
      }
    }
  }
  private final Map<String, SourceNodeQuery> snqMethods = new HashMap<String, SourceNodeQuery>();
  {
    int i = 0;
    snqMethods.put("2303926226081111358", new SNQ(i++));
    snqMethods.put("1065091787225169766", new SNQ(i++));
    snqMethods.put("6859736767834858755", new SNQ(i++));
    snqMethods.put("4571516170015288837", new SNQ(i++));
    snqMethods.put("6592112598314985660", new SNQ(i++));
    snqMethods.put("8369506495128850710", new SNQ(i++));
    snqMethods.put("8654221991637263395", new SNQ(i++));
    snqMethods.put("1241280061045796456", new SNQ(i++));
    snqMethods.put("4912951749633709512", new SNQ(i++));
    snqMethods.put("1241280061045769870", new SNQ(i++));
    snqMethods.put("1241280061045775606", new SNQ(i++));
    snqMethods.put("1241280061045074208", new SNQ(i++));
    snqMethods.put("7753544965996885758", new SNQ(i++));
    snqMethods.put("7753544965996885821", new SNQ(i++));
    snqMethods.put("781140262679960784", new SNQ(i++));
    snqMethods.put("1938598294988146070", new SNQ(i++));
    snqMethods.put("1938598294988149055", new SNQ(i++));
    snqMethods.put("6845119683731096015", new SNQ(i++));
    snqMethods.put("772379520212560178", new SNQ(i++));
    snqMethods.put("1462305029084462284", new SNQ(i++));
    snqMethods.put("1462305029084462298", new SNQ(i++));
    snqMethods.put("2339934328870356487", new SNQ(i++));
    snqMethods.put("763829979708348317", new SNQ(i++));
    snqMethods.put("763829979719155265", new SNQ(i++));
    snqMethods.put("763829979708401259", new SNQ(i++));
  }
  @NotNull
  @Override
  public SourceNodeQuery getSourceNodeQuery(@NotNull QueryKey identity) {
    SourceNodeQuery query = identity.forFunctionNode(snqMethods);
    return (query != null ? query : super.getSourceNodeQuery(identity));
  }
  private static class SNQ implements SourceNodeQuery {
    private final int methodKey;
    public SNQ(int methodKey) {
      this.methodKey = methodKey;
    }
    @Nullable
    public SNode evaluate(@NotNull SourceSubstituteMacroNodeContext ctx) throws GenerationFailureException {
      switch (methodKey) {
        case 0:
          return QueriesGenerated.sourceNodeQuery_0_0(ctx);
        case 1:
          return QueriesGenerated.sourceNodeQuery_0_1(ctx);
        case 2:
          return QueriesGenerated.sourceNodeQuery_0_2(ctx);
        case 3:
          return QueriesGenerated.sourceNodeQuery_0_3(ctx);
        case 4:
          return QueriesGenerated.sourceNodeQuery_0_4(ctx);
        case 5:
          return QueriesGenerated.sourceNodeQuery_2_0(ctx);
        case 6:
          return QueriesGenerated.sourceNodeQuery_2_1(ctx);
        case 7:
          return QueriesGenerated.sourceNodeQuery_3_0(ctx);
        case 8:
          return QueriesGenerated.sourceNodeQuery_6_0(ctx);
        case 9:
          return QueriesGenerated.sourceNodeQuery_7_0(ctx);
        case 10:
          return QueriesGenerated.sourceNodeQuery_7_1(ctx);
        case 11:
          return QueriesGenerated.sourceNodeQuery_7_2(ctx);
        case 12:
          return QueriesGenerated.sourceNodeQuery_8_0(ctx);
        case 13:
          return QueriesGenerated.sourceNodeQuery_8_1(ctx);
        case 14:
          return QueriesGenerated.sourceNodeQuery_8_2(ctx);
        case 15:
          return QueriesGenerated.sourceNodeQuery_8_3(ctx);
        case 16:
          return QueriesGenerated.sourceNodeQuery_8_4(ctx);
        case 17:
          return QueriesGenerated.sourceNodeQuery_8_5(ctx);
        case 18:
          return QueriesGenerated.sourceNodeQuery_8_6(ctx);
        case 19:
          return QueriesGenerated.sourceNodeQuery_8_7(ctx);
        case 20:
          return QueriesGenerated.sourceNodeQuery_8_8(ctx);
        case 21:
          return QueriesGenerated.sourceNodeQuery_9_0(ctx);
        case 22:
          return QueriesGenerated.sourceNodeQuery_15_0(ctx);
        case 23:
          return QueriesGenerated.sourceNodeQuery_15_1(ctx);
        case 24:
          return QueriesGenerated.sourceNodeQuery_16_0(ctx);
        default:
          throw new GenerationFailureException(String.format("Inconsistent QueriesGenerated: there's no method for query %s (key: #%d)", ctx.getTemplateReference(), methodKey));
      }
    }
  }
  private final Map<String, SourceNodesQuery> snsqMethods = new HashMap<String, SourceNodesQuery>();
  {
    int i = 0;
    snsqMethods.put("2303926226081111354", new SNsQ(i++));
    snsqMethods.put("2389279258789752324", new SNsQ(i++));
    snsqMethods.put("4267986820121149056", new SNsQ(i++));
    snsqMethods.put("7259033139236497711", new SNsQ(i++));
    snsqMethods.put("3717132724153192091", new SNsQ(i++));
    snsqMethods.put("6859736767834858211", new SNsQ(i++));
    snsqMethods.put("202934866058978115", new SNsQ(i++));
    snsqMethods.put("1500819558096263527", new SNsQ(i++));
    snsqMethods.put("8315586463637239065", new SNsQ(i++));
    snsqMethods.put("4643216374596368654", new SNsQ(i++));
    snsqMethods.put("1362762974883028545", new SNsQ(i++));
    snsqMethods.put("1362762974883681814", new SNsQ(i++));
    snsqMethods.put("4743026300739026814", new SNsQ(i++));
    snsqMethods.put("5471664488997884105", new SNsQ(i++));
    snsqMethods.put("6654070855064104839", new SNsQ(i++));
    snsqMethods.put("8488591998065731739", new SNsQ(i++));
    snsqMethods.put("6673387549253815203", new SNsQ(i++));
    snsqMethods.put("8137134783397638484", new SNsQ(i++));
    snsqMethods.put("8137134783397639419", new SNsQ(i++));
    snsqMethods.put("8654221991637263183", new SNsQ(i++));
    snsqMethods.put("230419292059623319", new SNsQ(i++));
    snsqMethods.put("3335207478149112020", new SNsQ(i++));
    snsqMethods.put("3944422889387266811", new SNsQ(i++));
    snsqMethods.put("7862711839426437495", new SNsQ(i++));
    snsqMethods.put("2540145662854694642", new SNsQ(i++));
    snsqMethods.put("3335207478149152717", new SNsQ(i++));
    snsqMethods.put("7753763219109750713", new SNsQ(i++));
    snsqMethods.put("7753763219109811971", new SNsQ(i++));
    snsqMethods.put("3944422889391638053", new SNsQ(i++));
    snsqMethods.put("6136186284559414556", new SNsQ(i++));
    snsqMethods.put("6136186284559414582", new SNsQ(i++));
    snsqMethods.put("4031822141866304312", new SNsQ(i++));
    snsqMethods.put("4031822141866302968", new SNsQ(i++));
    snsqMethods.put("6845119683729431098", new SNsQ(i++));
    snsqMethods.put("6592112598314985296", new SNsQ(i++));
    snsqMethods.put("1359186315027134099", new SNsQ(i++));
    snsqMethods.put("5423338990220300237", new SNsQ(i++));
    snsqMethods.put("978600701690054686", new SNsQ(i++));
    snsqMethods.put("5970181360960745073", new SNsQ(i++));
    snsqMethods.put("8845345751178284778", new SNsQ(i++));
    snsqMethods.put("8845345751178284914", new SNsQ(i++));
    snsqMethods.put("5002485985636840318", new SNsQ(i++));
    snsqMethods.put("4035665851936450206", new SNsQ(i++));
    snsqMethods.put("4035665851936450308", new SNsQ(i++));
    snsqMethods.put("4035665851936681464", new SNsQ(i++));
    snsqMethods.put("4035665851936216061", new SNsQ(i++));
    snsqMethods.put("3239569521490197891", new SNsQ(i++));
    snsqMethods.put("8986357566212684075", new SNsQ(i++));
    snsqMethods.put("3239569521490197949", new SNsQ(i++));
    snsqMethods.put("5002485985637417315", new SNsQ(i++));
    snsqMethods.put("5970181360963002103", new SNsQ(i++));
    snsqMethods.put("6354776497113862138", new SNsQ(i++));
    snsqMethods.put("3570488090022006376", new SNsQ(i++));
    snsqMethods.put("763829979706061757", new SNsQ(i++));
    snsqMethods.put("763829979705947004", new SNsQ(i++));
    snsqMethods.put("8624281949505153372", new SNsQ(i++));
    snsqMethods.put("5397230782653454313", new SNsQ(i++));
    snsqMethods.put("8065469100328125740", new SNsQ(i++));
    snsqMethods.put("3535927011723074303", new SNsQ(i++));
  }
  @NotNull
  @Override
  public SourceNodesQuery getSourceNodesQuery(@NotNull QueryKey identity) {
    SourceNodesQuery query = identity.forFunctionNode(snsqMethods);
    return (query != null ? query : super.getSourceNodesQuery(identity));
  }
  private static class SNsQ implements SourceNodesQuery {
    private final int methodKey;
    public SNsQ(int methodKey) {
      this.methodKey = methodKey;
    }
    @NotNull
    public Collection<SNode> evaluate(@NotNull SourceSubstituteMacroNodesContext ctx) throws GenerationFailureException {
      switch (methodKey) {
        case 0:
          return IterableUtil.asCollection(QueriesGenerated.sourceNodesQuery_0_0(ctx));
        case 1:
          return IterableUtil.asCollection(QueriesGenerated.sourceNodesQuery_0_1(ctx));
        case 2:
          return IterableUtil.asCollection(QueriesGenerated.sourceNodesQuery_0_2(ctx));
        case 3:
          return IterableUtil.asCollection(QueriesGenerated.sourceNodesQuery_0_3(ctx));
        case 4:
          return IterableUtil.asCollection(QueriesGenerated.sourceNodesQuery_0_4(ctx));
        case 5:
          return IterableUtil.asCollection(QueriesGenerated.sourceNodesQuery_0_5(ctx));
        case 6:
          return IterableUtil.asCollection(QueriesGenerated.sourceNodesQuery_0_6(ctx));
        case 7:
          return IterableUtil.asCollection(QueriesGenerated.sourceNodesQuery_0_7(ctx));
        case 8:
          return IterableUtil.asCollection(QueriesGenerated.sourceNodesQuery_0_8(ctx));
        case 9:
          return IterableUtil.asCollection(QueriesGenerated.sourceNodesQuery_0_9(ctx));
        case 10:
          return IterableUtil.asCollection(QueriesGenerated.sourceNodesQuery_0_10(ctx));
        case 11:
          return IterableUtil.asCollection(QueriesGenerated.sourceNodesQuery_0_11(ctx));
        case 12:
          return IterableUtil.asCollection(QueriesGenerated.sourceNodesQuery_0_12(ctx));
        case 13:
          return IterableUtil.asCollection(QueriesGenerated.sourceNodesQuery_0_13(ctx));
        case 14:
          return IterableUtil.asCollection(QueriesGenerated.sourceNodesQuery_0_14(ctx));
        case 15:
          return IterableUtil.asCollection(QueriesGenerated.sourceNodesQuery_0_15(ctx));
        case 16:
          return IterableUtil.asCollection(QueriesGenerated.sourceNodesQuery_0_16(ctx));
        case 17:
          return IterableUtil.asCollection(QueriesGenerated.sourceNodesQuery_2_0(ctx));
        case 18:
          return IterableUtil.asCollection(QueriesGenerated.sourceNodesQuery_2_1(ctx));
        case 19:
          return IterableUtil.asCollection(QueriesGenerated.sourceNodesQuery_2_2(ctx));
        case 20:
          return IterableUtil.asCollection(QueriesGenerated.sourceNodesQuery_3_0(ctx));
        case 21:
          return IterableUtil.asCollection(QueriesGenerated.sourceNodesQuery_3_1(ctx));
        case 22:
          return IterableUtil.asCollection(QueriesGenerated.sourceNodesQuery_3_2(ctx));
        case 23:
          return IterableUtil.asCollection(QueriesGenerated.sourceNodesQuery_3_3(ctx));
        case 24:
          return IterableUtil.asCollection(QueriesGenerated.sourceNodesQuery_3_4(ctx));
        case 25:
          return IterableUtil.asCollection(QueriesGenerated.sourceNodesQuery_3_5(ctx));
        case 26:
          return IterableUtil.asCollection(QueriesGenerated.sourceNodesQuery_7_0(ctx));
        case 27:
          return IterableUtil.asCollection(QueriesGenerated.sourceNodesQuery_7_1(ctx));
        case 28:
          return IterableUtil.asCollection(QueriesGenerated.sourceNodesQuery_7_2(ctx));
        case 29:
          return IterableUtil.asCollection(QueriesGenerated.sourceNodesQuery_7_3(ctx));
        case 30:
          return IterableUtil.asCollection(QueriesGenerated.sourceNodesQuery_7_4(ctx));
        case 31:
          return IterableUtil.asCollection(QueriesGenerated.sourceNodesQuery_7_5(ctx));
        case 32:
          return IterableUtil.asCollection(QueriesGenerated.sourceNodesQuery_7_6(ctx));
        case 33:
          return IterableUtil.asCollection(QueriesGenerated.sourceNodesQuery_8_0(ctx));
        case 34:
          return IterableUtil.asCollection(QueriesGenerated.sourceNodesQuery_9_0(ctx));
        case 35:
          return IterableUtil.asCollection(QueriesGenerated.sourceNodesQuery_9_1(ctx));
        case 36:
          return IterableUtil.asCollection(QueriesGenerated.sourceNodesQuery_10_0(ctx));
        case 37:
          return IterableUtil.asCollection(QueriesGenerated.sourceNodesQuery_10_1(ctx));
        case 38:
          return IterableUtil.asCollection(QueriesGenerated.sourceNodesQuery_10_2(ctx));
        case 39:
          return IterableUtil.asCollection(QueriesGenerated.sourceNodesQuery_10_3(ctx));
        case 40:
          return IterableUtil.asCollection(QueriesGenerated.sourceNodesQuery_10_4(ctx));
        case 41:
          return IterableUtil.asCollection(QueriesGenerated.sourceNodesQuery_10_5(ctx));
        case 42:
          return IterableUtil.asCollection(QueriesGenerated.sourceNodesQuery_10_6(ctx));
        case 43:
          return IterableUtil.asCollection(QueriesGenerated.sourceNodesQuery_10_7(ctx));
        case 44:
          return IterableUtil.asCollection(QueriesGenerated.sourceNodesQuery_10_8(ctx));
        case 45:
          return IterableUtil.asCollection(QueriesGenerated.sourceNodesQuery_10_9(ctx));
        case 46:
          return IterableUtil.asCollection(QueriesGenerated.sourceNodesQuery_10_10(ctx));
        case 47:
          return IterableUtil.asCollection(QueriesGenerated.sourceNodesQuery_10_11(ctx));
        case 48:
          return IterableUtil.asCollection(QueriesGenerated.sourceNodesQuery_10_12(ctx));
        case 49:
          return IterableUtil.asCollection(QueriesGenerated.sourceNodesQuery_10_13(ctx));
        case 50:
          return IterableUtil.asCollection(QueriesGenerated.sourceNodesQuery_10_14(ctx));
        case 51:
          return IterableUtil.asCollection(QueriesGenerated.sourceNodesQuery_10_15(ctx));
        case 52:
          return IterableUtil.asCollection(QueriesGenerated.sourceNodesQuery_12_0(ctx));
        case 53:
          return IterableUtil.asCollection(QueriesGenerated.sourceNodesQuery_14_0(ctx));
        case 54:
          return IterableUtil.asCollection(QueriesGenerated.sourceNodesQuery_14_1(ctx));
        case 55:
          return IterableUtil.asCollection(QueriesGenerated.sourceNodesQuery_17_0(ctx));
        case 56:
          return IterableUtil.asCollection(QueriesGenerated.sourceNodesQuery_17_1(ctx));
        case 57:
          return IterableUtil.asCollection(QueriesGenerated.sourceNodesQuery_18_0(ctx));
        case 58:
          return IterableUtil.asCollection(QueriesGenerated.sourceNodesQuery_21_0(ctx));
        default:
          throw new GenerationFailureException(String.format("Inconsistent QueriesGenerated: there's no method for query %s (key: #%d)", ctx.getTemplateReference(), methodKey));
      }
    }
  }
  private final Map<String, PropertyValueQuery> pvqMethods = new HashMap<String, PropertyValueQuery>();
  {
    int i = 0;
    pvqMethods.put("2389279258789759929", new PVQ(i++, MetaAdapterFactory.getProperty(0x798100da4f0a421aL, 0xb99171f8c50ce5d2L, 0x263ae7d4319546c6L, 0x263ae7d4319546c7L, "relativePath"), "path"));
    pvqMethods.put("1500819558096225937", new PVQ(i++, MetaAdapterFactory.getProperty(0xceab519525ea4f22L, 0x9b92103b95ca8c0cL, 0x110396eaaa4L, 0x110396ec041L, "name"), "mps.module"));
    pvqMethods.put("7259033139236585057", new PVQ(i++, MetaAdapterFactory.getProperty(0x798100da4f0a421aL, 0xb99171f8c50ce5d2L, 0x263ae7d4319896a7L, 0x64bd442e1cfb0eaaL, "reexport"), "true"));
    pvqMethods.put("8206585334428452729", new PVQ(i++, MetaAdapterFactory.getProperty(0x798100da4f0a421aL, 0xb99171f8c50ce5d2L, 0x668c6cfbafacdc38L, 0x71e3a5e19d7f03e3L, "conditionalCompile"), null));
    pvqMethods.put("295480548702159651", new PVQ(i++, MetaAdapterFactory.getProperty(0x798100da4f0a421aL, 0xb99171f8c50ce5d2L, 0x23f6fd361bdcfd27L, 0x6ab0965855d5f133L, "withKotlin"), null));
    pvqMethods.put("2105528055260559334", new PVQ(i++, MetaAdapterFactory.getProperty(0x798100da4f0a421aL, 0xb99171f8c50ce5d2L, 0x440d7ea3b68b7d03L, 0x440d7ea3b68c4d56L, "text"), "name"));
    pvqMethods.put("4643216374596368556", new PVQ(i++, MetaAdapterFactory.getProperty(0x479c7a8c02f943b5L, 0x9139d910cb22f298L, 0x5c842a42c54cfd1fL, 0x5c842a42c54cfd20L, "text"), "id"));
    pvqMethods.put("4643216374596368424", new PVQ(i++, MetaAdapterFactory.getProperty(0x479c7a8c02f943b5L, 0x9139d910cb22f298L, 0x5c842a42c54cfd1fL, 0x5c842a42c54cfd20L, "text"), "language"));
    pvqMethods.put("4643216374596368502", new PVQ(i++, MetaAdapterFactory.getProperty(0x479c7a8c02f943b5L, 0x9139d910cb22f298L, 0x5c842a42c54cfd1fL, 0x5c842a42c54cfd20L, "text"), "00000000-0000-0000-0000-000000000000"));
    pvqMethods.put("4643216374596368656", new PVQ(i++, MetaAdapterFactory.getProperty(0x479c7a8c02f943b5L, 0x9139d910cb22f298L, 0x5c842a42c54cfd1fL, 0x5c842a42c54cfd20L, "text"), "0000-0000(org.test.module1)"));
    pvqMethods.put("1362762974883028535", new PVQ(i++, MetaAdapterFactory.getProperty(0x479c7a8c02f943b5L, 0x9139d910cb22f298L, 0x5c842a42c54cfd1fL, 0x5c842a42c54cfd20L, "text"), "0000-0000(org.test.module1)"));
    pvqMethods.put("1362762974883585622", new PVQ(i++, MetaAdapterFactory.getProperty(0x479c7a8c02f943b5L, 0x9139d910cb22f298L, 0x5c842a42c54cfd1fL, 0x5c842a42c54cfd20L, "text"), "l:0000-0000:lang"));
    pvqMethods.put("4743026300739052425", new PVQ(i++, MetaAdapterFactory.getProperty(0x479c7a8c02f943b5L, 0x9139d910cb22f298L, 0x5c842a42c54cfd1fL, 0x5c842a42c54cfd20L, "text"), "file.jar"));
    pvqMethods.put("5471664488997883966", new PVQ(i++, MetaAdapterFactory.getProperty(0x479c7a8c02f943b5L, 0x9139d910cb22f298L, 0x5c842a42c54cfd1fL, 0x5c842a42c54cfd20L, "text"), "file.jar"));
    pvqMethods.put("6654070855064472579", new PVQ(i++, MetaAdapterFactory.getProperty(0x479c7a8c02f943b5L, 0x9139d910cb22f298L, 0x5c842a42c54cfd1fL, 0x5c842a42c54cfd20L, "text"), "internalLibEntry.jar"));
    pvqMethods.put("8488591998065733682", new PVQ(i++, MetaAdapterFactory.getProperty(0x479c7a8c02f943b5L, 0x9139d910cb22f298L, 0x5c842a42c54cfd1fL, 0x5c842a42c54cfd20L, "text"), "."));
    pvqMethods.put("4743026300739110531", new PVQ(i++, MetaAdapterFactory.getProperty(0x479c7a8c02f943b5L, 0x9139d910cb22f298L, 0x5c842a42c54cfd1fL, 0x5c842a42c54cfd20L, "text"), "module-src.jar"));
    pvqMethods.put("4743026300739110546", new PVQ(i++, MetaAdapterFactory.getProperty(0x479c7a8c02f943b5L, 0x9139d910cb22f298L, 0x5c842a42c54cfd1fL, 0x5c842a42c54cfd20L, "text"), "module.msd"));
    pvqMethods.put("7840993736066063441", new PVQ(i++, MetaAdapterFactory.getProperty(0x798100da4f0a421aL, 0xb99171f8c50ce5d2L, 0x440d7ea3b68b7d03L, 0x440d7ea3b68c4d56L, "text"), "name.jar"));
    pvqMethods.put("7918752904809327283", new PVQ(i++, MetaAdapterFactory.getProperty(0xcf935df46994e9cL, 0xa132fa109541cba3L, 0x127671bd5d8bb460L, 0x6de50fcfc2febc8aL, "stripImplementation"), null));
    pvqMethods.put("8654221991637263444", new PVQ(i++, MetaAdapterFactory.getProperty(0x798100da4f0a421aL, 0xb99171f8c50ce5d2L, 0x440d7ea3b68b7d03L, 0x440d7ea3b68c4d56L, "text"), "models"));
    pvqMethods.put("2540145662854694139", new PVQ(i++, MetaAdapterFactory.getProperty(0x798100da4f0a421aL, 0xb99171f8c50ce5d2L, 0x440d7ea3b68b7d03L, 0x440d7ea3b68c4d56L, "text"), "module.jar"));
    pvqMethods.put("9200313594511245387", new PVQ(i++, MetaAdapterFactory.getProperty(0x798100da4f0a421aL, 0xb99171f8c50ce5d2L, 0x440d7ea3b68b7d03L, 0x440d7ea3b68c4d56L, "text"), "module-generator.jar"));
    pvqMethods.put("7918752904810572709", new PVQ(i++, MetaAdapterFactory.getProperty(0xcf935df46994e9cL, 0xa132fa109541cba3L, 0x177c2feaf3463710L, 0x6de50fcfc334192fL, "stripImplementation"), null));
    pvqMethods.put("2540145662854694190", new PVQ(i++, MetaAdapterFactory.getProperty(0x798100da4f0a421aL, 0xb99171f8c50ce5d2L, 0x440d7ea3b68b7d03L, 0x440d7ea3b68c4d56L, "text"), "module-src.jar"));
    pvqMethods.put("4821808014881207504", new PVQ(i++, MetaAdapterFactory.getProperty(0x479c7a8c02f943b5L, 0x9139d910cb22f298L, 0x5c842a42c54cfd1fL, 0x5c842a42c54cfd20L, "text"), "module.jar"));
    pvqMethods.put("7753763219109706788", new PVQ(i++, MetaAdapterFactory.getProperty(0xcf935df46994e9cL, 0xa132fa109541cba3L, 0x177c2feaf3463710L, 0x6de50fcfc334192fL, "stripImplementation"), null));
    pvqMethods.put("1238980147630114296", new PVQ(i++, MetaAdapterFactory.getProperty(0x798100da4f0a421aL, 0xb99171f8c50ce5d2L, 0x440d7ea3b68b7d03L, 0x440d7ea3b68c4d56L, "text"), "module.jar"));
    pvqMethods.put("6136186284559414610", new PVQ(i++, MetaAdapterFactory.getProperty(0x798100da4f0a421aL, 0xb99171f8c50ce5d2L, 0x440d7ea3b68b7d03L, 0x440d7ea3b68c4d56L, "text"), "module.jar"));
    pvqMethods.put("4031822141866299187", new PVQ(i++, MetaAdapterFactory.getProperty(0xcf935df46994e9cL, 0xa132fa109541cba3L, 0x5b7be37b4de9bb6eL, 0x2f0b11e330465d4dL, "stripImplementation"), null));
    pvqMethods.put("7753544965996882379", new PVQ(i++, MetaAdapterFactory.getProperty(0x479c7a8c02f943b5L, 0x9139d910cb22f298L, 0x5c842a42c54cfd1fL, 0x5c842a42c54cfd20L, "text"), "MPS"));
    pvqMethods.put("7753544965996883333", new PVQ(i++, MetaAdapterFactory.getProperty(0x479c7a8c02f943b5L, 0x9139d910cb22f298L, 0x5c842a42c54cfd1fL, 0x5c842a42c54cfd20L, "text"), "1"));
    pvqMethods.put("7753544965996885262", new PVQ(i++, MetaAdapterFactory.getProperty(0x479c7a8c02f943b5L, 0x9139d910cb22f298L, 0x5c842a42c54cfd1fL, 0x5c842a42c54cfd20L, "text"), "0"));
    pvqMethods.put("7753544965996885278", new PVQ(i++, MetaAdapterFactory.getProperty(0x479c7a8c02f943b5L, 0x9139d910cb22f298L, 0x5c842a42c54cfd1fL, 0x5c842a42c54cfd20L, "text"), "false"));
    pvqMethods.put("7753544965996885368", new PVQ(i++, MetaAdapterFactory.getProperty(0x479c7a8c02f943b5L, 0x9139d910cb22f298L, 0x5c842a42c54cfd1fL, 0x5c842a42c54cfd20L, "text"), "default"));
    pvqMethods.put("781140262678093901", new PVQ(i++, MetaAdapterFactory.getProperty(0x479c7a8c02f943b5L, 0x9139d910cb22f298L, 0x5c842a42c54cfd1fL, 0x5c842a42c54cfd20L, "text"), "JetBrains"));
    pvqMethods.put("781140262678105143", new PVQ(i++, MetaAdapterFactory.getProperty(0x479c7a8c02f943b5L, 0x9139d910cb22f298L, 0x5c842a42c54cfd1fL, 0x5c842a42c54cfd20L, "text"), "http://jetbrains.com"));
    pvqMethods.put("2355727383328194768", new PVQ(i++, MetaAdapterFactory.getProperty(0x479c7a8c02f943b5L, 0x9139d910cb22f298L, 0x5c842a42c54cfd1fL, 0x5c842a42c54cfd20L, "text"), "2000"));
    pvqMethods.put("7753544965996885635", new PVQ(i++, MetaAdapterFactory.getProperty(0x479c7a8c02f943b5L, 0x9139d910cb22f298L, 0x5c842a42c54cfd1fL, 0x5c842a42c54cfd20L, "text"), "111"));
    pvqMethods.put("1462305029084473469", new PVQ(i++, MetaAdapterFactory.getProperty(0x479c7a8c02f943b5L, 0x9139d910cb22f298L, 0x5c842a42c54cfd1fL, 0x5c842a42c54cfd20L, "text"), "${DSTAMP}"));
    pvqMethods.put("1462305029084462105", new PVQ(i++, MetaAdapterFactory.getProperty(0x479c7a8c02f943b5L, 0x9139d910cb22f298L, 0x5c842a42c54cfd1fL, 0x5c842a42c54cfd20L, "text"), "/splash.png"));
    pvqMethods.put("1462305029084462140", new PVQ(i++, MetaAdapterFactory.getProperty(0x479c7a8c02f943b5L, 0x9139d910cb22f298L, 0x5c842a42c54cfd1fL, 0x5c842a42c54cfd20L, "text"), "002233"));
    pvqMethods.put("6845119683729383510", new PVQ(i++, MetaAdapterFactory.getProperty(0x479c7a8c02f943b5L, 0x9139d910cb22f298L, 0x5c842a42c54cfd1fL, 0x5c842a42c54cfd20L, "text"), "FDA916"));
    pvqMethods.put("6845119683729386511", new PVQ(i++, MetaAdapterFactory.getProperty(0x479c7a8c02f943b5L, 0x9139d910cb22f298L, 0x5c842a42c54cfd1fL, 0x5c842a42c54cfd20L, "text"), "230"));
    pvqMethods.put("7962467864633127656", new PVQ(i++, MetaAdapterFactory.getProperty(0x479c7a8c02f943b5L, 0x9139d910cb22f298L, 0x5c842a42c54cfd1fL, 0x5c842a42c54cfd20L, "text"), "1"));
    pvqMethods.put("1462305029084462062", new PVQ(i++, MetaAdapterFactory.getProperty(0x479c7a8c02f943b5L, 0x9139d910cb22f298L, 0x5c842a42c54cfd1fL, 0x5c842a42c54cfd20L, "text"), "/about.png"));
    pvqMethods.put("1084163669516703718", new PVQ(i++, MetaAdapterFactory.getProperty(0x479c7a8c02f943b5L, 0x9139d910cb22f298L, 0x5c842a42c54cfd1fL, 0x5c842a42c54cfd20L, "text"), "000000"));
    pvqMethods.put("1084163669516724466", new PVQ(i++, MetaAdapterFactory.getProperty(0x479c7a8c02f943b5L, 0x9139d910cb22f298L, 0x5c842a42c54cfd1fL, 0x5c842a42c54cfd20L, "text"), "000000"));
    pvqMethods.put("1084163669516726572", new PVQ(i++, MetaAdapterFactory.getProperty(0x479c7a8c02f943b5L, 0x9139d910cb22f298L, 0x5c842a42c54cfd1fL, 0x5c842a42c54cfd20L, "text"), "000000"));
    pvqMethods.put("1084163669516728721", new PVQ(i++, MetaAdapterFactory.getProperty(0x479c7a8c02f943b5L, 0x9139d910cb22f298L, 0x5c842a42c54cfd1fL, 0x5c842a42c54cfd20L, "text"), "000000"));
    pvqMethods.put("1084163669516730913", new PVQ(i++, MetaAdapterFactory.getProperty(0x479c7a8c02f943b5L, 0x9139d910cb22f298L, 0x5c842a42c54cfd1fL, 0x5c842a42c54cfd20L, "text"), "000000"));
    pvqMethods.put("1084163669516733148", new PVQ(i++, MetaAdapterFactory.getProperty(0x479c7a8c02f943b5L, 0x9139d910cb22f298L, 0x5c842a42c54cfd1fL, 0x5c842a42c54cfd20L, "text"), "000000"));
    pvqMethods.put("1084163669516735426", new PVQ(i++, MetaAdapterFactory.getProperty(0x479c7a8c02f943b5L, 0x9139d910cb22f298L, 0x5c842a42c54cfd1fL, 0x5c842a42c54cfd20L, "text"), "000000"));
    pvqMethods.put("6845119683729395352", new PVQ(i++, MetaAdapterFactory.getProperty(0x479c7a8c02f943b5L, 0x9139d910cb22f298L, 0x5c842a42c54cfd1fL, 0x5c842a42c54cfd20L, "text"), "MPS.ico"));
    pvqMethods.put("1938598294982501560", new PVQ(i++, MetaAdapterFactory.getProperty(0x479c7a8c02f943b5L, 0x9139d910cb22f298L, 0x5c842a42c54cfd1fL, 0x5c842a42c54cfd20L, "text"), "mps.svg"));
    pvqMethods.put("1938598294982501959", new PVQ(i++, MetaAdapterFactory.getProperty(0x479c7a8c02f943b5L, 0x9139d910cb22f298L, 0x5c842a42c54cfd1fL, 0x5c842a42c54cfd20L, "text"), "mps_16.svg"));
    pvqMethods.put("1462305029084462313", new PVQ(i++, MetaAdapterFactory.getProperty(0x479c7a8c02f943b5L, 0x9139d910cb22f298L, 0x5c842a42c54cfd1fL, 0x5c842a42c54cfd20L, "text"), "32.png"));
    pvqMethods.put("1462305029084462337", new PVQ(i++, MetaAdapterFactory.getProperty(0x479c7a8c02f943b5L, 0x9139d910cb22f298L, 0x5c842a42c54cfd1fL, 0x5c842a42c54cfd20L, "text"), "16.png"));
    pvqMethods.put("781140262677966725", new PVQ(i++, MetaAdapterFactory.getProperty(0x479c7a8c02f943b5L, 0x9139d910cb22f298L, 0x5c842a42c54cfd1fL, 0x5c842a42c54cfd20L, "text"), "128.png"));
    pvqMethods.put("1462305029084462430", new PVQ(i++, MetaAdapterFactory.getProperty(0x479c7a8c02f943b5L, 0x9139d910cb22f298L, 0x5c842a42c54cfd1fL, 0x5c842a42c54cfd20L, "text"), "MPS"));
    pvqMethods.put("1462305029084462452", new PVQ(i++, MetaAdapterFactory.getProperty(0x479c7a8c02f943b5L, 0x9139d910cb22f298L, 0x5c842a42c54cfd1fL, 0x5c842a42c54cfd20L, "text"), "JetBrains MPS"));
    pvqMethods.put("4783730913495463581", new PVQ(i++, MetaAdapterFactory.getProperty(0x479c7a8c02f943b5L, 0x9139d910cb22f298L, 0x5c842a42c54cfd1fL, 0x5c842a42c54cfd20L, "text"), null));
    pvqMethods.put("4783730913495430922", new PVQ(i++, MetaAdapterFactory.getProperty(0x479c7a8c02f943b5L, 0x9139d910cb22f298L, 0x5c842a42c54cfd1fL, 0x5c842a42c54cfd20L, "text"), "mps"));
    pvqMethods.put("772379520212879620", new PVQ(i++, MetaAdapterFactory.getProperty(0x479c7a8c02f943b5L, 0x9139d910cb22f298L, 0x5c842a42c54cfd1fL, 0x5c842a42c54cfd20L, "text"), "/logo.png"));
    pvqMethods.put("781140262678149977", new PVQ(i++, MetaAdapterFactory.getProperty(0x479c7a8c02f943b5L, 0x9139d910cb22f298L, 0x5c842a42c54cfd1fL, 0x5c842a42c54cfd20L, "text"), "https://plugins.jetbrains.com/"));
    pvqMethods.put("1462305029084461923", new PVQ(i++, MetaAdapterFactory.getProperty(0x479c7a8c02f943b5L, 0x9139d910cb22f298L, 0x5c842a42c54cfd1fL, 0x5c842a42c54cfd20L, "text"), "http://check"));
    pvqMethods.put("1462305029084461948", new PVQ(i++, MetaAdapterFactory.getProperty(0x479c7a8c02f943b5L, 0x9139d910cb22f298L, 0x5c842a42c54cfd1fL, 0x5c842a42c54cfd20L, "text"), "http://update"));
    pvqMethods.put("1462305029084452899", new PVQ(i++, MetaAdapterFactory.getProperty(0x479c7a8c02f943b5L, 0x9139d910cb22f298L, 0x5c842a42c54cfd1fL, 0x5c842a42c54cfd20L, "text"), "help.jar"));
    pvqMethods.put("1462305029084452877", new PVQ(i++, MetaAdapterFactory.getProperty(0x479c7a8c02f943b5L, 0x9139d910cb22f298L, 0x5c842a42c54cfd1fL, 0x5c842a42c54cfd20L, "text"), "MPS"));
    pvqMethods.put("1462305029084421196", new PVQ(i++, MetaAdapterFactory.getProperty(0x479c7a8c02f943b5L, 0x9139d910cb22f298L, 0x5c842a42c54cfd1fL, 0x5c842a42c54cfd20L, "text"), "https://help/"));
    pvqMethods.put("5894421362117319929", new PVQ(i++, MetaAdapterFactory.getProperty(0x479c7a8c02f943b5L, 0x9139d910cb22f298L, 0x5c842a42c54cfd1fL, 0x5c842a42c54cfd20L, "text"), "https://documentation"));
    pvqMethods.put("5894421362117650628", new PVQ(i++, MetaAdapterFactory.getProperty(0x479c7a8c02f943b5L, 0x9139d910cb22f298L, 0x5c842a42c54cfd1fL, 0x5c842a42c54cfd20L, "text"), "https://support"));
    pvqMethods.put("8877724874822463400", new PVQ(i++, MetaAdapterFactory.getProperty(0x479c7a8c02f943b5L, 0x9139d910cb22f298L, 0x5c842a42c54cfd1fL, 0x5c842a42c54cfd20L, "text"), "https://feedback"));
    pvqMethods.put("781140262678199734", new PVQ(i++, MetaAdapterFactory.getProperty(0x479c7a8c02f943b5L, 0x9139d910cb22f298L, 0x5c842a42c54cfd1fL, 0x5c842a42c54cfd20L, "text"), "https://whatsnew"));
    pvqMethods.put("5894421362118006947", new PVQ(i++, MetaAdapterFactory.getProperty(0x479c7a8c02f943b5L, 0x9139d910cb22f298L, 0x5c842a42c54cfd1fL, 0x5c842a42c54cfd20L, "text"), "https://win_keymap"));
    pvqMethods.put("5894421362118007025", new PVQ(i++, MetaAdapterFactory.getProperty(0x479c7a8c02f943b5L, 0x9139d910cb22f298L, 0x5c842a42c54cfd1fL, 0x5c842a42c54cfd20L, "text"), "https://mac_keymap"));
    pvqMethods.put("781140262678258087", new PVQ(i++, MetaAdapterFactory.getProperty(0x479c7a8c02f943b5L, 0x9139d910cb22f298L, 0x5c842a42c54cfd1fL, 0x5c842a42c54cfd20L, "text"), "http://jetbrains.com/idea/statistics/stat-assistant.xml"));
    pvqMethods.put("781140262678263355", new PVQ(i++, MetaAdapterFactory.getProperty(0x479c7a8c02f943b5L, 0x9139d910cb22f298L, 0x5c842a42c54cfd1fL, 0x5c842a42c54cfd20L, "text"), "http://jetbrains.com/idea/statistics/index.jsp"));
    pvqMethods.put("6592112598314984956", new PVQ(i++, MetaAdapterFactory.getProperty(0x479c7a8c02f943b5L, 0x9139d910cb22f298L, 0x16838b3fce9aa513L, 0x16838b3fce9aaa68L, "value"), "jetbrains.mps.plugin"));
    pvqMethods.put("6592112598314985022", new PVQ(i++, MetaAdapterFactory.getProperty(0x479c7a8c02f943b5L, 0x9139d910cb22f298L, 0x16838b3fce9aa513L, 0x16838b3fce9aaa68L, "value"), "Plugin"));
    pvqMethods.put("2172791612911012485", new PVQ(i++, MetaAdapterFactory.getProperty(0x479c7a8c02f943b5L, 0x9139d910cb22f298L, 0x16838b3fce9aa513L, 0x16838b3fce9aaa68L, "value"), "Description"));
    pvqMethods.put("6592112598314985143", new PVQ(i++, MetaAdapterFactory.getProperty(0x479c7a8c02f943b5L, 0x9139d910cb22f298L, 0x16838b3fce9aa513L, 0x16838b3fce9aaa68L, "value"), "1.0.0"));
    pvqMethods.put("7832771629085133940", new PVQ(i++, MetaAdapterFactory.getProperty(0x479c7a8c02f943b5L, 0x9139d910cb22f298L, 0x5c842a42c54cfd1fL, 0x5c842a42c54cfd20L, "text"), "http://www.jetbrains.com/mps/"));
    pvqMethods.put("7832771629085133853", new PVQ(i++, MetaAdapterFactory.getProperty(0x479c7a8c02f943b5L, 0x9139d910cb22f298L, 0x16838b3fce9aa513L, 0x16838b3fce9aaa68L, "value"), "JetBrains"));
    pvqMethods.put("6592112598314985446", new PVQ(i++, MetaAdapterFactory.getProperty(0x479c7a8c02f943b5L, 0x9139d910cb22f298L, 0x16838b3fce9aa513L, 0x16838b3fce9aaa68L, "value"), "jetbrains.mps.core"));
    pvqMethods.put("2436117033632111129", new PVQ(i++, MetaAdapterFactory.getProperty(0x479c7a8c02f943b5L, 0x9139d910cb22f298L, 0x5c842a42c54cfd1fL, 0x5c842a42c54cfd20L, "text"), "${mps_home}/lib/ant/lib/ant-mps.jar"));
    pvqMethods.put("2436117033632111186", new PVQ(i++, MetaAdapterFactory.getProperty(0x479c7a8c02f943b5L, 0x9139d910cb22f298L, 0x5c842a42c54cfd1fL, 0x5c842a42c54cfd20L, "text"), "${mps_home}/lib"));
    pvqMethods.put("5423338990220413266", new PVQ(i++, MetaAdapterFactory.getProperty(0x479c7a8c02f943b5L, 0x9139d910cb22f298L, 0x5c842a42c54cfd1fL, 0x5c842a42c54cfd20L, "text"), "m2m-defaults"));
    pvqMethods.put("4237431449989321950", new PVQ(i++, MetaAdapterFactory.getProperty(0x479c7a8c02f943b5L, 0x9139d910cb22f298L, 0x5c842a42c54cfd1fL, 0x5c842a42c54cfd20L, "text"), "true"));
    pvqMethods.put("4237431449989321974", new PVQ(i++, MetaAdapterFactory.getProperty(0x479c7a8c02f943b5L, 0x9139d910cb22f298L, 0x5c842a42c54cfd1fL, 0x5c842a42c54cfd20L, "text"), "4"));
    pvqMethods.put("4237431449989322008", new PVQ(i++, MetaAdapterFactory.getProperty(0x479c7a8c02f943b5L, 0x9139d910cb22f298L, 0x5c842a42c54cfd1fL, 0x5c842a42c54cfd20L, "text"), "false"));
    pvqMethods.put("4237431449989322020", new PVQ(i++, MetaAdapterFactory.getProperty(0x479c7a8c02f943b5L, 0x9139d910cb22f298L, 0x5c842a42c54cfd1fL, 0x5c842a42c54cfd20L, "text"), "true"));
    pvqMethods.put("4237431449989322032", new PVQ(i++, MetaAdapterFactory.getProperty(0x479c7a8c02f943b5L, 0x9139d910cb22f298L, 0x5c842a42c54cfd1fL, 0x5c842a42c54cfd20L, "text"), "true"));
    pvqMethods.put("3967774530650472141", new PVQ(i++, MetaAdapterFactory.getProperty(0x479c7a8c02f943b5L, 0x9139d910cb22f298L, 0x5c842a42c54cfd1fL, 0x5c842a42c54cfd20L, "text"), "false"));
    pvqMethods.put("1769740796772668696", new PVQ(i++, MetaAdapterFactory.getProperty(0x479c7a8c02f943b5L, 0x9139d910cb22f298L, 0x5c842a42c54cfd1fL, 0x5c842a42c54cfd20L, "text"), "error"));
    pvqMethods.put("5423338990220523093", new PVQ(i++, MetaAdapterFactory.getProperty(0x479c7a8c02f943b5L, 0x9139d910cb22f298L, 0x5c842a42c54cfd1fL, 0x5c842a42c54cfd20L, "text"), "m2m-defaults"));
    pvqMethods.put("978600701690073082", new PVQ(i++, MetaAdapterFactory.getProperty(0x479c7a8c02f943b5L, 0x9139d910cb22f298L, 0x5c842a42c54cfd1fL, 0x5c842a42c54cfd20L, "text"), "plugins.path"));
    pvqMethods.put("5970181360960745172", new PVQ(i++, MetaAdapterFactory.getProperty(0x479c7a8c02f943b5L, 0x9139d910cb22f298L, 0x5c842a42c54cfd1fL, 0x5c842a42c54cfd20L, "text"), "aaa"));
    pvqMethods.put("3733986151372087665", new PVQ(i++, MetaAdapterFactory.getProperty(0x479c7a8c02f943b5L, 0x9139d910cb22f298L, 0x5c842a42c54cfd1fL, 0x5c842a42c54cfd20L, "text"), "1.6"));
    pvqMethods.put("8845345751178380247", new PVQ(i++, MetaAdapterFactory.getProperty(0x479c7a8c02f943b5L, 0x9139d910cb22f298L, 0x5c842a42c54cfd1fL, 0x5c842a42c54cfd20L, "text"), "aaa.msd"));
    pvqMethods.put("449958221363123418", new PVQ(i++, MetaAdapterFactory.getProperty(0x479c7a8c02f943b5L, 0x9139d910cb22f298L, 0x5c842a42c54cfd1fL, 0x5c842a42c54cfd20L, "text"), "-Xmx512m"));
    pvqMethods.put("1933226676407305895", new PVQ(i++, MetaAdapterFactory.getProperty(0x479c7a8c02f943b5L, 0x9139d910cb22f298L, 0x5c842a42c54cfd1fL, 0x5c842a42c54cfd20L, "text"), "--options"));
    pvqMethods.put("5002485985636846574", new PVQ(i++, MetaAdapterFactory.getProperty(0x479c7a8c02f943b5L, 0x9139d910cb22f298L, 0x5c842a42c54cfd1fL, 0x5c842a42c54cfd20L, "text"), "name"));
    pvqMethods.put("5002485985636839430", new PVQ(i++, MetaAdapterFactory.getProperty(0x479c7a8c02f943b5L, 0x9139d910cb22f298L, 0x5c842a42c54cfd1fL, 0x5c842a42c54cfd20L, "text"), "${propertyName}"));
    pvqMethods.put("4035665851935707493", new PVQ(i++, MetaAdapterFactory.getProperty(0x479c7a8c02f943b5L, 0x9139d910cb22f298L, 0x5c842a42c54cfd1fL, 0x5c842a42c54cfd20L, "text"), "1.6"));
    pvqMethods.put("4035665851935768873", new PVQ(i++, MetaAdapterFactory.getProperty(0x479c7a8c02f943b5L, 0x9139d910cb22f298L, 0x5c842a42c54cfd1fL, 0x5c842a42c54cfd20L, "text"), "m2m-defaults"));
    pvqMethods.put("4035665851936450198", new PVQ(i++, MetaAdapterFactory.getProperty(0x479c7a8c02f943b5L, 0x9139d910cb22f298L, 0x5c842a42c54cfd1fL, 0x5c842a42c54cfd20L, "text"), "plugins.path"));
    pvqMethods.put("4035665851936666756", new PVQ(i++, MetaAdapterFactory.getProperty(0x479c7a8c02f943b5L, 0x9139d910cb22f298L, 0x5c842a42c54cfd1fL, 0x5c842a42c54cfd20L, "text"), "id"));
    pvqMethods.put("4035665851936450300", new PVQ(i++, MetaAdapterFactory.getProperty(0x479c7a8c02f943b5L, 0x9139d910cb22f298L, 0x5c842a42c54cfd1fL, 0x5c842a42c54cfd20L, "text"), "aaa"));
    pvqMethods.put("4035665851936951126", new PVQ(i++, MetaAdapterFactory.getProperty(0x479c7a8c02f943b5L, 0x9139d910cb22f298L, 0x5c842a42c54cfd1fL, 0x5c842a42c54cfd20L, "text"), "module.msd"));
    pvqMethods.put("4035665851936219812", new PVQ(i++, MetaAdapterFactory.getProperty(0x479c7a8c02f943b5L, 0x9139d910cb22f298L, 0x5c842a42c54cfd1fL, 0x5c842a42c54cfd20L, "text"), "-Xmx512m"));
    pvqMethods.put("4035665851936216040", new PVQ(i++, MetaAdapterFactory.getProperty(0x479c7a8c02f943b5L, 0x9139d910cb22f298L, 0x5c842a42c54cfd1fL, 0x5c842a42c54cfd20L, "text"), "name"));
    pvqMethods.put("4035665851936216049", new PVQ(i++, MetaAdapterFactory.getProperty(0x479c7a8c02f943b5L, 0x9139d910cb22f298L, 0x5c842a42c54cfd1fL, 0x5c842a42c54cfd20L, "text"), "${propertyName}"));
    pvqMethods.put("3239569521490197761", new PVQ(i++, MetaAdapterFactory.getProperty(0x479c7a8c02f943b5L, 0x9139d910cb22f298L, 0x5c842a42c54cfd1fL, 0x5c842a42c54cfd20L, "text"), "plugins.path"));
    pvqMethods.put("8986357566212561514", new PVQ(i++, MetaAdapterFactory.getProperty(0x479c7a8c02f943b5L, 0x9139d910cb22f298L, 0x5c842a42c54cfd1fL, 0x5c842a42c54cfd20L, "text"), "lib"));
    pvqMethods.put("1374711517443210408", new PVQ(i++, MetaAdapterFactory.getProperty(0x479c7a8c02f943b5L, 0x9139d910cb22f298L, 0x5c842a42c54cfd1fL, 0x5c842a42c54cfd20L, "text"), "moduleFile.msd"));
    pvqMethods.put("8702237507672319033", new PVQ(i++, MetaAdapterFactory.getProperty(0x479c7a8c02f943b5L, 0x9139d910cb22f298L, 0x5c842a42c54cfd1fL, 0x5c842a42c54cfd20L, "text"), "-Xmx512m"));
    pvqMethods.put("5002485985637417294", new PVQ(i++, MetaAdapterFactory.getProperty(0x479c7a8c02f943b5L, 0x9139d910cb22f298L, 0x5c842a42c54cfd1fL, 0x5c842a42c54cfd20L, "text"), "name"));
    pvqMethods.put("5002485985637417303", new PVQ(i++, MetaAdapterFactory.getProperty(0x479c7a8c02f943b5L, 0x9139d910cb22f298L, 0x5c842a42c54cfd1fL, 0x5c842a42c54cfd20L, "text"), "${propertyName}"));
    pvqMethods.put("7795397664372773538", new PVQ(i++, MetaAdapterFactory.getProperty(0x479c7a8c02f943b5L, 0x9139d910cb22f298L, 0x5c842a42c54cfd1fL, 0x5c842a42c54cfd20L, "text"), "excludePattern"));
    pvqMethods.put("5970181360963002105", new PVQ(i++, MetaAdapterFactory.getProperty(0x479c7a8c02f943b5L, 0x9139d910cb22f298L, 0x5c842a42c54cfd1fL, 0x5c842a42c54cfd20L, "text"), "module/source_gen"));
    pvqMethods.put("6354776497085480729", new PVQ(i++, MetaAdapterFactory.getProperty(0x479c7a8c02f943b5L, 0x9139d910cb22f298L, 0x5c842a42c54cfd1fL, 0x5c842a42c54cfd20L, "text"), "build.xml"));
    pvqMethods.put("3389822811994148423", new PVQ(i++, MetaAdapterFactory.getProperty(0xcf935df46994e9cL, 0xa132fa109541cba3L, 0x11918e0f209b83e7L, 0x6de50fcfc3523742L, "stripImplementation"), null));
    pvqMethods.put("3570488090022006365", new PVQ(i++, MetaAdapterFactory.getProperty(0x798100da4f0a421aL, 0xb99171f8c50ce5d2L, 0x440d7ea3b68b7d03L, 0x440d7ea3b68c4d56L, "text"), "groupName"));
    pvqMethods.put("3570488090022006413", new PVQ(i++, MetaAdapterFactory.getProperty(0xcf935df46994e9cL, 0xa132fa109541cba3L, 0x11918e0f209b83e7L, 0x6de50fcfc3523742L, "stripImplementation"), null));
    pvqMethods.put("4912951749633439328", new PVQ(i++, MetaAdapterFactory.getProperty(0x479c7a8c02f943b5L, 0x9139d910cb22f298L, 0x5c842a42c54cfd1fL, 0x5c842a42c54cfd20L, "text"), "aaa.jar"));
    pvqMethods.put("4912951749633463342", new PVQ(i++, MetaAdapterFactory.getProperty(0x479c7a8c02f943b5L, 0x9139d910cb22f298L, 0x5c842a42c54cfd1fL, 0x5c842a42c54cfd20L, "text"), "dir"));
    pvqMethods.put("4912951749633463930", new PVQ(i++, MetaAdapterFactory.getProperty(0x479c7a8c02f943b5L, 0x9139d910cb22f298L, 0x5c842a42c54cfd1fL, 0x5c842a42c54cfd20L, "text"), "aaa.jar"));
    pvqMethods.put("4912951749633460798", new PVQ(i++, MetaAdapterFactory.getProperty(0x798100da4f0a421aL, 0xb99171f8c50ce5d2L, 0x4c1fa58d992addeL, 0x4c1fa58d9933cacL, "suffix"), "aaa.jar"));
    pvqMethods.put("763829979705979629", new PVQ(i++, MetaAdapterFactory.getProperty(0xcf935df46994e9cL, 0xa132fa109541cba3L, 0xd94b027412f0824L, 0xd94b027412f0827L, "path"), "module/solution.msd"));
    pvqMethods.put("763829979706038683", new PVQ(i++, MetaAdapterFactory.getProperty(0xcf935df46994e9cL, 0xa132fa109541cba3L, 0xd94b027412f0824L, 0xd94b027412f0827L, "path"), "module-src.jar"));
    pvqMethods.put("6437930869737376609", new PVQ(i++, MetaAdapterFactory.getProperty(0x479c7a8c02f943b5L, 0x9139d910cb22f298L, 0x5c842a42c54cfd1fL, 0x5c842a42c54cfd20L, "text"), "dir"));
    pvqMethods.put("6437930869737386357", new PVQ(i++, MetaAdapterFactory.getProperty(0x479c7a8c02f943b5L, 0x9139d910cb22f298L, 0x5c842a42c54cfd1fL, 0x5c842a42c54cfd20L, "text"), "dir"));
    pvqMethods.put("153860590143915509", new PVQ(i++, MetaAdapterFactory.getProperty(0x479c7a8c02f943b5L, 0x9139d910cb22f298L, 0x5c842a42c54cfd1fL, 0x5c842a42c54cfd20L, "text"), "mps-tips.jar"));
    pvqMethods.put("5730480978686915483", new PVQ(i++, MetaAdapterFactory.getProperty(0x479c7a8c02f943b5L, 0x9139d910cb22f298L, 0x5c842a42c54cfd1fL, 0x5c842a42c54cfd20L, "text"), "dest"));
    pvqMethods.put("5397230782653454095", new PVQ(i++, MetaAdapterFactory.getProperty(0x479c7a8c02f943b5L, 0x9139d910cb22f298L, 0x5c842a42c54cfd1fL, 0x5c842a42c54cfd20L, "text"), "dir"));
    pvqMethods.put("5397230782653454221", new PVQ(i++, MetaAdapterFactory.getProperty(0x479c7a8c02f943b5L, 0x9139d910cb22f298L, 0x5c842a42c54cfd1fL, 0x5c842a42c54cfd20L, "text"), "source"));
    pvqMethods.put("5397230782653454237", new PVQ(i++, MetaAdapterFactory.getProperty(0x479c7a8c02f943b5L, 0x9139d910cb22f298L, 0x5c842a42c54cfd1fL, 0x5c842a42c54cfd20L, "text"), "dir"));
    pvqMethods.put("8624281949501633848", new PVQ(i++, MetaAdapterFactory.getProperty(0x479c7a8c02f943b5L, 0x9139d910cb22f298L, 0x5c842a42c54cfd1fL, 0x5c842a42c54cfd20L, "text"), "module"));
    pvqMethods.put("8624281949502070708", new PVQ(i++, MetaAdapterFactory.getProperty(0x479c7a8c02f943b5L, 0x9139d910cb22f298L, 0x5c842a42c54cfd1fL, 0x5c842a42c54cfd20L, "text"), "home"));
    pvqMethods.put("5730480978697699469", new PVQ(i++, MetaAdapterFactory.getProperty(0x479c7a8c02f943b5L, 0x9139d910cb22f298L, 0x5c842a42c54cfd1fL, 0x5c842a42c54cfd20L, "text"), "out"));
    pvqMethods.put("8624281949501237519", new PVQ(i++, MetaAdapterFactory.getProperty(0x479c7a8c02f943b5L, 0x9139d910cb22f298L, 0x5c842a42c54cfd1fL, 0x5c842a42c54cfd20L, "text"), "ant.xml"));
    pvqMethods.put("5730480978689390785", new PVQ(i++, MetaAdapterFactory.getProperty(0x479c7a8c02f943b5L, 0x9139d910cb22f298L, 0x5c842a42c54cfd1fL, 0x5c842a42c54cfd20L, "text"), "META-INF"));
    pvqMethods.put("5730480978689410244", new PVQ(i++, MetaAdapterFactory.getProperty(0x479c7a8c02f943b5L, 0x9139d910cb22f298L, 0x5c842a42c54cfd1fL, 0x5c842a42c54cfd20L, "text"), "dir"));
    pvqMethods.put("153860590145873689", new PVQ(i++, MetaAdapterFactory.getProperty(0x479c7a8c02f943b5L, 0x9139d910cb22f298L, 0x5c842a42c54cfd1fL, 0x5c842a42c54cfd20L, "text"), "prop.contents"));
    pvqMethods.put("153860590145890816", new PVQ(i++, MetaAdapterFactory.getProperty(0x479c7a8c02f943b5L, 0x9139d910cb22f298L, 0x5c842a42c54cfd1fL, 0x5c842a42c54cfd20L, "text"), "${prop.contents}"));
    pvqMethods.put("5730480978689422103", new PVQ(i++, MetaAdapterFactory.getProperty(0x479c7a8c02f943b5L, 0x9139d910cb22f298L, 0x5c842a42c54cfd1fL, 0x5c842a42c54cfd20L, "text"), "IdeTipsAndTricks.xml"));
    pvqMethods.put("5730480978689432453", new PVQ(i++, MetaAdapterFactory.getProperty(0x479c7a8c02f943b5L, 0x9139d910cb22f298L, 0x5c842a42c54cfd1fL, 0x5c842a42c54cfd20L, "text"), "IdeTipsAndTricks.xml"));
    pvqMethods.put("5730480978689435200", new PVQ(i++, MetaAdapterFactory.getProperty(0x479c7a8c02f943b5L, 0x9139d910cb22f298L, 0x5c842a42c54cfd1fL, 0x5c842a42c54cfd20L, "text"), "IdeTipsAndTricks.xml"));
    pvqMethods.put("5730480978698427344", new PVQ(i++, MetaAdapterFactory.getProperty(0xceab519525ea4f22L, 0x9b92103b95ca8c0cL, 0x110396eaaa4L, 0x110396ec041L, "name"), "collect-tips"));
    pvqMethods.put("8065469100328125711", new PVQ(i++, MetaAdapterFactory.getProperty(0xcf935df46994e9cL, 0xa132fa109541cba3L, 0x11918e0f209b83e7L, 0x6de50fcfc3523742L, "stripImplementation"), null));
    pvqMethods.put("8065469100328125729", new PVQ(i++, MetaAdapterFactory.getProperty(0x798100da4f0a421aL, 0xb99171f8c50ce5d2L, 0x440d7ea3b68b7d03L, 0x440d7ea3b68c4d56L, "text"), "groupName"));
    pvqMethods.put("8065469100328125765", new PVQ(i++, MetaAdapterFactory.getProperty(0xcf935df46994e9cL, 0xa132fa109541cba3L, 0x11918e0f209b83e7L, 0x6de50fcfc3523742L, "stripImplementation"), null));
    pvqMethods.put("5931473261454711455", new PVQ(i++, MetaAdapterFactory.getProperty(0x798100da4f0a421aL, 0xb99171f8c50ce5d2L, 0x72b7d8e699d63212L, 0x72b7d8e699d63213L, "path"), "${build.tmp}/out/mps-tips/.."));
    pvqMethods.put("5397230782654310879", new PVQ(i++, MetaAdapterFactory.getProperty(0x798100da4f0a421aL, 0xb99171f8c50ce5d2L, 0x440d7ea3b68b7d03L, 0x440d7ea3b68c4d56L, "text"), "file_en.jar"));
  }
  @NotNull
  @Override
  public PropertyValueQuery getPropertyValueQuery(@NotNull QueryKey identity) {
    PropertyValueQuery query = identity.forTemplateNode(pvqMethods);
    return (query != null ? query : super.getPropertyValueQuery(identity));
  }
  private static class PVQ extends PropertyValueQuery.Base {
    private final int methodKey;
    /*package*/ PVQ(int methodKey, SProperty property, String templateValue) {
      super(property, templateValue);
      this.methodKey = methodKey;
    }
    @Nullable
    public Object evaluate(@NotNull PropertyMacroContext ctx) throws GenerationFailureException {
      switch (methodKey) {
        case 0:
          return QueriesGenerated.propertyMacro_GetValue_0_0(ctx);
        case 1:
          return QueriesGenerated.propertyMacro_GetValue_0_1(ctx);
        case 2:
          return QueriesGenerated.propertyMacro_GetValue_0_2(ctx);
        case 3:
          return QueriesGenerated.propertyMacro_GetValue_0_3(ctx);
        case 4:
          return QueriesGenerated.propertyMacro_GetValue_0_4(ctx);
        case 5:
          return QueriesGenerated.propertyMacro_GetValue_0_5(ctx);
        case 6:
          return QueriesGenerated.propertyMacro_GetValue_0_6(ctx);
        case 7:
          return QueriesGenerated.propertyMacro_GetValue_0_7(ctx);
        case 8:
          return QueriesGenerated.propertyMacro_GetValue_0_8(ctx);
        case 9:
          return QueriesGenerated.propertyMacro_GetValue_0_9(ctx);
        case 10:
          return QueriesGenerated.propertyMacro_GetValue_0_10(ctx);
        case 11:
          return QueriesGenerated.propertyMacro_GetValue_0_11(ctx);
        case 12:
          return QueriesGenerated.propertyMacro_GetValue_0_12(ctx);
        case 13:
          return QueriesGenerated.propertyMacro_GetValue_0_13(ctx);
        case 14:
          return QueriesGenerated.propertyMacro_GetValue_0_14(ctx);
        case 15:
          return QueriesGenerated.propertyMacro_GetValue_0_15(ctx);
        case 16:
          return QueriesGenerated.propertyMacro_GetValue_0_16(ctx);
        case 17:
          return QueriesGenerated.propertyMacro_GetValue_0_17(ctx);
        case 18:
          return QueriesGenerated.propertyMacro_GetValue_0_18(ctx);
        case 19:
          return QueriesGenerated.propertyMacro_GetValue_2_0(ctx);
        case 20:
          return QueriesGenerated.propertyMacro_GetValue_2_1(ctx);
        case 21:
          return QueriesGenerated.propertyMacro_GetValue_3_0(ctx);
        case 22:
          return QueriesGenerated.propertyMacro_GetValue_3_1(ctx);
        case 23:
          return QueriesGenerated.propertyMacro_GetValue_3_2(ctx);
        case 24:
          return QueriesGenerated.propertyMacro_GetValue_3_3(ctx);
        case 25:
          return QueriesGenerated.propertyMacro_GetValue_4_0(ctx);
        case 26:
          return QueriesGenerated.propertyMacro_GetValue_7_0(ctx);
        case 27:
          return QueriesGenerated.propertyMacro_GetValue_7_1(ctx);
        case 28:
          return QueriesGenerated.propertyMacro_GetValue_7_2(ctx);
        case 29:
          return QueriesGenerated.propertyMacro_GetValue_7_3(ctx);
        case 30:
          return QueriesGenerated.propertyMacro_GetValue_8_0(ctx);
        case 31:
          return QueriesGenerated.propertyMacro_GetValue_8_1(ctx);
        case 32:
          return QueriesGenerated.propertyMacro_GetValue_8_2(ctx);
        case 33:
          return QueriesGenerated.propertyMacro_GetValue_8_3(ctx);
        case 34:
          return QueriesGenerated.propertyMacro_GetValue_8_4(ctx);
        case 35:
          return QueriesGenerated.propertyMacro_GetValue_8_5(ctx);
        case 36:
          return QueriesGenerated.propertyMacro_GetValue_8_6(ctx);
        case 37:
          return QueriesGenerated.propertyMacro_GetValue_8_7(ctx);
        case 38:
          return QueriesGenerated.propertyMacro_GetValue_8_8(ctx);
        case 39:
          return QueriesGenerated.propertyMacro_GetValue_8_9(ctx);
        case 40:
          return QueriesGenerated.propertyMacro_GetValue_8_10(ctx);
        case 41:
          return QueriesGenerated.propertyMacro_GetValue_8_11(ctx);
        case 42:
          return QueriesGenerated.propertyMacro_GetValue_8_12(ctx);
        case 43:
          return QueriesGenerated.propertyMacro_GetValue_8_13(ctx);
        case 44:
          return QueriesGenerated.propertyMacro_GetValue_8_14(ctx);
        case 45:
          return QueriesGenerated.propertyMacro_GetValue_8_15(ctx);
        case 46:
          return QueriesGenerated.propertyMacro_GetValue_8_16(ctx);
        case 47:
          return QueriesGenerated.propertyMacro_GetValue_8_17(ctx);
        case 48:
          return QueriesGenerated.propertyMacro_GetValue_8_18(ctx);
        case 49:
          return QueriesGenerated.propertyMacro_GetValue_8_19(ctx);
        case 50:
          return QueriesGenerated.propertyMacro_GetValue_8_20(ctx);
        case 51:
          return QueriesGenerated.propertyMacro_GetValue_8_21(ctx);
        case 52:
          return QueriesGenerated.propertyMacro_GetValue_8_22(ctx);
        case 53:
          return QueriesGenerated.propertyMacro_GetValue_8_23(ctx);
        case 54:
          return QueriesGenerated.propertyMacro_GetValue_8_24(ctx);
        case 55:
          return QueriesGenerated.propertyMacro_GetValue_8_25(ctx);
        case 56:
          return QueriesGenerated.propertyMacro_GetValue_8_26(ctx);
        case 57:
          return QueriesGenerated.propertyMacro_GetValue_8_27(ctx);
        case 58:
          return QueriesGenerated.propertyMacro_GetValue_8_28(ctx);
        case 59:
          return QueriesGenerated.propertyMacro_GetValue_8_29(ctx);
        case 60:
          return QueriesGenerated.propertyMacro_GetValue_8_30(ctx);
        case 61:
          return QueriesGenerated.propertyMacro_GetValue_8_31(ctx);
        case 62:
          return QueriesGenerated.propertyMacro_GetValue_8_32(ctx);
        case 63:
          return QueriesGenerated.propertyMacro_GetValue_8_33(ctx);
        case 64:
          return QueriesGenerated.propertyMacro_GetValue_8_34(ctx);
        case 65:
          return QueriesGenerated.propertyMacro_GetValue_8_35(ctx);
        case 66:
          return QueriesGenerated.propertyMacro_GetValue_8_36(ctx);
        case 67:
          return QueriesGenerated.propertyMacro_GetValue_8_37(ctx);
        case 68:
          return QueriesGenerated.propertyMacro_GetValue_8_38(ctx);
        case 69:
          return QueriesGenerated.propertyMacro_GetValue_8_39(ctx);
        case 70:
          return QueriesGenerated.propertyMacro_GetValue_8_40(ctx);
        case 71:
          return QueriesGenerated.propertyMacro_GetValue_8_41(ctx);
        case 72:
          return QueriesGenerated.propertyMacro_GetValue_8_42(ctx);
        case 73:
          return QueriesGenerated.propertyMacro_GetValue_8_43(ctx);
        case 74:
          return QueriesGenerated.propertyMacro_GetValue_8_44(ctx);
        case 75:
          return QueriesGenerated.propertyMacro_GetValue_8_45(ctx);
        case 76:
          return QueriesGenerated.propertyMacro_GetValue_8_46(ctx);
        case 77:
          return QueriesGenerated.propertyMacro_GetValue_8_47(ctx);
        case 78:
          return QueriesGenerated.propertyMacro_GetValue_9_0(ctx);
        case 79:
          return QueriesGenerated.propertyMacro_GetValue_9_1(ctx);
        case 80:
          return QueriesGenerated.propertyMacro_GetValue_9_2(ctx);
        case 81:
          return QueriesGenerated.propertyMacro_GetValue_9_3(ctx);
        case 82:
          return QueriesGenerated.propertyMacro_GetValue_9_4(ctx);
        case 83:
          return QueriesGenerated.propertyMacro_GetValue_9_5(ctx);
        case 84:
          return QueriesGenerated.propertyMacro_GetValue_9_6(ctx);
        case 85:
          return QueriesGenerated.propertyMacro_GetValue_10_0(ctx);
        case 86:
          return QueriesGenerated.propertyMacro_GetValue_10_1(ctx);
        case 87:
          return QueriesGenerated.propertyMacro_GetValue_10_2(ctx);
        case 88:
          return QueriesGenerated.propertyMacro_GetValue_10_3(ctx);
        case 89:
          return QueriesGenerated.propertyMacro_GetValue_10_4(ctx);
        case 90:
          return QueriesGenerated.propertyMacro_GetValue_10_5(ctx);
        case 91:
          return QueriesGenerated.propertyMacro_GetValue_10_6(ctx);
        case 92:
          return QueriesGenerated.propertyMacro_GetValue_10_7(ctx);
        case 93:
          return QueriesGenerated.propertyMacro_GetValue_10_8(ctx);
        case 94:
          return QueriesGenerated.propertyMacro_GetValue_10_9(ctx);
        case 95:
          return QueriesGenerated.propertyMacro_GetValue_10_10(ctx);
        case 96:
          return QueriesGenerated.propertyMacro_GetValue_10_11(ctx);
        case 97:
          return QueriesGenerated.propertyMacro_GetValue_10_12(ctx);
        case 98:
          return QueriesGenerated.propertyMacro_GetValue_10_13(ctx);
        case 99:
          return QueriesGenerated.propertyMacro_GetValue_10_14(ctx);
        case 100:
          return QueriesGenerated.propertyMacro_GetValue_10_15(ctx);
        case 101:
          return QueriesGenerated.propertyMacro_GetValue_10_16(ctx);
        case 102:
          return QueriesGenerated.propertyMacro_GetValue_10_17(ctx);
        case 103:
          return QueriesGenerated.propertyMacro_GetValue_10_18(ctx);
        case 104:
          return QueriesGenerated.propertyMacro_GetValue_10_19(ctx);
        case 105:
          return QueriesGenerated.propertyMacro_GetValue_10_20(ctx);
        case 106:
          return QueriesGenerated.propertyMacro_GetValue_10_21(ctx);
        case 107:
          return QueriesGenerated.propertyMacro_GetValue_10_22(ctx);
        case 108:
          return QueriesGenerated.propertyMacro_GetValue_10_23(ctx);
        case 109:
          return QueriesGenerated.propertyMacro_GetValue_10_24(ctx);
        case 110:
          return QueriesGenerated.propertyMacro_GetValue_10_25(ctx);
        case 111:
          return QueriesGenerated.propertyMacro_GetValue_10_26(ctx);
        case 112:
          return QueriesGenerated.propertyMacro_GetValue_10_27(ctx);
        case 113:
          return QueriesGenerated.propertyMacro_GetValue_10_28(ctx);
        case 114:
          return QueriesGenerated.propertyMacro_GetValue_10_29(ctx);
        case 115:
          return QueriesGenerated.propertyMacro_GetValue_10_30(ctx);
        case 116:
          return QueriesGenerated.propertyMacro_GetValue_10_31(ctx);
        case 117:
          return QueriesGenerated.propertyMacro_GetValue_10_32(ctx);
        case 118:
          return QueriesGenerated.propertyMacro_GetValue_10_33(ctx);
        case 119:
          return QueriesGenerated.propertyMacro_GetValue_10_34(ctx);
        case 120:
          return QueriesGenerated.propertyMacro_GetValue_10_35(ctx);
        case 121:
          return QueriesGenerated.propertyMacro_GetValue_10_36(ctx);
        case 122:
          return QueriesGenerated.propertyMacro_GetValue_12_0(ctx);
        case 123:
          return QueriesGenerated.propertyMacro_GetValue_12_1(ctx);
        case 124:
          return QueriesGenerated.propertyMacro_GetValue_12_2(ctx);
        case 125:
          return QueriesGenerated.propertyMacro_GetValue_13_0(ctx);
        case 126:
          return QueriesGenerated.propertyMacro_GetValue_13_1(ctx);
        case 127:
          return QueriesGenerated.propertyMacro_GetValue_13_2(ctx);
        case 128:
          return QueriesGenerated.propertyMacro_GetValue_13_3(ctx);
        case 129:
          return QueriesGenerated.propertyMacro_GetValue_14_0(ctx);
        case 130:
          return QueriesGenerated.propertyMacro_GetValue_14_1(ctx);
        case 131:
          return QueriesGenerated.propertyMacro_GetValue_17_0(ctx);
        case 132:
          return QueriesGenerated.propertyMacro_GetValue_17_1(ctx);
        case 133:
          return QueriesGenerated.propertyMacro_GetValue_17_2(ctx);
        case 134:
          return QueriesGenerated.propertyMacro_GetValue_17_3(ctx);
        case 135:
          return QueriesGenerated.propertyMacro_GetValue_17_4(ctx);
        case 136:
          return QueriesGenerated.propertyMacro_GetValue_17_5(ctx);
        case 137:
          return QueriesGenerated.propertyMacro_GetValue_17_6(ctx);
        case 138:
          return QueriesGenerated.propertyMacro_GetValue_17_7(ctx);
        case 139:
          return QueriesGenerated.propertyMacro_GetValue_17_8(ctx);
        case 140:
          return QueriesGenerated.propertyMacro_GetValue_17_9(ctx);
        case 141:
          return QueriesGenerated.propertyMacro_GetValue_17_10(ctx);
        case 142:
          return QueriesGenerated.propertyMacro_GetValue_17_11(ctx);
        case 143:
          return QueriesGenerated.propertyMacro_GetValue_17_12(ctx);
        case 144:
          return QueriesGenerated.propertyMacro_GetValue_17_13(ctx);
        case 145:
          return QueriesGenerated.propertyMacro_GetValue_17_14(ctx);
        case 146:
          return QueriesGenerated.propertyMacro_GetValue_17_15(ctx);
        case 147:
          return QueriesGenerated.propertyMacro_GetValue_17_16(ctx);
        case 148:
          return QueriesGenerated.propertyMacro_GetValue_17_17(ctx);
        case 149:
          return QueriesGenerated.propertyMacro_GetValue_17_18(ctx);
        case 150:
          return QueriesGenerated.propertyMacro_GetValue_18_0(ctx);
        case 151:
          return QueriesGenerated.propertyMacro_GetValue_18_1(ctx);
        case 152:
          return QueriesGenerated.propertyMacro_GetValue_18_2(ctx);
        case 153:
          return QueriesGenerated.propertyMacro_GetValue_19_0(ctx);
        case 154:
          return QueriesGenerated.propertyMacro_GetValue_19_1(ctx);
        default:
          throw new GenerationFailureException(String.format("Inconsistent QueriesGenerated: there's no method for query %s (key: #%d)", ctx.getTemplateReference(), methodKey));
      }
    }
  }
  private final Map<String, IfMacroCondition> imcMethods = new HashMap<String, IfMacroCondition>();
  {
    int i = 0;
    imcMethods.put("4571516170015252590", new IfMC(i++));
    imcMethods.put("8488591998065755518", new IfMC(i++));
    imcMethods.put("7477562766052505826", new IfMC(i++));
    imcMethods.put("7477562766052512687", new IfMC(i++));
    imcMethods.put("4743026300739110562", new IfMC(i++));
    imcMethods.put("4972001163782669450", new IfMC(i++));
    imcMethods.put("7840993736063167249", new IfMC(i++));
    imcMethods.put("8369506495128850762", new IfMC(i++));
    imcMethods.put("8137134783397636863", new IfMC(i++));
    imcMethods.put("8654221991637263557", new IfMC(i++));
    imcMethods.put("2794582399917924014", new IfMC(i++));
    imcMethods.put("3335207478149118950", new IfMC(i++));
    imcMethods.put("3335207478149152701", new IfMC(i++));
    imcMethods.put("2540145662854694312", new IfMC(i++));
    imcMethods.put("8252715012761547078", new IfMC(i++));
    imcMethods.put("7753763219109750697", new IfMC(i++));
    imcMethods.put("7753763219109811955", new IfMC(i++));
    imcMethods.put("6136186284559414540", new IfMC(i++));
    imcMethods.put("6136186284559414566", new IfMC(i++));
    imcMethods.put("922958177840041190", new IfMC(i++));
    imcMethods.put("7753544965996885485", new IfMC(i++));
    imcMethods.put("2355727383328172309", new IfMC(i++));
    imcMethods.put("781140262678082419", new IfMC(i++));
    imcMethods.put("1462305029084462172", new IfMC(i++));
    imcMethods.put("6845119683729348499", new IfMC(i++));
    imcMethods.put("6845119683729380880", new IfMC(i++));
    imcMethods.put("7962467864633127579", new IfMC(i++));
    imcMethods.put("1084163669516716663", new IfMC(i++));
    imcMethods.put("1084163669516724484", new IfMC(i++));
    imcMethods.put("1084163669516726590", new IfMC(i++));
    imcMethods.put("1084163669516728739", new IfMC(i++));
    imcMethods.put("1084163669516730931", new IfMC(i++));
    imcMethods.put("1084163669516733166", new IfMC(i++));
    imcMethods.put("1084163669516735444", new IfMC(i++));
    imcMethods.put("6520817392523143158", new IfMC(i++));
    imcMethods.put("6845119683729389262", new IfMC(i++));
    imcMethods.put("1938598294982501573", new IfMC(i++));
    imcMethods.put("1938598294982501972", new IfMC(i++));
    imcMethods.put("1938598294982492973", new IfMC(i++));
    imcMethods.put("1938598294982493000", new IfMC(i++));
    imcMethods.put("781140262677966745", new IfMC(i++));
    imcMethods.put("4783730913495457059", new IfMC(i++));
    imcMethods.put("1462305029084461972", new IfMC(i++));
    imcMethods.put("5053813598678952392", new IfMC(i++));
    imcMethods.put("1462305029084452922", new IfMC(i++));
    imcMethods.put("5894421362117318859", new IfMC(i++));
    imcMethods.put("5894421362117645772", new IfMC(i++));
    imcMethods.put("8877724874822463464", new IfMC(i++));
    imcMethods.put("781140262678203503", new IfMC(i++));
    imcMethods.put("5894421362118001935", new IfMC(i++));
    imcMethods.put("781140262678249378", new IfMC(i++));
    imcMethods.put("1938598294988139938", new IfMC(i++));
    imcMethods.put("1938598294988136819", new IfMC(i++));
    imcMethods.put("781140262679960793", new IfMC(i++));
    imcMethods.put("1938598294988146079", new IfMC(i++));
    imcMethods.put("1938598294988149064", new IfMC(i++));
    imcMethods.put("6845119683731096024", new IfMC(i++));
    imcMethods.put("6520817392523151294", new IfMC(i++));
    imcMethods.put("2172791612910915661", new IfMC(i++));
    imcMethods.put("7832771629085134028", new IfMC(i++));
    imcMethods.put("7832771629085133712", new IfMC(i++));
    imcMethods.put("2339934328870304022", new IfMC(i++));
    imcMethods.put("1769740796772692676", new IfMC(i++));
    imcMethods.put("3733986151372083092", new IfMC(i++));
    imcMethods.put("8845345751178285143", new IfMC(i++));
    imcMethods.put("5970181360960165169", new IfMC(i++));
    imcMethods.put("1933226676407114454", new IfMC(i++));
    imcMethods.put("4035665851936438514", new IfMC(i++));
    imcMethods.put("4035665851935707502", new IfMC(i++));
    imcMethods.put("4035665851935770399", new IfMC(i++));
    imcMethods.put("398731435601112750", new IfMC(i++));
    imcMethods.put("1787667533297084980", new IfMC(i++));
    imcMethods.put("5002485985634204064", new IfMC(i++));
    imcMethods.put("3239569521490198040", new IfMC(i++));
    imcMethods.put("4101476690146989261", new IfMC(i++));
    imcMethods.put("6354776497085480788", new IfMC(i++));
    imcMethods.put("7001357232192368450", new IfMC(i++));
    imcMethods.put("7300774466309442727", new IfMC(i++));
    imcMethods.put("5931473261454729298", new IfMC(i++));
  }
  @NotNull
  @Override
  public IfMacroCondition getIfMacroCondition(@NotNull QueryKey identity) {
    IfMacroCondition query = identity.forTemplateNode(imcMethods);
    return (query != null ? query : super.getIfMacroCondition(identity));
  }
  private static class IfMC implements IfMacroCondition {
    private final int methodKey;
    public IfMC(int methodKey) {
      this.methodKey = methodKey;
    }
    @Override
    public boolean check(@NotNull IfMacroContext ctx) throws GenerationFailureException {
      switch (methodKey) {
        case 0:
          return QueriesGenerated.ifMacro_Condition_0_0(ctx);
        case 1:
          return QueriesGenerated.ifMacro_Condition_0_1(ctx);
        case 2:
          return QueriesGenerated.ifMacro_Condition_0_2(ctx);
        case 3:
          return QueriesGenerated.ifMacro_Condition_0_3(ctx);
        case 4:
          return QueriesGenerated.ifMacro_Condition_0_4(ctx);
        case 5:
          return QueriesGenerated.ifMacro_Condition_0_5(ctx);
        case 6:
          return QueriesGenerated.ifMacro_Condition_0_6(ctx);
        case 7:
          return QueriesGenerated.ifMacro_Condition_2_0(ctx);
        case 8:
          return QueriesGenerated.ifMacro_Condition_2_1(ctx);
        case 9:
          return QueriesGenerated.ifMacro_Condition_2_2(ctx);
        case 10:
          return QueriesGenerated.ifMacro_Condition_3_0(ctx);
        case 11:
          return QueriesGenerated.ifMacro_Condition_3_1(ctx);
        case 12:
          return QueriesGenerated.ifMacro_Condition_3_2(ctx);
        case 13:
          return QueriesGenerated.ifMacro_Condition_3_3(ctx);
        case 14:
          return QueriesGenerated.ifMacro_Condition_4_0(ctx);
        case 15:
          return QueriesGenerated.ifMacro_Condition_7_0(ctx);
        case 16:
          return QueriesGenerated.ifMacro_Condition_7_1(ctx);
        case 17:
          return QueriesGenerated.ifMacro_Condition_7_2(ctx);
        case 18:
          return QueriesGenerated.ifMacro_Condition_7_3(ctx);
        case 19:
          return QueriesGenerated.ifMacro_Condition_8_0(ctx);
        case 20:
          return QueriesGenerated.ifMacro_Condition_8_1(ctx);
        case 21:
          return QueriesGenerated.ifMacro_Condition_8_2(ctx);
        case 22:
          return QueriesGenerated.ifMacro_Condition_8_3(ctx);
        case 23:
          return QueriesGenerated.ifMacro_Condition_8_4(ctx);
        case 24:
          return QueriesGenerated.ifMacro_Condition_8_5(ctx);
        case 25:
          return QueriesGenerated.ifMacro_Condition_8_6(ctx);
        case 26:
          return QueriesGenerated.ifMacro_Condition_8_7(ctx);
        case 27:
          return QueriesGenerated.ifMacro_Condition_8_8(ctx);
        case 28:
          return QueriesGenerated.ifMacro_Condition_8_9(ctx);
        case 29:
          return QueriesGenerated.ifMacro_Condition_8_10(ctx);
        case 30:
          return QueriesGenerated.ifMacro_Condition_8_11(ctx);
        case 31:
          return QueriesGenerated.ifMacro_Condition_8_12(ctx);
        case 32:
          return QueriesGenerated.ifMacro_Condition_8_13(ctx);
        case 33:
          return QueriesGenerated.ifMacro_Condition_8_14(ctx);
        case 34:
          return QueriesGenerated.ifMacro_Condition_8_15(ctx);
        case 35:
          return QueriesGenerated.ifMacro_Condition_8_16(ctx);
        case 36:
          return QueriesGenerated.ifMacro_Condition_8_17(ctx);
        case 37:
          return QueriesGenerated.ifMacro_Condition_8_18(ctx);
        case 38:
          return QueriesGenerated.ifMacro_Condition_8_19(ctx);
        case 39:
          return QueriesGenerated.ifMacro_Condition_8_20(ctx);
        case 40:
          return QueriesGenerated.ifMacro_Condition_8_21(ctx);
        case 41:
          return QueriesGenerated.ifMacro_Condition_8_22(ctx);
        case 42:
          return QueriesGenerated.ifMacro_Condition_8_23(ctx);
        case 43:
          return QueriesGenerated.ifMacro_Condition_8_24(ctx);
        case 44:
          return QueriesGenerated.ifMacro_Condition_8_25(ctx);
        case 45:
          return QueriesGenerated.ifMacro_Condition_8_26(ctx);
        case 46:
          return QueriesGenerated.ifMacro_Condition_8_27(ctx);
        case 47:
          return QueriesGenerated.ifMacro_Condition_8_28(ctx);
        case 48:
          return QueriesGenerated.ifMacro_Condition_8_29(ctx);
        case 49:
          return QueriesGenerated.ifMacro_Condition_8_30(ctx);
        case 50:
          return QueriesGenerated.ifMacro_Condition_8_31(ctx);
        case 51:
          return QueriesGenerated.ifMacro_Condition_8_32(ctx);
        case 52:
          return QueriesGenerated.ifMacro_Condition_8_33(ctx);
        case 53:
          return QueriesGenerated.ifMacro_Condition_8_34(ctx);
        case 54:
          return QueriesGenerated.ifMacro_Condition_8_35(ctx);
        case 55:
          return QueriesGenerated.ifMacro_Condition_8_36(ctx);
        case 56:
          return QueriesGenerated.ifMacro_Condition_8_37(ctx);
        case 57:
          return QueriesGenerated.ifMacro_Condition_8_38(ctx);
        case 58:
          return QueriesGenerated.ifMacro_Condition_9_0(ctx);
        case 59:
          return QueriesGenerated.ifMacro_Condition_9_1(ctx);
        case 60:
          return QueriesGenerated.ifMacro_Condition_9_2(ctx);
        case 61:
          return QueriesGenerated.ifMacro_Condition_9_3(ctx);
        case 62:
          return QueriesGenerated.ifMacro_Condition_10_0(ctx);
        case 63:
          return QueriesGenerated.ifMacro_Condition_10_1(ctx);
        case 64:
          return QueriesGenerated.ifMacro_Condition_10_2(ctx);
        case 65:
          return QueriesGenerated.ifMacro_Condition_10_3(ctx);
        case 66:
          return QueriesGenerated.ifMacro_Condition_10_4(ctx);
        case 67:
          return QueriesGenerated.ifMacro_Condition_10_5(ctx);
        case 68:
          return QueriesGenerated.ifMacro_Condition_10_6(ctx);
        case 69:
          return QueriesGenerated.ifMacro_Condition_10_7(ctx);
        case 70:
          return QueriesGenerated.ifMacro_Condition_10_8(ctx);
        case 71:
          return QueriesGenerated.ifMacro_Condition_10_9(ctx);
        case 72:
          return QueriesGenerated.ifMacro_Condition_10_10(ctx);
        case 73:
          return QueriesGenerated.ifMacro_Condition_10_11(ctx);
        case 74:
          return QueriesGenerated.ifMacro_Condition_10_12(ctx);
        case 75:
          return QueriesGenerated.ifMacro_Condition_10_13(ctx);
        case 76:
          return QueriesGenerated.ifMacro_Condition_17_0(ctx);
        case 77:
          return QueriesGenerated.ifMacro_Condition_17_1(ctx);
        case 78:
          return QueriesGenerated.ifMacro_Condition_19_0(ctx);
        default:
          throw new GenerationFailureException(String.format("Inconsistent QueriesGenerated: there's no condition method for if macro %s (key: #%d)", ctx.getTemplateReference(), methodKey));
      }
    }
  }
  private final Map<String, InlineSwitchCaseCondition> isccMethods = new HashMap<String, InlineSwitchCaseCondition>();
  {
    int i = 0;
    isccMethods.put("1500819558096430319", new ISCC(i++));
    isccMethods.put("3570488090011334546", new ISCC(i++));
    isccMethods.put("1238980147630114159", new ISCC(i++));
    isccMethods.put("6136186284559394575", new ISCC(i++));
    isccMethods.put("4912951749633403033", new ISCC(i++));
    isccMethods.put("4912951749633403526", new ISCC(i++));
    isccMethods.put("8065469100328132896", new ISCC(i++));
  }
  @NotNull
  @Override
  public InlineSwitchCaseCondition getInlineSwitchCaseCondition(@NotNull QueryKey identity) {
    InlineSwitchCaseCondition query = identity.forTemplateNode(isccMethods);
    return (query != null ? query : super.getInlineSwitchCaseCondition(identity));
  }
  private static class ISCC implements InlineSwitchCaseCondition {
    private final int methodKey;
    public ISCC(int methodKey) {
      this.methodKey = methodKey;
    }
    @Override
    public boolean check(@NotNull InlineSwitchCaseContext ctx) throws GenerationFailureException {
      switch (methodKey) {
        case 0:
          return QueriesGenerated.rule_Condition_0_2(ctx);
        case 1:
          return QueriesGenerated.rule_Condition_0_5(ctx);
        case 2:
          return QueriesGenerated.rule_Condition_7_0(ctx);
        case 3:
          return QueriesGenerated.rule_Condition_7_1(ctx);
        case 4:
          return QueriesGenerated.rule_Condition_13_0(ctx);
        case 5:
          return QueriesGenerated.rule_Condition_13_1(ctx);
        case 6:
          return QueriesGenerated.rule_Condition_18_0(ctx);
        default:
          throw new GenerationFailureException(String.format("Inconsistent QueriesGenerated: there's no condition method for inline switch's case %s (key: #%d)", ctx.getTemplateReference(), methodKey));
      }
    }
  }
  private final Map<String, ReferenceTargetQuery> rtqMethods = new HashMap<String, ReferenceTargetQuery>();
  {
    rtqMethods.put("7259033139236507286", new RTQ(0, "temp"));
    rtqMethods.put("202934866058978110", new RTQ(1, "aaa.jar"));
    rtqMethods.put("2591537044436106597", new RTQ(2, "aaa"));
    rtqMethods.put("9200313594511245340", new RTQ(3, "aaa"));
    rtqMethods.put("1517654889523632482", new RTQ(4, "aaa"));
    rtqMethods.put("8252715012761547083", new RTQ(5, "temp3"));
    rtqMethods.put("7753763219109706781", new RTQ(6, "aaa"));
    rtqMethods.put("4031822141866301981", new RTQ(7, null));
    rtqMethods.put("3389822811994148415", new RTQ(8, "aaa"));
    rtqMethods.put("3570488090022006408", new RTQ(9, "aaa"));
    rtqMethods.put("4912951749633427588", new RTQ(10, null));
    rtqMethods.put("4912951749633454964", new RTQ(11, ""));
    rtqMethods.put("763829979705940623", new RTQ(12, "s"));
    rtqMethods.put("8065469100328125704", new RTQ(13, "aaa"));
    rtqMethods.put("8065469100328125760", new RTQ(14, "aaa"));
    rtqMethods.put("3535927011723235443", new RTQ(15, null));
    rtqMethods.put("884473973751152856", new RTQ(16, null));
  }
  @NotNull
  @Override
  public ReferenceTargetQuery getReferenceTargetQuery(@NotNull QueryKey queryKey) {
    ReferenceTargetQuery query = queryKey.forTemplateNode(rtqMethods);
    return (query != null ? query : super.getReferenceTargetQuery(queryKey));
  }
  private static class RTQ extends ReferenceTargetQuery.Base {
    private final int methodKey;
    /*package*/ RTQ(int methodKey, String templateValue) {
      super(templateValue);
      this.methodKey = methodKey;
    }
    @Nullable
    public Object evaluate(@NotNull ReferenceMacroContext ctx) throws GenerationFailureException {
      switch (methodKey) {
        case 0:
          return QueriesGenerated.referenceMacro_GetReferent_0_0(ctx);
        case 1:
          return QueriesGenerated.referenceMacro_GetReferent_0_1(ctx);
        case 2:
          return QueriesGenerated.referenceMacro_GetReferent_3_0(ctx);
        case 3:
          return QueriesGenerated.referenceMacro_GetReferent_3_1(ctx);
        case 4:
          return QueriesGenerated.referenceMacro_GetReferent_3_2(ctx);
        case 5:
          return QueriesGenerated.referenceMacro_GetReferent_4_0(ctx);
        case 6:
          return QueriesGenerated.referenceMacro_GetReferent_7_0(ctx);
        case 7:
          return QueriesGenerated.referenceMacro_GetReferent_7_1(ctx);
        case 8:
          return QueriesGenerated.referenceMacro_GetReferent_12_0(ctx);
        case 9:
          return QueriesGenerated.referenceMacro_GetReferent_12_1(ctx);
        case 10:
          return QueriesGenerated.referenceMacro_GetReferent_13_0(ctx);
        case 11:
          return QueriesGenerated.referenceMacro_GetReferent_13_1(ctx);
        case 12:
          return QueriesGenerated.referenceMacro_GetReferent_14_0(ctx);
        case 13:
          return QueriesGenerated.referenceMacro_GetReferent_18_0(ctx);
        case 14:
          return QueriesGenerated.referenceMacro_GetReferent_18_1(ctx);
        case 15:
          return QueriesGenerated.referenceMacro_GetReferent_21_0(ctx);
        case 16:
          return QueriesGenerated.referenceReduction_GetReferent_0_zu1o_a0(ctx);
        default:
          throw new GenerationFailureException(String.format("Inconsistent QueriesGenerated: there's no method for query %s (key: #%d)", ctx.getTemplateReference(), methodKey));
      }
    }
  }
  private final Map<String, VariableValueQuery> vvqMethods = new HashMap<String, VariableValueQuery>();
  {
    vvqMethods.put("2409421742521905574", new VVQ(0));
    vvqMethods.put("4567115369870200968", new VVQ(1));
    vvqMethods.put("4034100441902354106", new VVQ(2));
    vvqMethods.put("4034100441902341994", new VVQ(3));
    vvqMethods.put("4034100441902321122", new VVQ(4));
    vvqMethods.put("1362762974881123189", new VVQ(5));
    vvqMethods.put("2409421742521905590", new VVQ(6));
    vvqMethods.put("8137134783397647618", new VVQ(7));
    vvqMethods.put("2409421742521905593", new VVQ(8));
    vvqMethods.put("2409421742521905596", new VVQ(9));
    vvqMethods.put("4031822141866304303", new VVQ(10));
    vvqMethods.put("2409421742521905606", new VVQ(11));
    vvqMethods.put("2409421742521905610", new VVQ(12));
    vvqMethods.put("2409421742521905625", new VVQ(13));
    vvqMethods.put("5121314058278757759", new VVQ(14));
    vvqMethods.put("4438567763349653940", new VVQ(15));
    vvqMethods.put("1933226676407279753", new VVQ(16));
    vvqMethods.put("2409421742521905630", new VVQ(17));
    vvqMethods.put("2409421742521905633", new VVQ(18));
    vvqMethods.put("2409421742521905636", new VVQ(19));
    vvqMethods.put("2409421742521905640", new VVQ(20));
  }
  @NotNull
  @Override
  public VariableValueQuery getVariableValueQuery(@NotNull QueryKey queryKey) {
    VariableValueQuery query = queryKey.forTemplateNode(vvqMethods);
    return (query != null ? query : super.getVariableValueQuery(queryKey));
  }
  private static class VVQ implements VariableValueQuery {
    private final int methodKey;
    /*package*/ VVQ(int methodKey) {
      this.methodKey = methodKey;
    }
    @Nullable
    public Object evaluate(@NotNull TemplateVarContext ctx) throws GenerationFailureException {
      switch (methodKey) {
        case 0:
          return QueriesGenerated.varMacro_Value_0_0(ctx);
        case 1:
          return QueriesGenerated.varMacro_Value_0_1(ctx);
        case 2:
          return QueriesGenerated.varMacro_Value_0_2(ctx);
        case 3:
          return QueriesGenerated.varMacro_Value_0_3(ctx);
        case 4:
          return QueriesGenerated.varMacro_Value_0_4(ctx);
        case 5:
          return QueriesGenerated.varMacro_Value_0_5(ctx);
        case 6:
          return QueriesGenerated.varMacro_Value_2_0(ctx);
        case 7:
          return QueriesGenerated.varMacro_Value_2_1(ctx);
        case 8:
          return QueriesGenerated.varMacro_Value_3_0(ctx);
        case 9:
          return QueriesGenerated.varMacro_Value_6_0(ctx);
        case 10:
          return QueriesGenerated.varMacro_Value_7_0(ctx);
        case 11:
          return QueriesGenerated.varMacro_Value_10_0(ctx);
        case 12:
          return QueriesGenerated.varMacro_Value_10_1(ctx);
        case 13:
          return QueriesGenerated.varMacro_Value_10_2(ctx);
        case 14:
          return QueriesGenerated.varMacro_Value_10_3(ctx);
        case 15:
          return QueriesGenerated.varMacro_Value_10_4(ctx);
        case 16:
          return QueriesGenerated.varMacro_Value_10_5(ctx);
        case 17:
          return QueriesGenerated.varMacro_Value_10_6(ctx);
        case 18:
          return QueriesGenerated.varMacro_Value_10_7(ctx);
        case 19:
          return QueriesGenerated.varMacro_Value_10_8(ctx);
        case 20:
          return QueriesGenerated.varMacro_Value_10_9(ctx);
        default:
          throw new GenerationFailureException(String.format("Inconsistent QueriesGenerated: there's no method for query %s (key: #%d)", ctx.getTemplateReference(), methodKey));
      }
    }
  }
  private final Map<String, CallArgumentQuery> caqMethods = new HashMap<String, CallArgumentQuery>();
  {
    caqMethods.put("7753544965996903194", new CAQ(0));
    caqMethods.put("8252715012761560442", new CAQ(1));
    caqMethods.put("4964617264469629189", new CAQ(2));
    caqMethods.put("4676212293436886238", new CAQ(3));
    caqMethods.put("4031822141870046784", new CAQ(4));
    caqMethods.put("763829979706275425", new CAQ(5));
    caqMethods.put("1241280061045711831", new CAQ(6));
    caqMethods.put("8062866996715238024", new CAQ(7));
    caqMethods.put("1241280061045633251", new CAQ(8));
    caqMethods.put("1241280061045812456", new CAQ(9));
    caqMethods.put("1241280061045812468", new CAQ(10));
    caqMethods.put("1241280061045812484", new CAQ(11));
    caqMethods.put("1241280061045657510", new CAQ(12));
    caqMethods.put("763829979706157118", new CAQ(13));
    caqMethods.put("1241280061045610327", new CAQ(14));
    caqMethods.put("1241280061045658611", new CAQ(15));
    caqMethods.put("6136186284559414533", new CAQ(16));
    caqMethods.put("4031822141870040830", new CAQ(17));
    caqMethods.put("1241280061046504134", new CAQ(18));
    caqMethods.put("4912951749633721708", new CAQ(19));
    caqMethods.put("4912951749633723518", new CAQ(20));
  }
  @NotNull
  @Override
  public CallArgumentQuery getTemplateCallArgumentQuery(@NotNull QueryKey queryKey) {
    CallArgumentQuery query = queryKey.forTemplateNode(caqMethods);
    return (query != null ? query : super.getTemplateCallArgumentQuery(queryKey));
  }
  private static class CAQ implements CallArgumentQuery {
    private final int methodKey;
    /*package*/ CAQ(int methodKey) {
      this.methodKey = methodKey;
    }
    @Nullable
    public Object evaluate(@NotNull TemplateArgumentContext ctx) throws GenerationFailureException {
      switch (methodKey) {
        case 0:
          return QueriesGenerated.templateArgumentQuery_7_0(ctx);
        case 1:
          return QueriesGenerated.templateArgumentQuery_0_0(ctx);
        case 2:
          return QueriesGenerated.templateArgumentQuery_0_1(ctx);
        case 3:
          return QueriesGenerated.templateArgumentQuery_0_2(ctx);
        case 4:
          return QueriesGenerated.templateArgumentQuery_0_3(ctx);
        case 5:
          return QueriesGenerated.templateArgumentQuery_3_0(ctx);
        case 6:
          return QueriesGenerated.templateArgumentQuery_3_1(ctx);
        case 7:
          return QueriesGenerated.templateArgumentQuery_3_2(ctx);
        case 8:
          return QueriesGenerated.templateArgumentQuery_3_3(ctx);
        case 9:
          return QueriesGenerated.templateArgumentQuery_3_4(ctx);
        case 10:
          return QueriesGenerated.templateArgumentQuery_3_5(ctx);
        case 11:
          return QueriesGenerated.templateArgumentQuery_3_6(ctx);
        case 12:
          return QueriesGenerated.templateArgumentQuery_7_1(ctx);
        case 13:
          return QueriesGenerated.templateArgumentQuery_7_2(ctx);
        case 14:
          return QueriesGenerated.templateArgumentQuery_7_3(ctx);
        case 15:
          return QueriesGenerated.templateArgumentQuery_7_4(ctx);
        case 16:
          return QueriesGenerated.templateArgumentQuery_7_5(ctx);
        case 17:
          return QueriesGenerated.templateArgumentQuery_0_4(ctx);
        case 18:
          return QueriesGenerated.templateArgumentQuery_7_6(ctx);
        case 19:
          return QueriesGenerated.templateArgumentQuery_6_0(ctx);
        case 20:
          return QueriesGenerated.templateArgumentQuery_6_1(ctx);
        default:
          throw new GenerationFailureException(String.format("Inconsistent QueriesGenerated: there's no method for query %s (key: #%d)", ctx.getTemplateReference(), methodKey));
      }
    }
  }
  private final Map<String, MapPostProcessor> mppMethods = new HashMap<String, MapPostProcessor>();
  {
    mppMethods.put("687702229766712927", new PPQ(0));
    mppMethods.put("687702229768150158", new PPQ(1));
    mppMethods.put("3747750384908358182", new PPQ(2));
    mppMethods.put("4031822141866335512", new PPQ(3));
  }
  @NotNull
  @Override
  public MapPostProcessor getMapPostProcessor(@NotNull QueryKey queryKey) {
    MapPostProcessor query = queryKey.forTemplateNode(mppMethods);
    return (query != null ? query : super.getMapPostProcessor(queryKey));
  }
  private static class PPQ implements MapPostProcessor {
    private final int methodKey;
    /*package*/ PPQ(int methodKey) {
      this.methodKey = methodKey;
    }
    public void invoke(@NotNull MapSrcMacroPostProcContext ctx) throws GenerationFailureException {
      switch (methodKey) {
        case 0:
          QueriesGenerated.mapSrcMacro_post_0_0(ctx);
          return;
        case 1:
          QueriesGenerated.mapSrcMacro_post_0_1(ctx);
          return;
        case 2:
          QueriesGenerated.mapSrcMacro_post_0_2(ctx);
          return;
        case 3:
          QueriesGenerated.mapSrcMacro_post_7_0(ctx);
          return;
        default:
          throw new GenerationFailureException(String.format("Inconsistent QueriesGenerated: there's no method for query %s (key: #%d)", ctx.getTemplateReference(), methodKey));
      }
    }
  }
  private static SNode createGeneratorInternal_String_x583g4_a0a0a0e0ln(String p0) {
    SNodeBuilder n0 = new SNodeBuilder().init(CONCEPTS.GeneratorInternal_String$CC);
    n0.setProperty(PROPS.path$oN2q, p0);
    return n0.getResult();
  }
  private static SNode createGeneratorInternal_String_x583g4_a0a0a0a0un(String p0) {
    SNodeBuilder n0 = new SNodeBuilder().init(CONCEPTS.GeneratorInternal_String$CC);
    n0.setProperty(PROPS.path$oN2q, p0);
    return n0.getResult();
  }
  private static SNode createGeneratorInternal_ProjectDependency_x583g4_a0a0a0a1a793(String p0, SNode p1) {
    SNodeBuilder n0 = new SNodeBuilder().init(CONCEPTS.GeneratorInternal_ProjectDependency$bb);
    n0.setProperty(PROPS.path$URGX, p0);
    n0.setReferenceTarget(LINKS.project$ciHu, p1);
    return n0.getResult();
  }
  private static boolean isNotEmptyString(String str) {
    return str != null && str.length() > 0;
  }
  private static boolean isEmptyString(String str) {
    return str == null || str.isEmpty();
  }

  private static final class LINKS {
    /*package*/ static final SReferenceLink module$qsl4 = MetaAdapterFactory.getReferenceLink(0x798100da4f0a421aL, 0xb99171f8c50ce5d2L, 0x23f6fd361bdcfd24L, 0x23f6fd361bdcfd26L, "module");
    /*package*/ static final SContainmentLink children$aMRO = MetaAdapterFactory.getContainmentLink(0x798100da4f0a421aL, 0xb99171f8c50ce5d2L, 0x4140393b234482c3L, 0x668c6cfbafac4c8eL, "children");
    /*package*/ static final SReferenceLink plugin$ZarS = MetaAdapterFactory.getReferenceLink(0xcf935df46994e9cL, 0xa132fa109541cba3L, 0x5b7be37b4dee437cL, 0x5b7be37b4dee437dL, "plugin");
    /*package*/ static final SReferenceLink module$iRYT = MetaAdapterFactory.getReferenceLink(0xcf935df46994e9cL, 0xa132fa109541cba3L, 0x11918e0f209b83e7L, 0x11918e0f209b83e9L, "module");
    /*package*/ static final SContainmentLink sources$mT1j = MetaAdapterFactory.getContainmentLink(0xcf935df46994e9cL, 0xa132fa109541cba3L, 0x48e82d508331930cL, 0x48e82d5083341d31L, "sources");
    /*package*/ static final SReferenceLink element$PGip = MetaAdapterFactory.getReferenceLink(0x798100da4f0a421aL, 0xb99171f8c50ce5d2L, 0x6b9a2011083f9404L, 0x6b9a2011083f9406L, "element");
    /*package*/ static final SContainmentLink packagingType$WOvS = MetaAdapterFactory.getContainmentLink(0xcf935df46994e9cL, 0xa132fa109541cba3L, 0x5b7be37b4de9bb6eL, 0x318cec002865ade0L, "packagingType");
    /*package*/ static final SContainmentLink plugins$AsCR = MetaAdapterFactory.getContainmentLink(0x798100da4f0a421aL, 0xb99171f8c50ce5d2L, 0x4df58c6f18f84a13L, 0x5c3f3e2c1ce9ac70L, "plugins");
    /*package*/ static final SReferenceLink module$zG3S = MetaAdapterFactory.getReferenceLink(0xcf935df46994e9cL, 0xa132fa109541cba3L, 0x177c2feaf3463710L, 0x177c2feaf3463711L, "module");
    /*package*/ static final SReferenceLink module$yKRo = MetaAdapterFactory.getReferenceLink(0xcf935df46994e9cL, 0xa132fa109541cba3L, 0x6a3e160a3efe6274L, 0x6a3e160a3efe6275L, "module");
    /*package*/ static final SContainmentLink jarLocations$3SqA = MetaAdapterFactory.getContainmentLink(0xcf935df46994e9cL, 0xa132fa109541cba3L, 0x6a3e160a3efe6274L, 0x3c765492deb1ce79L, "jarLocations");
    /*package*/ static final SContainmentLink path$t1zS = MetaAdapterFactory.getContainmentLink(0xcf935df46994e9cL, 0xa132fa109541cba3L, 0x3c765492deb1a384L, 0x3c765492deb1a385L, "path");
    /*package*/ static final SContainmentLink sourcesJarLocation$dEUE = MetaAdapterFactory.getContainmentLink(0xcf935df46994e9cL, 0xa132fa109541cba3L, 0x6a3e160a3efe6274L, 0x707952bffb692f6L, "sourcesJarLocation");
    /*package*/ static final SContainmentLink sourceDescriptorFile$k5dl = MetaAdapterFactory.getContainmentLink(0xcf935df46994e9cL, 0xa132fa109541cba3L, 0x6a3e160a3efe6274L, 0x67c5a3b7c82af3d6L, "sourceDescriptorFile");
    /*package*/ static final SReferenceLink plugin$9ewC = MetaAdapterFactory.getReferenceLink(0xcf935df46994e9cL, 0xa132fa109541cba3L, 0x5b7be37b4de9bb6eL, 0x5b7be37b4dee5919L, "plugin");
    /*package*/ static final SContainmentLink containerName$xQbG = MetaAdapterFactory.getContainmentLink(0xcf935df46994e9cL, 0xa132fa109541cba3L, 0x5b7be37b4de9bb74L, 0x5b7be37b4def2c96L, "containerName");
    /*package*/ static final SReferenceLink sourceLanguage$A51U = MetaAdapterFactory.getReferenceLink(0xcf935df46994e9cL, 0xa132fa109541cba3L, 0x4c6db07d2e56a8b4L, 0xc0f2d501dbb734cL, "sourceLanguage");
    /*package*/ static final SContainmentLink codename$fDyC = MetaAdapterFactory.getContainmentLink(0xcf935df46994e9cL, 0xa132fa109541cba3L, 0x6b9a2011083b778dL, 0x308857b584c76f03L, "codename");
    /*package*/ static final SContainmentLink updateWebsite$3wnJ = MetaAdapterFactory.getContainmentLink(0xcf935df46994e9cL, 0xa132fa109541cba3L, 0x6b9a2011083b778dL, 0x54c4eb89feb19dcdL, "updateWebsite");
    /*package*/ static final SContainmentLink updateChannel$4EXl = MetaAdapterFactory.getContainmentLink(0xcf935df46994e9cL, 0xa132fa109541cba3L, 0x6b9a2011083d2d07L, 0x7a0ffb6a57a037f3L, "updateChannel");
    /*package*/ static final SContainmentLink company$8fEj = MetaAdapterFactory.getContainmentLink(0xcf935df46994e9cL, 0xa132fa109541cba3L, 0x6b9a2011083b778dL, 0xad72aee24ac230dL, "company");
    /*package*/ static final SContainmentLink name$a7Qw = MetaAdapterFactory.getContainmentLink(0xcf935df46994e9cL, 0xa132fa109541cba3L, 0xad72aee24ac03d8L, 0xad72aee24ac03e1L, "name");
    /*package*/ static final SContainmentLink url$a85x = MetaAdapterFactory.getContainmentLink(0xcf935df46994e9cL, 0xa132fa109541cba3L, 0xad72aee24ac03d8L, 0xad72aee24ac03e2L, "url");
    /*package*/ static final SContainmentLink copyrightStar$1Ma6 = MetaAdapterFactory.getContainmentLink(0xcf935df46994e9cL, 0xa132fa109541cba3L, 0xad72aee24ac03d8L, 0x20b13992ef6a5dd2L, "copyrightStar");
    /*package*/ static final SContainmentLink buildNumber$9UFJ = MetaAdapterFactory.getContainmentLink(0xcf935df46994e9cL, 0xa132fa109541cba3L, 0x6b9a2011083b778dL, 0x54c4eb89feb00019L, "buildNumber");
    /*package*/ static final SContainmentLink buildDate$1vkb = MetaAdapterFactory.getContainmentLink(0xcf935df46994e9cL, 0xa132fa109541cba3L, 0x6b9a2011083b778dL, 0x144b26ad23d8bd88L, "buildDate");
    /*package*/ static final SContainmentLink splashScreen$4jyW = MetaAdapterFactory.getContainmentLink(0xcf935df46994e9cL, 0xa132fa109541cba3L, 0x6b9a2011083b778dL, 0x54c4eb89feaf4b14L, "splashScreen");
    /*package*/ static final SContainmentLink textColor$76zz = MetaAdapterFactory.getContainmentLink(0xcf935df46994e9cL, 0xa132fa109541cba3L, 0x6b9a2011083b778dL, 0x7a0ffb6a57a27969L, "textColor");
    /*package*/ static final SContainmentLink progressColor$8Lc8 = MetaAdapterFactory.getContainmentLink(0xcf935df46994e9cL, 0xa132fa109541cba3L, 0x6b9a2011083b778dL, 0x5efec015d9b80624L, "progressColor");
    /*package*/ static final SContainmentLink progressY$qdNT = MetaAdapterFactory.getContainmentLink(0xcf935df46994e9cL, 0xa132fa109541cba3L, 0x6b9a2011083b778dL, 0x5efec015d9b8abc5L, "progressY");
    /*package*/ static final SContainmentLink progressHeight$ooGq = MetaAdapterFactory.getContainmentLink(0xcf935df46994e9cL, 0xa132fa109541cba3L, 0x6b9a2011083b778dL, 0x6e805e55feeab57eL, "progressHeight");
    /*package*/ static final SContainmentLink aboutScreen$4jLX = MetaAdapterFactory.getContainmentLink(0xcf935df46994e9cL, 0xa132fa109541cba3L, 0x6b9a2011083b778dL, 0x54c4eb89feaf4b15L, "aboutScreen");
    /*package*/ static final SContainmentLink foreground$u03D = MetaAdapterFactory.getContainmentLink(0xcf935df46994e9cL, 0xa132fa109541cba3L, 0x6b9a2011083b778dL, 0xf0bb91cffec5bf7L, "foreground");
    /*package*/ static final SContainmentLink copyrightForeground$QIKr = MetaAdapterFactory.getContainmentLink(0xcf935df46994e9cL, 0xa132fa109541cba3L, 0x6b9a2011083b778dL, 0xf0bb91cffecbf35L, "copyrightForeground");
    /*package*/ static final SContainmentLink linkColor$RaFi = MetaAdapterFactory.getContainmentLink(0xcf935df46994e9cL, 0xa132fa109541cba3L, 0x6b9a2011083b778dL, 0xf0bb91cffecbf58L, "linkColor");
    /*package*/ static final SContainmentLink logoX$i$vI = MetaAdapterFactory.getContainmentLink(0xcf935df46994e9cL, 0xa132fa109541cba3L, 0x6b9a2011083b778dL, 0xf0bb91cffed32b3L, "logoX");
    /*package*/ static final SContainmentLink logoY$lpBM = MetaAdapterFactory.getContainmentLink(0xcf935df46994e9cL, 0xa132fa109541cba3L, 0x6b9a2011083b778dL, 0xf0bb91cffed32d8L, "logoY");
    /*package*/ static final SContainmentLink logoW$p3jm = MetaAdapterFactory.getContainmentLink(0xcf935df46994e9cL, 0xa132fa109541cba3L, 0x6b9a2011083b778dL, 0xf0bb91cffed334aL, "logoW");
    /*package*/ static final SContainmentLink logoH$pwah = MetaAdapterFactory.getContainmentLink(0xcf935df46994e9cL, 0xa132fa109541cba3L, 0x6b9a2011083b778dL, 0xf0bb91cffed3371L, "logoH");
    /*package*/ static final SContainmentLink icon$bVaC = MetaAdapterFactory.getContainmentLink(0xcf935df46994e9cL, 0xa132fa109541cba3L, 0x6b9a2011083b778dL, 0x5efec015d9b7cdc4L, "icon");
    /*package*/ static final SContainmentLink svg$AjjI = MetaAdapterFactory.getContainmentLink(0xcf935df46994e9cL, 0xa132fa109541cba3L, 0x6b9a2011083b778dL, 0xdeaddd516af82eL, "svg");
    /*package*/ static final SContainmentLink svg_small$ASoc = MetaAdapterFactory.getContainmentLink(0xcf935df46994e9cL, 0xa132fa109541cba3L, 0x6b9a2011083b778dL, 0xdeaddd516af863L, "svg_small");
    /*package*/ static final SContainmentLink icon32$9UUK = MetaAdapterFactory.getContainmentLink(0xcf935df46994e9cL, 0xa132fa109541cba3L, 0x6b9a2011083b778dL, 0x54c4eb89feb0001aL, "icon32");
    /*package*/ static final SContainmentLink icon16$9V9L = MetaAdapterFactory.getContainmentLink(0xcf935df46994e9cL, 0xa132fa109541cba3L, 0x6b9a2011083b778dL, 0x54c4eb89feb0001bL, "icon16");
    /*package*/ static final SContainmentLink icon128$$$91 = MetaAdapterFactory.getContainmentLink(0xcf935df46994e9cL, 0xa132fa109541cba3L, 0x6b9a2011083b778dL, 0xad72aee24a9cbfeL, "icon128");
    /*package*/ static final SContainmentLink product$RfQu = MetaAdapterFactory.getContainmentLink(0xcf935df46994e9cL, 0xa132fa109541cba3L, 0x6b9a2011083b778dL, 0x54c4eb89feb230afL, "product");
    /*package*/ static final SContainmentLink fullName$Rg5v = MetaAdapterFactory.getContainmentLink(0xcf935df46994e9cL, 0xa132fa109541cba3L, 0x6b9a2011083b778dL, 0x54c4eb89feb230b0L, "fullName");
    /*package*/ static final SContainmentLink script$MlVT = MetaAdapterFactory.getContainmentLink(0xcf935df46994e9cL, 0xa132fa109541cba3L, 0x6b9a2011083b778dL, 0xccf01929cb3b53bL, "script");
    /*package*/ static final SContainmentLink welcomeLogo$kmjM = MetaAdapterFactory.getContainmentLink(0xcf935df46994e9cL, 0xa132fa109541cba3L, 0x6b9a2011083b778dL, 0xab80b14d5f245eeL, "welcomeLogo");
    /*package*/ static final SContainmentLink plugins$RpD = MetaAdapterFactory.getContainmentLink(0xcf935df46994e9cL, 0xa132fa109541cba3L, 0x6b9a2011083b778dL, 0xad72aee24a9cf29L, "plugins");
    /*package*/ static final SContainmentLink checkUrl$L5Io = MetaAdapterFactory.getContainmentLink(0xcf935df46994e9cL, 0xa132fa109541cba3L, 0x6b9a2011083d2d07L, 0x54c4eb89feb19db8L, "checkUrl");
    /*package*/ static final SContainmentLink updateUrl$L5Xp = MetaAdapterFactory.getContainmentLink(0xcf935df46994e9cL, 0xa132fa109541cba3L, 0x6b9a2011083d2d07L, 0x54c4eb89feb19db9L, "updateUrl");
    /*package*/ static final SContainmentLink help$pHDr = MetaAdapterFactory.getContainmentLink(0xcf935df46994e9cL, 0xa132fa109541cba3L, 0x6b9a2011083b778dL, 0x611c17467fa8199L, "help");
    /*package*/ static final SContainmentLink file$7xzx = MetaAdapterFactory.getContainmentLink(0xcf935df46994e9cL, 0xa132fa109541cba3L, 0x6b9a2011083d2d08L, 0x611c17467fa8198L, "file");
    /*package*/ static final SContainmentLink root$7xkw = MetaAdapterFactory.getContainmentLink(0xcf935df46994e9cL, 0xa132fa109541cba3L, 0x6b9a2011083d2d08L, 0x611c17467fa8197L, "root");
    /*package*/ static final SContainmentLink url$7x5v = MetaAdapterFactory.getContainmentLink(0xcf935df46994e9cL, 0xa132fa109541cba3L, 0x6b9a2011083d2d08L, 0x611c17467fa8196L, "url");
    /*package*/ static final SContainmentLink documentation$2S7O = MetaAdapterFactory.getContainmentLink(0xcf935df46994e9cL, 0xa132fa109541cba3L, 0x6b9a2011083b778dL, 0x51cd30ffb57480b2L, "documentation");
    /*package*/ static final SContainmentLink support$ZnCU = MetaAdapterFactory.getContainmentLink(0xcf935df46994e9cL, 0xa132fa109541cba3L, 0x6b9a2011083b778dL, 0x51cd30ffb57a2995L, "support");
    /*package*/ static final SContainmentLink feedbackUrl$D0L$ = MetaAdapterFactory.getContainmentLink(0xcf935df46994e9cL, 0xa132fa109541cba3L, 0x6b9a2011083b778dL, 0x7b3403bcc96cf3b6L, "feedbackUrl");
    /*package*/ static final SContainmentLink whatsnew$KhWO = MetaAdapterFactory.getContainmentLink(0xcf935df46994e9cL, 0xa132fa109541cba3L, 0x6b9a2011083b778dL, 0xad72aee24ac04a2L, "whatsnew");
    /*package*/ static final SContainmentLink keymap$i0Aq = MetaAdapterFactory.getContainmentLink(0xcf935df46994e9cL, 0xa132fa109541cba3L, 0x6b9a2011083b778dL, 0x51cd30ffb57f92b9L, "keymap");
    /*package*/ static final SContainmentLink win$Nzg = MetaAdapterFactory.getContainmentLink(0xcf935df46994e9cL, 0xa132fa109541cba3L, 0x51cd30ffb57f91cfL, 0x51cd30ffb57f91d3L, "win");
    /*package*/ static final SContainmentLink mac$OIl = MetaAdapterFactory.getContainmentLink(0xcf935df46994e9cL, 0xa132fa109541cba3L, 0x51cd30ffb57f91cfL, 0x51cd30ffb57f91d8L, "mac");
    /*package*/ static final SContainmentLink stats$rW6s = MetaAdapterFactory.getContainmentLink(0xcf935df46994e9cL, 0xa132fa109541cba3L, 0x6b9a2011083b778dL, 0xad72aee24acb24dL, "stats");
    /*package*/ static final SContainmentLink settings$OPOC = MetaAdapterFactory.getContainmentLink(0xcf935df46994e9cL, 0xa132fa109541cba3L, 0xad72aee24a9d06fL, 0xad72aee24aa1297L, "settings");
    /*package*/ static final SContainmentLink service$OQ3D = MetaAdapterFactory.getContainmentLink(0xcf935df46994e9cL, 0xa132fa109541cba3L, 0xad72aee24a9d06fL, 0xad72aee24aa1298L, "service");
    /*package*/ static final SContainmentLink name$9zxd = MetaAdapterFactory.getContainmentLink(0xcf935df46994e9cL, 0xa132fa109541cba3L, 0x5b7be37b4de9bb74L, 0x5b7be37b4de9bbcdL, "name");
    /*package*/ static final SContainmentLink description$YLU$ = MetaAdapterFactory.getContainmentLink(0xcf935df46994e9cL, 0xa132fa109541cba3L, 0x5b7be37b4de9bb74L, 0x1e274e75c23f88b2L, "description");
    /*package*/ static final SContainmentLink version$Waum = MetaAdapterFactory.getContainmentLink(0xcf935df46994e9cL, 0xa132fa109541cba3L, 0x5b7be37b4de9bb74L, 0x5b7be37b4de9bb73L, "version");
    /*package*/ static final SContainmentLink vendor$1XBo = MetaAdapterFactory.getContainmentLink(0xcf935df46994e9cL, 0xa132fa109541cba3L, 0x5b7be37b4de9bb74L, 0x6cb3984bfe5d2b86L, "vendor");
    /*package*/ static final SReferenceLink target$cxAi = MetaAdapterFactory.getReferenceLink(0xcf935df46994e9cL, 0xa132fa109541cba3L, 0x5b7be37b4de9bbd3L, 0x5b7be37b4de9bbfaL, "target");
    /*package*/ static final SContainmentLink parts$mGDj = MetaAdapterFactory.getContainmentLink(0x798100da4f0a421aL, 0xb99171f8c50ce5d2L, 0x4df58c6f18f84a13L, 0x668c6cfbafacf6f2L, "parts");
    /*package*/ static final SContainmentLink path$iYKB = MetaAdapterFactory.getContainmentLink(0xcf935df46994e9cL, 0xa132fa109541cba3L, 0x4780308f5d333ebL, 0x4780308f5d47f25L, "path");
    /*package*/ static final SContainmentLink aspects$6r0Q = MetaAdapterFactory.getContainmentLink(0x798100da4f0a421aL, 0xb99171f8c50ce5d2L, 0x4df58c6f18f84a13L, 0x31292e1a60db57afL, "aspects");
    /*package*/ static final SContainmentLink path$zL7z = MetaAdapterFactory.getContainmentLink(0x798100da4f0a421aL, 0xb99171f8c50ce5d2L, 0x1ff930b22643b0ffL, 0x1ff930b22643b100L, "path");
    /*package*/ static final SReferenceLink group$qLbS = MetaAdapterFactory.getReferenceLink(0xcf935df46994e9cL, 0xa132fa109541cba3L, 0x5b7be37b4deb1201L, 0x5b7be37b4deb1202L, "group");
    /*package*/ static final SContainmentLink path$oDlQ = MetaAdapterFactory.getContainmentLink(0xcf935df46994e9cL, 0xa132fa109541cba3L, 0x71731b16a22c0160L, 0x46ce9ed37ccc7d2cL, "path");
    /*package*/ static final SContainmentLink path$n1Fd = MetaAdapterFactory.getContainmentLink(0xcf935df46994e9cL, 0xa132fa109541cba3L, 0x71731b16a233b3c4L, 0x77af9abd5accf0caL, "path");
    /*package*/ static final SReferenceLink tips$MAEw = MetaAdapterFactory.getReferenceLink(0xcf935df46994e9cL, 0xa132fa109541cba3L, 0x5ea1926fded234efL, 0x65a11ce3e4101393L, "tips");
    /*package*/ static final SReferenceLink targetModule$4853 = MetaAdapterFactory.getReferenceLink(0x798100da4f0a421aL, 0xb99171f8c50ce5d2L, 0x44e5dd192e7c0c18L, 0x44e5dd192e7c0c19L, "targetModule");
    /*package*/ static final SReferenceLink targetFile$f8Q3 = MetaAdapterFactory.getReferenceLink(0x798100da4f0a421aL, 0xb99171f8c50ce5d2L, 0x44e5dd192e7c0d4aL, 0x44e5dd192e7c0d4bL, "targetFile");
    /*package*/ static final SReferenceLink target$ccfo = MetaAdapterFactory.getReferenceLink(0xcf935df46994e9cL, 0xa132fa109541cba3L, 0x5b7be37b4de9bbdcL, 0x5b7be37b4de9bbddL, "target");
    /*package*/ static final SContainmentLink output$Hskt = MetaAdapterFactory.getContainmentLink(0xcf935df46994e9cL, 0xa132fa109541cba3L, 0x48e82d508331930cL, 0x3f7149bc56b26b5dL, "output");
    /*package*/ static final SContainmentLink classpathEntries$PWzd = MetaAdapterFactory.getContainmentLink(0xcf935df46994e9cL, 0xa132fa109541cba3L, 0x6a3e160a3efe6274L, 0x75cd89729fd8ef2bL, "classpathEntries");
    /*package*/ static final SContainmentLink deployedJar$Npdx = MetaAdapterFactory.getContainmentLink(0xcf935df46994e9cL, 0xa132fa109541cba3L, 0x11918e0f209b83e7L, 0x2e490987db3dc749L, "deployedJar");
    /*package*/ static final SContainmentLink sourceJar$2j4U = MetaAdapterFactory.getContainmentLink(0xcf935df46994e9cL, 0xa132fa109541cba3L, 0x11918e0f209b83e7L, 0x2e490987db3dd410L, "sourceJar");
    /*package*/ static final SContainmentLink parts$uJA0 = MetaAdapterFactory.getContainmentLink(0x798100da4f0a421aL, 0xb99171f8c50ce5d2L, 0x3cca41cd0fe51d4fL, 0x440d7ea3b68cba4bL, "parts");
    /*package*/ static final SContainmentLink edition$LSAW = MetaAdapterFactory.getContainmentLink(0xcf935df46994e9cL, 0xa132fa109541cba3L, 0x6b9a2011083b778dL, 0xccf01929cb3b512L, "edition");
    /*package*/ static final SContainmentLink pluginXml$ywib = MetaAdapterFactory.getContainmentLink(0xcf935df46994e9cL, 0xa132fa109541cba3L, 0x5b7be37b4de9bb74L, 0x1131bde13f3dbe2aL, "pluginXml");
    /*package*/ static final SReferenceLink project$ciHu = MetaAdapterFactory.getReferenceLink(0x798100da4f0a421aL, 0xb99171f8c50ce5d2L, 0x5830b38e16a0164cL, 0x5830b38e16d823d3L, "project");
    /*package*/ static final SContainmentLink imports$27EN = MetaAdapterFactory.getContainmentLink(0xcf935df46994e9cL, 0xa132fa109541cba3L, 0x71731b16a201d7bcL, 0x71731b16a2289997L, "imports");
    /*package*/ static final SContainmentLink folder$URyp = MetaAdapterFactory.getContainmentLink(0xcf935df46994e9cL, 0xa132fa109541cba3L, 0x48e82d508334bdeaL, 0x48e82d508334bdecL, "folder");
    /*package*/ static final SContainmentLink folder$ICh7 = MetaAdapterFactory.getContainmentLink(0xcf935df46994e9cL, 0xa132fa109541cba3L, 0x21286cd3b0f27758L, 0x21286cd3b0f28a50L, "folder");
    /*package*/ static final SContainmentLink dir$e6r$ = MetaAdapterFactory.getContainmentLink(0x798100da4f0a421aL, 0xb99171f8c50ce5d2L, 0x48d5d03db92245a4L, 0x48d5d03db92245a6L, "dir");
    /*package*/ static final SContainmentLink files$uRjo = MetaAdapterFactory.getContainmentLink(0xcf935df46994e9cL, 0xa132fa109541cba3L, 0xa99ab51d1ecc306L, 0xa99ab51d1ecc307L, "files");
    /*package*/ static final SReferenceLink targetPath$MMCS = MetaAdapterFactory.getReferenceLink(0xcf935df46994e9cL, 0xa132fa109541cba3L, 0x44e5dd192e77725eL, 0x44e5dd192e77725fL, "targetPath");
    /*package*/ static final SContainmentLink jarLocations$YX2i = MetaAdapterFactory.getContainmentLink(0xcf935df46994e9cL, 0xa132fa109541cba3L, 0x11918e0f209b83e7L, 0x3c765492deb27a75L, "jarLocations");
    /*package*/ static final SContainmentLink dependencies$j8Lj = MetaAdapterFactory.getContainmentLink(0xcf935df46994e9cL, 0xa132fa109541cba3L, 0x48e82d508331930cL, 0x48e82d5083341cb8L, "dependencies");
    /*package*/ static final SContainmentLink customLocation$e43G = MetaAdapterFactory.getContainmentLink(0xcf935df46994e9cL, 0xa132fa109541cba3L, 0x3b60c4a45c197e19L, 0x26d578f4b6e3757fL, "customLocation");
    /*package*/ static final SContainmentLink path$yTVo = MetaAdapterFactory.getContainmentLink(0xcf935df46994e9cL, 0xa132fa109541cba3L, 0x3b60c4a45c197e19L, 0x3b60c4a45c197e1aL, "path");
    /*package*/ static final SReferenceLink jar$JLD3 = MetaAdapterFactory.getReferenceLink(0x798100da4f0a421aL, 0xb99171f8c50ce5d2L, 0x4ddcec86afb2f64cL, 0x4ddcec86afb2f64dL, "jar");
    /*package*/ static final SContainmentLink modules$JlQo = MetaAdapterFactory.getContainmentLink(0xcf935df46994e9cL, 0xa132fa109541cba3L, 0x14d3fb6fb843ebddL, 0x14d3fb6fb843ebdeL, "modules");
    /*package*/ static final SContainmentLink javaLibLocation$cmtb = MetaAdapterFactory.getContainmentLink(0xcf935df46994e9cL, 0xa132fa109541cba3L, 0x2c4467914643e8fbL, 0x65b9b06022080842L, "javaLibLocation");
    /*package*/ static final SContainmentLink libraryEntries$kJkN = MetaAdapterFactory.getContainmentLink(0xcf935df46994e9cL, 0xa132fa109541cba3L, 0x6a3e160a3efe6274L, 0x5c5802301a502977L, "libraryEntries");
    /*package*/ static final SContainmentLink selectors$hp_C = MetaAdapterFactory.getContainmentLink(0x798100da4f0a421aL, 0xb99171f8c50ce5d2L, 0x48d5d03db92245a4L, 0x48d5d03db92245f7L, "selectors");
    /*package*/ static final SContainmentLink location$UU44 = MetaAdapterFactory.getContainmentLink(0xcf935df46994e9cL, 0xa132fa109541cba3L, 0x3b60c4a45c195c50L, 0x70ece8f91dd584e3L, "location");
    /*package*/ static final SContainmentLink managedGenerators$Hbof = MetaAdapterFactory.getContainmentLink(0xcf935df46994e9cL, 0xa132fa109541cba3L, 0x2c446791464290f8L, 0x6d1df6c2700aeb88L, "managedGenerators");
    /*package*/ static final SReferenceLink generator$98gH = MetaAdapterFactory.getReferenceLink(0xcf935df46994e9cL, 0xa132fa109541cba3L, 0x6d1df6c2700aeb81L, 0x6d1df6c2700aeb82L, "generator");
    /*package*/ static final SContainmentLink content$9T6D = MetaAdapterFactory.getContainmentLink(0xcf935df46994e9cL, 0xa132fa109541cba3L, 0x5b7be37b4de9bb74L, 0x5b7be37b4de9bbeaL, "content");
    /*package*/ static final SContainmentLink customXmlElement$nti5 = MetaAdapterFactory.getContainmentLink(0xcf935df46994e9cL, 0xa132fa109541cba3L, 0x6b9a2011083b778dL, 0x5efec015d9ba0016L, "customXmlElement");
    /*package*/ static final SContainmentLink dependencies$9_ak = MetaAdapterFactory.getContainmentLink(0xcf935df46994e9cL, 0xa132fa109541cba3L, 0x5b7be37b4de9bb74L, 0x5b7be37b4de9bbd4L, "dependencies");
    /*package*/ static final SContainmentLink xml$djzj = MetaAdapterFactory.getContainmentLink(0xcf935df46994e9cL, 0xa132fa109541cba3L, 0x5b7be37b4de9bb74L, 0x12dcccc092aac8d3L, "xml");
    /*package*/ static final SContainmentLink macros$r8_A = MetaAdapterFactory.getContainmentLink(0x798100da4f0a421aL, 0xb99171f8c50ce5d2L, 0x4df58c6f18f84a13L, 0x4df58c6f18f84a22L, "macros");
    /*package*/ static final SContainmentLink generator$OCOG = MetaAdapterFactory.getContainmentLink(0xcf935df46994e9cL, 0xa132fa109541cba3L, 0x2c446791464290f8L, 0x7fae147806433827L, "generator");
  }

  private static final class CONCEPTS {
    /*package*/ static final SConcept BuildMps_Module$JW = MetaAdapterFactory.getConcept(0xcf935df46994e9cL, 0xa132fa109541cba3L, 0x48e82d508331930cL, "jetbrains.mps.build.mps.structure.BuildMps_Module");
    /*package*/ static final SConcept BuildLayout_Folder$AH = MetaAdapterFactory.getConcept(0x798100da4f0a421aL, 0xb99171f8c50ce5d2L, 0x668c6cfbafac4c78L, "jetbrains.mps.build.structure.BuildLayout_Folder");
    /*package*/ static final SConcept BuildMpsLayout_ModuleXml$_e = MetaAdapterFactory.getConcept(0xcf935df46994e9cL, 0xa132fa109541cba3L, 0x6a3e160a3efe6274L, "jetbrains.mps.build.mps.structure.BuildMpsLayout_ModuleXml");
    /*package*/ static final SConcept BuildMpsLayout_FolderWithSources$mg = MetaAdapterFactory.getConcept(0xcf935df46994e9cL, 0xa132fa109541cba3L, 0x1d38569c566c8c91L, "jetbrains.mps.build.mps.structure.BuildMpsLayout_FolderWithSources");
    /*package*/ static final SConcept BuildMps_Solution$R7 = MetaAdapterFactory.getConcept(0xcf935df46994e9cL, 0xa132fa109541cba3L, 0x2c446791464290f7L, "jetbrains.mps.build.mps.structure.BuildMps_Solution");
    /*package*/ static final SConcept BuildMps_ModuleJavaSource$M6 = MetaAdapterFactory.getConcept(0xcf935df46994e9cL, 0xa132fa109541cba3L, 0x48e82d508334bdeaL, "jetbrains.mps.build.mps.structure.BuildMps_ModuleJavaSource");
    /*package*/ static final SConcept BuildMps_DevKit$jc = MetaAdapterFactory.getConcept(0xcf935df46994e9cL, 0xa132fa109541cba3L, 0x4780308f5d2060eL, "jetbrains.mps.build.mps.structure.BuildMps_DevKit");
    /*package*/ static final SConcept BuildMps_Branding$M0 = MetaAdapterFactory.getConcept(0xcf935df46994e9cL, 0xa132fa109541cba3L, 0x6b9a2011083b778dL, "jetbrains.mps.build.mps.structure.BuildMps_Branding");
    /*package*/ static final SConcept BuildMpsLayout_AutoPluginLayoutType$JU = MetaAdapterFactory.getConcept(0xcf935df46994e9cL, 0xa132fa109541cba3L, 0x318cec002865ada1L, "jetbrains.mps.build.mps.structure.BuildMpsLayout_AutoPluginLayoutType");
    /*package*/ static final SConcept BuildProject$ae = MetaAdapterFactory.getConcept(0x798100da4f0a421aL, 0xb99171f8c50ce5d2L, 0x4df58c6f18f84a13L, "jetbrains.mps.build.structure.BuildProject");
    /*package*/ static final SConcept BuildMPSPlugin$YW = MetaAdapterFactory.getConcept(0xcf935df46994e9cL, 0xa132fa109541cba3L, 0xc0bde9fc71699d9L, "jetbrains.mps.build.mps.structure.BuildMPSPlugin");
    /*package*/ static final SConcept BuildMps_Language$RA = MetaAdapterFactory.getConcept(0xcf935df46994e9cL, 0xa132fa109541cba3L, 0x2c446791464290f8L, "jetbrains.mps.build.mps.structure.BuildMps_Language");
    /*package*/ static final SConcept BuildMps_Generator$RQ = MetaAdapterFactory.getConcept(0xcf935df46994e9cL, 0xa132fa109541cba3L, 0x4c6db07d2e56a8b4L, "jetbrains.mps.build.mps.structure.BuildMps_Generator");
    /*package*/ static final SConcept BuildMps_GeneratorOptions$A8 = MetaAdapterFactory.getConcept(0xcf935df46994e9cL, 0xa132fa109541cba3L, 0x3ba296405b6f3b1bL, "jetbrains.mps.build.mps.structure.BuildMps_GeneratorOptions");
    /*package*/ static final SConcept BuildMpsAspect$Ey = MetaAdapterFactory.getConcept(0xcf935df46994e9cL, 0xa132fa109541cba3L, 0x5a408fb8c80220a9L, "jetbrains.mps.build.mps.structure.BuildMpsAspect");
    /*package*/ static final SConcept BuildMps_Tips$B3 = MetaAdapterFactory.getConcept(0xcf935df46994e9cL, 0xa132fa109541cba3L, 0x71731b16a201d7bcL, "jetbrains.mps.build.mps.structure.BuildMps_Tips");
    /*package*/ static final SConcept BuildMps_TipsMps$y5 = MetaAdapterFactory.getConcept(0xcf935df46994e9cL, 0xa132fa109541cba3L, 0x71731b16a2289999L, "jetbrains.mps.build.mps.structure.BuildMps_TipsMps");
    /*package*/ static final SConcept BuildMps_TipsSolution$5K = MetaAdapterFactory.getConcept(0xcf935df46994e9cL, 0xa132fa109541cba3L, 0x71731b16a233b3c4L, "jetbrains.mps.build.mps.structure.BuildMps_TipsSolution");
    /*package*/ static final SConcept BuildMps_ModuleTestSource$tl = MetaAdapterFactory.getConcept(0xcf935df46994e9cL, 0xa132fa109541cba3L, 0x21286cd3b0f27758L, "jetbrains.mps.build.mps.structure.BuildMps_ModuleTestSource");
    /*package*/ static final SConcept GeneratorInternal_BuildSource_JavaModule$pC = MetaAdapterFactory.getConcept(0x798100da4f0a421aL, 0xb99171f8c50ce5d2L, 0x44e5dd192e7c0c18L, "jetbrains.mps.build.structure.GeneratorInternal_BuildSource_JavaModule");
    /*package*/ static final SConcept BuildMps_ModuleDependencyJar$Rm = MetaAdapterFactory.getConcept(0xcf935df46994e9cL, 0xa132fa109541cba3L, 0x3b60c4a45c197e19L, "jetbrains.mps.build.mps.structure.BuildMps_ModuleDependencyJar");
    /*package*/ static final SConcept GeneratorInternal_BuildSourcePath$CL = MetaAdapterFactory.getConcept(0xcf935df46994e9cL, 0xa132fa109541cba3L, 0x44e5dd192e77725eL, "jetbrains.mps.build.mps.structure.GeneratorInternal_BuildSourcePath");
    /*package*/ static final SConcept GeneratorInternal_BuildSource_SingleFile$ra = MetaAdapterFactory.getConcept(0x798100da4f0a421aL, 0xb99171f8c50ce5d2L, 0x44e5dd192e7c0d4aL, "jetbrains.mps.build.structure.GeneratorInternal_BuildSource_SingleFile");
    /*package*/ static final SConcept BuildMps_ModuleDependencyOnJavaModule$MK = MetaAdapterFactory.getConcept(0xcf935df46994e9cL, 0xa132fa109541cba3L, 0x2c4467914643e8fbL, "jetbrains.mps.build.mps.structure.BuildMps_ModuleDependencyOnJavaModule");
    /*package*/ static final SConcept BuildMps_ModuleModelRoot$Ie = MetaAdapterFactory.getConcept(0xcf935df46994e9cL, 0xa132fa109541cba3L, 0x3b60c4a45c195c50L, "jetbrains.mps.build.mps.structure.BuildMps_ModuleModelRoot");
    /*package*/ static final SConcept BaseConcept$gP = MetaAdapterFactory.getConcept(0xceab519525ea4f22L, 0x9b92103b95ca8c0cL, 0x10802efe25aL, "jetbrains.mps.lang.core.structure.BaseConcept");
    /*package*/ static final SConcept BuildFolderMacro$mR = MetaAdapterFactory.getConcept(0x798100da4f0a421aL, 0xb99171f8c50ce5d2L, 0x668c6cfbafadd002L, "jetbrains.mps.build.structure.BuildFolderMacro");
    /*package*/ static final SConcept BuildMps_TipsDir$LO = MetaAdapterFactory.getConcept(0xcf935df46994e9cL, 0xa132fa109541cba3L, 0x71731b16a22c0160L, "jetbrains.mps.build.mps.structure.BuildMps_TipsDir");
    /*package*/ static final SConcept BuildMps_Group$Jc = MetaAdapterFactory.getConcept(0xcf935df46994e9cL, 0xa132fa109541cba3L, 0x14d3fb6fb843ebddL, "jetbrains.mps.build.mps.structure.BuildMps_Group");
    /*package*/ static final SConcept BuildMps_AbstractModule$FZ = MetaAdapterFactory.getConcept(0xcf935df46994e9cL, 0xa132fa109541cba3L, 0x4780308f5d333ebL, "jetbrains.mps.build.mps.structure.BuildMps_AbstractModule");
    /*package*/ static final SConcept BuildMps_GeneratorRef$aa = MetaAdapterFactory.getConcept(0xcf935df46994e9cL, 0xa132fa109541cba3L, 0x6d1df6c2700aeb81L, "jetbrains.mps.build.mps.structure.BuildMps_GeneratorRef");
    /*package*/ static final SConcept BuildLayout_Jar$bd = MetaAdapterFactory.getConcept(0x798100da4f0a421aL, 0xb99171f8c50ce5d2L, 0x668c6cfbafac7f9aL, "jetbrains.mps.build.structure.BuildLayout_Jar");
    /*package*/ static final SConcept BuildRelativePath$Kc = MetaAdapterFactory.getConcept(0x798100da4f0a421aL, 0xb99171f8c50ce5d2L, 0x65997a657729f6fbL, "jetbrains.mps.build.structure.BuildRelativePath");
    /*package*/ static final SConcept BuildSource_JavaOptions$D = MetaAdapterFactory.getConcept(0x798100da4f0a421aL, 0xb99171f8c50ce5d2L, 0xcdff0e1a96739c2L, "jetbrains.mps.build.structure.BuildSource_JavaOptions");
    /*package*/ static final SConcept GeneratorInternal_String$CC = MetaAdapterFactory.getConcept(0xcf935df46994e9cL, 0xa132fa109541cba3L, 0xd94b027412f0824L, "jetbrains.mps.build.mps.structure.GeneratorInternal_String");
    /*package*/ static final SConcept GeneratorInternal_ProjectDependency$bb = MetaAdapterFactory.getConcept(0x798100da4f0a421aL, 0xb99171f8c50ce5d2L, 0x5830b38e16a0164cL, "jetbrains.mps.build.structure.GeneratorInternal_ProjectDependency");
  }

  private static final class PROPS {
    /*package*/ static final SProperty name$MnvL = MetaAdapterFactory.getProperty(0xceab519525ea4f22L, 0x9b92103b95ca8c0cL, 0x110396eaaa4L, 0x110396ec041L, "name");
    /*package*/ static final SProperty pluginXmlProvided$f2I = MetaAdapterFactory.getProperty(0xcf935df46994e9cL, 0xa132fa109541cba3L, 0x5b7be37b4de9bb74L, 0x450018b736351dc3L, "pluginXmlProvided");
    /*package*/ static final SProperty doNotCompile$4EF = MetaAdapterFactory.getProperty(0xcf935df46994e9cL, 0xa132fa109541cba3L, 0x48e82d508331930cL, 0x14d3fb6fb84ac614L, "doNotCompile");
    /*package*/ static final SProperty customPackaging$31Ex = MetaAdapterFactory.getProperty(0xcf935df46994e9cL, 0xa132fa109541cba3L, 0x5b7be37b4de9bbdcL, 0x37fdb3de482cf2dfL, "customPackaging");
    /*package*/ static final SProperty targetReexport$48k4 = MetaAdapterFactory.getProperty(0x798100da4f0a421aL, 0xb99171f8c50ce5d2L, 0x44e5dd192e7c0c18L, 0x44e5dd192e7c0c1aL, "targetReexport");
    /*package*/ static final SProperty useMakeTask$aRFt = MetaAdapterFactory.getProperty(0xcf935df46994e9cL, 0xa132fa109541cba3L, 0xc0bde9fc71699d9L, 0x3f7149bc568e8eb4L, "useMakeTask");
    /*package*/ static final SProperty withKotlin$2YBL = MetaAdapterFactory.getProperty(0x798100da4f0a421aL, 0xb99171f8c50ce5d2L, 0x23f6fd361bdcfd27L, 0x6ab0965855d5f133L, "withKotlin");
    /*package*/ static final SProperty uuid$pC01 = MetaAdapterFactory.getProperty(0xcf935df46994e9cL, 0xa132fa109541cba3L, 0x4780308f5d333ebL, 0x4780308f5d3868bL, "uuid");
    /*package*/ static final SProperty packagedLocation$t1MT = MetaAdapterFactory.getProperty(0xcf935df46994e9cL, 0xa132fa109541cba3L, 0x3c765492deb1a384L, 0x3c765492deb1a386L, "packagedLocation");
    /*package*/ static final SProperty path$oN2q = MetaAdapterFactory.getProperty(0xcf935df46994e9cL, 0xa132fa109541cba3L, 0xd94b027412f0824L, 0xd94b027412f0827L, "path");
    /*package*/ static final SProperty stripImplementation$UksK = MetaAdapterFactory.getProperty(0xcf935df46994e9cL, 0xa132fa109541cba3L, 0x177c2feaf3463710L, 0x6de50fcfc334192fL, "stripImplementation");
    /*package*/ static final SProperty deployFolderName$Nlpw = MetaAdapterFactory.getProperty(0xcf935df46994e9cL, 0xa132fa109541cba3L, 0x3b60c4a45c195c50L, 0x281831b8d7259819L, "deployFolderName");
    /*package*/ static final SProperty stripImplementation$btW2 = MetaAdapterFactory.getProperty(0xcf935df46994e9cL, 0xa132fa109541cba3L, 0x11918e0f209b83e7L, 0x6de50fcfc3523742L, "stripImplementation");
    /*package*/ static final SProperty stripImplementation$43U1 = MetaAdapterFactory.getProperty(0xcf935df46994e9cL, 0xa132fa109541cba3L, 0x5b7be37b4de9bb6eL, 0x2f0b11e330465d4dL, "stripImplementation");
    /*package*/ static final SProperty id$W4AX = MetaAdapterFactory.getProperty(0xcf935df46994e9cL, 0xa132fa109541cba3L, 0x5b7be37b4de9bb74L, 0x5b7be37b4de9bb6fL, "id");
    /*package*/ static final SProperty url$IIAT = MetaAdapterFactory.getProperty(0xcf935df46994e9cL, 0xa132fa109541cba3L, 0x6cb3984bfe5b72d3L, 0x6cb3984bfe5b72d5L, "url");
    /*package*/ static final SProperty name$IIPU = MetaAdapterFactory.getProperty(0xcf935df46994e9cL, 0xa132fa109541cba3L, 0x6cb3984bfe5b72d3L, 0x6cb3984bfe5b72d6L, "name");
    /*package*/ static final SProperty strict$ARKj = MetaAdapterFactory.getProperty(0xcf935df46994e9cL, 0xa132fa109541cba3L, 0x3ba296405b6f3b1bL, 0x3ba296405b6f720cL, "strict");
    /*package*/ static final SProperty parallelThreads$AXQH = MetaAdapterFactory.getProperty(0xcf935df46994e9cL, 0xa132fa109541cba3L, 0x3ba296405b6f3b1bL, 0x3ba296405b6f7211L, "parallelThreads");
    /*package*/ static final SProperty parallel$AX9E = MetaAdapterFactory.getProperty(0xcf935df46994e9cL, 0xa132fa109541cba3L, 0x3ba296405b6f3b1bL, 0x3ba296405b6f720eL, "parallel");
    /*package*/ static final SProperty inplace$q8Ts = MetaAdapterFactory.getProperty(0xcf935df46994e9cL, 0xa132fa109541cba3L, 0x3ba296405b6f3b1bL, 0x3ba296405b7040e4L, "inplace");
    /*package*/ static final SProperty hideWarnings$vJ6P = MetaAdapterFactory.getProperty(0xcf935df46994e9cL, 0xa132fa109541cba3L, 0x3ba296405b6f3b1bL, 0x36a924c4406d57f3L, "hideWarnings");
    /*package*/ static final SProperty createStaticRefs$MDEl = MetaAdapterFactory.getProperty(0xcf935df46994e9cL, 0xa132fa109541cba3L, 0x3ba296405b6f3b1bL, 0x5ab0fd79b0feb375L, "createStaticRefs");
    /*package*/ static final SProperty skipUnmodifiedModels$kIij = MetaAdapterFactory.getProperty(0xcf935df46994e9cL, 0xa132fa109541cba3L, 0x3ba296405b6f3b1bL, 0x37b3e610a73b826L, "skipUnmodifiedModels");
    /*package*/ static final SProperty messageLevel$3iDi = MetaAdapterFactory.getProperty(0xcf935df46994e9cL, 0xa132fa109541cba3L, 0x3ba296405b6f3b1bL, 0x188f61e0d025cf73L, "messageLevel");
    /*package*/ static final SProperty javaLevel$8zbK = MetaAdapterFactory.getProperty(0x798100da4f0a421aL, 0xb99171f8c50ce5d2L, 0xcdff0e1a96739c2L, 0x6120f2e858dfcfdcL, "javaLevel");
    /*package*/ static final SProperty generationMaxHeapSizeInMb$XSHx = MetaAdapterFactory.getProperty(0xcf935df46994e9cL, 0xa132fa109541cba3L, 0x5a408fb8c80220a9L, 0x6ec3e043947b1eedL, "generationMaxHeapSizeInMb");
    /*package*/ static final SProperty path$4PFd = MetaAdapterFactory.getProperty(0xcf935df46994e9cL, 0xa132fa109541cba3L, 0x3283ab1237f81c49L, 0x3283ab1237f81c4aL, "path");
    /*package*/ static final SProperty id$4PUe = MetaAdapterFactory.getProperty(0xcf935df46994e9cL, 0xa132fa109541cba3L, 0x3283ab1237f81c49L, 0x3283ab1237f81c4bL, "id");
    /*package*/ static final SProperty excludes$mj5k = MetaAdapterFactory.getProperty(0xcf935df46994e9cL, 0xa132fa109541cba3L, 0x5a408fb8c80220a9L, 0x456c667fe7936bf8L, "excludes");
    /*package*/ static final SProperty path$URGX = MetaAdapterFactory.getProperty(0x798100da4f0a421aL, 0xb99171f8c50ce5d2L, 0x5830b38e16a0164cL, 0x5830b38e16a017bdL, "path");
    /*package*/ static final SProperty language$oDNS = MetaAdapterFactory.getProperty(0xcf935df46994e9cL, 0xa132fa109541cba3L, 0x71731b16a22c0160L, 0x46ce9ed37ccc7d2eL, "language");
    /*package*/ static final SProperty convert2binary$GPhk = MetaAdapterFactory.getProperty(0xcf935df46994e9cL, 0xa132fa109541cba3L, 0x3b60c4a45c195c50L, 0x70ece8f91dd90968L, "convert2binary");
    /*package*/ static final SProperty customContent$2inR = MetaAdapterFactory.getProperty(0xcf935df46994e9cL, 0xa132fa109541cba3L, 0x11918e0f209b83e7L, 0x2e490987db3dd40dL, "customContent");
    /*package*/ static final SProperty testGeneration$xdoj = MetaAdapterFactory.getProperty(0xcf935df46994e9cL, 0xa132fa109541cba3L, 0x5a408fb8c80220a9L, 0x18cf12266aabddbfL, "testGeneration");
    /*package*/ static final SProperty isGenerated$EIvr = MetaAdapterFactory.getProperty(0xcf935df46994e9cL, 0xa132fa109541cba3L, 0x48e82d508334bdeaL, 0x52da585100dba65aL, "isGenerated");
    /*package*/ static final SProperty isGenerated$WkmJ = MetaAdapterFactory.getProperty(0xcf935df46994e9cL, 0xa132fa109541cba3L, 0x21286cd3b0f27758L, 0x66103f1a46523841L, "isGenerated");
    /*package*/ static final SProperty optionsName$Rr_z = MetaAdapterFactory.getProperty(0x798100da4f0a421aL, 0xb99171f8c50ce5d2L, 0xcdff0e1a96739c2L, 0xcdff0e1a96739c3L, "optionsName");
    /*package*/ static final SProperty generatorJvmOptions$K2H4 = MetaAdapterFactory.getProperty(0x798100da4f0a421aL, 0xb99171f8c50ce5d2L, 0xcdff0e1a96739c2L, 0x1ad4336b65903945L, "generatorJvmOptions");
    /*package*/ static final SProperty bootstrap$TxNt = MetaAdapterFactory.getProperty(0xcf935df46994e9cL, 0xa132fa109541cba3L, 0x5a408fb8c80220a9L, 0x5a408fb8c80270bcL, "bootstrap");
  }
}
