package jetbrains.mps.execution.configurations.generator.template.main;

/*Generated by MPS */

import jetbrains.mps.generator.runtime.Generated;
import jetbrains.mps.generator.impl.query.QueryProviderBase;
import jetbrains.mps.logging.Logger;
import jetbrains.mps.generator.template.CreateRootRuleContext;
import jetbrains.mps.internal.collections.runtime.ListSequence;
import jetbrains.mps.lang.smodel.generator.smodelAdapter.SModelOperations;
import jetbrains.mps.execution.configurations.behavior.RunConfiguration__BehaviorDescriptor;
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.lang.resources.behavior.Icon__BehaviorDescriptor;
import jetbrains.mps.generator.template.PropertyMacroContext;
import jetbrains.mps.lang.smodel.generator.smodelAdapter.SConceptOperations;
import jetbrains.mps.execution.common.behavior.IGeneratedToClass__BehaviorDescriptor;
import jetbrains.mps.execution.settings.behavior.PersistentPropertyDeclaration__BehaviorDescriptor;
import jetbrains.mps.lang.smodel.generator.smodelAdapter.SPropertyOperations;
import jetbrains.mps.execution.configurations.behavior.RunConfigurationExecutor__BehaviorDescriptor;
import jetbrains.mps.execution.commands.behavior.CommandDeclaration__BehaviorDescriptor;
import jetbrains.mps.execution.configurations.behavior.AbstractRunConfigurationExecutor__BehaviorDescriptor;
import jetbrains.mps.util.NodeNameUtil;
import jetbrains.mps.lang.core.behavior.INamedConcept__BehaviorDescriptor;
import jetbrains.mps.execution.api.configurations.BaseMpsBeforeTaskProvider;
import jetbrains.mps.execution.settings.behavior.PersistentConfiguration__BehaviorDescriptor;
import org.jetbrains.mps.openapi.model.SNode;
import jetbrains.mps.generator.template.ReferenceMacroContext;
import jetbrains.mps.execution.configurations.behavior.ConfigurationFromExecutorReference__BehaviorDescriptor;
import jetbrains.mps.internal.collections.runtime.Sequence;
import jetbrains.mps.baseLanguage.behavior.ClassConcept__BehaviorDescriptor;
import jetbrains.mps.typechecking.TypecheckingFacade;
import jetbrains.mps.generator.template.IfMacroContext;
import jetbrains.mps.generator.template.SourceSubstituteMacroNodeContext;
import jetbrains.mps.execution.configurations.behavior.StartProcessHandlerStatement__BehaviorDescriptor;
import jetbrains.mps.generator.template.SourceSubstituteMacroNodesContext;
import java.util.List;
import java.util.ArrayList;
import jetbrains.mps.generator.template.WeavingMappingRuleContext;
import jetbrains.mps.generator.template.MappingScriptContext;
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.CreateRootCondition;
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 jetbrains.mps.smodel.adapter.structure.MetaAdapterFactory;
import org.jetbrains.mps.openapi.language.SProperty;
import jetbrains.mps.generator.impl.query.IfMacroCondition;
import jetbrains.mps.generator.impl.query.ReferenceTargetQuery;
import jetbrains.mps.smodel.builder.SNodeBuilder;
import org.jetbrains.mps.openapi.language.SConcept;
import org.jetbrains.mps.openapi.language.SReferenceLink;
import org.jetbrains.mps.openapi.language.SContainmentLink;

@Generated
public class QueriesGenerated extends QueryProviderBase {
  private static final Logger LOG = Logger.getLogger(QueriesGenerated.class);
  public QueriesGenerated() {
    super(1);
  }
  public static boolean createRootRule_Condition_0_0(final CreateRootRuleContext _context) {
    return ListSequence.fromList(SModelOperations.roots(_context.getInputModel(), CONCEPTS.RunConfigurationKind$C3)).isNotEmpty() || ListSequence.fromList(SModelOperations.roots(_context.getInputModel(), CONCEPTS.RunConfigurationProducer$AW)).isNotEmpty() || ListSequence.fromList(SModelOperations.roots(_context.getInputModel(), CONCEPTS.RunConfiguration$B$)).where((it) -> (boolean) RunConfiguration__BehaviorDescriptor.isForeign_id3wpI_WC06mf.invoke(it)).isNotEmpty();
  }
  public static boolean createRootRule_Condition_0_1(final CreateRootRuleContext _context) {
    return ListSequence.fromList(SModelOperations.roots(_context.getInputModel(), CONCEPTS.BeforeTask$oR)).isNotEmpty();
  }
  public static boolean rule_Condition_0_0(final BaseMappingRuleContext _context) {
    return (SNodeOperations.getNodeAncestor(_context.getNode(), CONCEPTS.RunConfiguration$B$, false, false) != null);
  }
  public static boolean rule_Condition_0_1(final BaseMappingRuleContext _context) {
    return (SNodeOperations.getNodeAncestor(_context.getNode(), CONCEPTS.ExecuteConfiguration_Function$Bl, false, false) != null);
  }
  public static boolean rule_Condition_0_2(final BaseMappingRuleContext _context) {
    return (SNodeOperations.getNodeAncestor(_context.getNode(), CONCEPTS.BeforeTaskCall$iu, false, false) == null);
  }
  public static boolean rule_Condition_0_3(final BaseMappingRuleContext _context) {
    return (SNodeOperations.getNodeAncestor(_context.getNode(), CONCEPTS.BeforeTaskCall$iu, false, false) != null);
  }
  public static boolean rule_Condition_0_4(final BaseMappingRuleContext _context) {
    return SNodeOperations.isInstanceOf(SLinkOperations.getTarget(_context.getNode(), LINKS.persistentConfiguration$QL_P), CONCEPTS.RunConfiguration$B$);
  }
  public static boolean rule_Condition_0_5(final BaseMappingRuleContext _context) {
    return SNodeOperations.isInstanceOf(SLinkOperations.getTarget(_context.getNode(), LINKS.creator$BsHW), CONCEPTS.RunConfigurationCreator$WE);
  }
  public static boolean rule_Condition_0_6(final BaseMappingRuleContext _context) {
    return SNodeOperations.isInstanceOf(SLinkOperations.getTarget(_context.getNode(), LINKS.creator$BsHW), CONCEPTS.ConsoleCreator$mj);
  }
  public static boolean rule_Condition_0_7(final BaseMappingRuleContext _context) {
    return (SNodeOperations.getNodeAncestor(_context.getNode(), CONCEPTS.ExecuteBeforeTask_ConceptFunction$u, true, false) != null);
  }
  public static boolean rule_Condition_0_8(final BaseMappingRuleContext _context) {
    return (SNodeOperations.getNodeAncestor(_context.getNode(), CONCEPTS.ExecuteConfiguration_Function$Bl, true, false) != null);
  }
  public static boolean rule_Condition_0_9(final BaseMappingRuleContext _context) {
    return SNodeOperations.isInstanceOf(SLinkOperations.getTarget(_context.getNode(), LINKS.creator$BsHW), CONCEPTS.DummyRunConfigurationInitializer$KX);
  }
  public static boolean rule_Condition_21_0(final BaseMappingRuleContext _context) {
    return isNotEmptyString(Icon__BehaviorDescriptor.getResourceId_id2p1v3tOadt0.invoke(_context.getNode()));
  }
  public static boolean rule_Condition_21_1(final BaseMappingRuleContext _context) {
    return (SLinkOperations.getTarget(_context.getNode(), LINKS.iconExpression$tVgU) != null);
  }
  public static Object propertyMacro_GetValue_0_0(final PropertyMacroContext _context) {
    return SConceptOperations.conceptAlias(SNodeOperations.getConcept(_context.getNode()));
  }
  public static Object propertyMacro_GetValue_0_1(final PropertyMacroContext _context) {
    return SConceptOperations.conceptAlias(SNodeOperations.getConcept(_context.getNode()));
  }
  public static Object propertyMacro_GetValue_0_2(final PropertyMacroContext _context) {
    return SConceptOperations.conceptAlias(SNodeOperations.getConcept(_context.getNode()));
  }
  public static Object propertyMacro_GetValue_0_3(final PropertyMacroContext _context) {
    return (String) IGeneratedToClass__BehaviorDescriptor.getFullName_idO$iR4JBsSv.invoke(SLinkOperations.getTarget(_context.getNode(), LINKS.persistentConfiguration$QL_P));
  }
  public static Object propertyMacro_GetValue_0_4(final PropertyMacroContext _context) {
    return (String) IGeneratedToClass__BehaviorDescriptor.getFullName_idO$iR4JBsSv.invoke(SLinkOperations.getTarget(_context.getNode(), LINKS.persistentConfiguration$QL_P));
  }
  public static Object propertyMacro_GetValue_0_5(final PropertyMacroContext _context) {
    return (String) PersistentPropertyDeclaration__BehaviorDescriptor.addMyPrefix_id5uxO0H8rOhC.invoke(SNodeOperations.asSConcept(CONCEPTS.PersistentPropertyDeclaration$yn), SPropertyOperations.getString(SLinkOperations.getTarget(_context.getNode(), LINKS.variableDeclaration$N1XG), PROPS.name$MnvL));
  }
  public static Object propertyMacro_GetValue_1_0(final PropertyMacroContext _context) {
    return (String) PersistentPropertyDeclaration__BehaviorDescriptor.addMyPrefix_id5uxO0H8rOhC.invoke(SNodeOperations.asSConcept(CONCEPTS.PersistentPropertyDeclaration$yn), SPropertyOperations.getString(_context.getNode(), PROPS.configurationName$Ks$));
  }
  public static Object propertyMacro_GetValue_1_1(final PropertyMacroContext _context) {
    return (String) IGeneratedToClass__BehaviorDescriptor.getFullName_idO$iR4JBsSv.invoke(RunConfigurationExecutor__BehaviorDescriptor.getCommand_id5pE1_aqZ2LK.invoke(_context.getNode()));
  }
  public static Object propertyMacro_GetValue_1_2(final PropertyMacroContext _context) {
    return (String) CommandDeclaration__BehaviorDescriptor.getGetDebuggerConfidurationMethodName_id5pE1_aqZc7s.invoke(SNodeOperations.asSConcept(CONCEPTS.CommandDeclaration$1L));
  }
  public static Object propertyMacro_GetValue_1_3(final PropertyMacroContext _context) {
    return (String) CommandDeclaration__BehaviorDescriptor.getGetDebuggerConfidurationMethodName_id5pE1_aqZc7s.invoke(SNodeOperations.asSConcept(CONCEPTS.CommandDeclaration$1L));
  }
  public static Object propertyMacro_GetValue_1_4(final PropertyMacroContext _context) {
    return (String) AbstractRunConfigurationExecutor__BehaviorDescriptor.getCanExecuteMethodName_id6LlKjXrMerG.invoke(_context.getNode());
  }
  public static Object propertyMacro_GetValue_1_5(final PropertyMacroContext _context) {
    return (String) IGeneratedToClass__BehaviorDescriptor.getGeneratedClassName_idO$iR4JBsSg.invoke(_context.getNode());
  }
  public static Object propertyMacro_GetValue_3_0(final PropertyMacroContext _context) {
    return NodeNameUtil.getNamespace(INamedConcept__BehaviorDescriptor.getFqName_idhEwIO9y.invoke(RunConfiguration__BehaviorDescriptor.getExecutor_id3gs394eDyIj.invoke(_context.getNode()))) + "." + IGeneratedToClass__BehaviorDescriptor.getGeneratedClassName_idO$iR4JBsSg.invoke(RunConfiguration__BehaviorDescriptor.getExecutor_id3gs394eDyIj.invoke(_context.getNode()));
  }
  public static Object propertyMacro_GetValue_3_1(final PropertyMacroContext _context) {
    return (String) AbstractRunConfigurationExecutor__BehaviorDescriptor.getCanExecuteMethodName_id6LlKjXrMerG.invoke(RunConfiguration__BehaviorDescriptor.getExecutor_id3gs394eDyIj.invoke(_context.getNode()));
  }
  public static Object propertyMacro_GetValue_3_2(final PropertyMacroContext _context) {
    return (String) IGeneratedToClass__BehaviorDescriptor.getFullName_idO$iR4JBsSv.invoke(SLinkOperations.getTarget(_context.getNode(), LINKS.beforeTask$2WC7));
  }
  public static Object propertyMacro_GetValue_3_3(final PropertyMacroContext _context) {
    return !(SPropertyOperations.getBoolean(_context.getNode(), PROPS.disabledByDefault$cZBi));
  }
  public static Object propertyMacro_GetValue_3_4(final PropertyMacroContext _context) {
    return BaseMpsBeforeTaskProvider.getCreateMethodName(SPropertyOperations.getString(SLinkOperations.getTarget(_context.getNode(), LINKS.beforeTask$2WC7), PROPS.name$MnvL));
  }
  public static Object propertyMacro_GetValue_5_0(final PropertyMacroContext _context) {
    return (String) PersistentPropertyDeclaration__BehaviorDescriptor.getTypeEditorFqName_idO$iR4J$g9_.invoke(_context.getNode());
  }
  public static Object propertyMacro_GetValue_5_1(final PropertyMacroContext _context) {
    return (String) PersistentPropertyDeclaration__BehaviorDescriptor.removeMyPrefix_idO$iR4J$g8k.invoke(SNodeOperations.asSConcept(CONCEPTS.PersistentPropertyDeclaration$yn), SPropertyOperations.getString(_context.getNode(), PROPS.name$MnvL));
  }
  public static Object propertyMacro_GetValue_5_2(final PropertyMacroContext _context) {
    return (String) PersistentConfiguration__BehaviorDescriptor.getGeneratedEditorName_idO$iR4J$g2J.invoke(_context.getNode());
  }
  public static Object propertyMacro_GetValue_9_0(final PropertyMacroContext _context) {
    return SPropertyOperations.getString(_context.getNode(), PROPS.name$MnvL);
  }
  public static Object propertyMacro_GetValue_9_1(final PropertyMacroContext _context) {
    return (SPropertyOperations.getString(_context.getNode(), PROPS.displayName$GPvP) != null ? SPropertyOperations.getString(_context.getNode(), PROPS.displayName$GPvP) : SPropertyOperations.getString(_context.getNode(), PROPS.name$MnvL));
  }
  public static Object propertyMacro_GetValue_9_2(final PropertyMacroContext _context) {
    // I'd like tolerate empty description value and generate "" in this case.
    if (SPropertyOperations.getString(_context.getNode(), PROPS.description$GPXR) != null) {
      return SPropertyOperations.getString(_context.getNode(), PROPS.description$GPXR);
    }
    return (SPropertyOperations.getString(_context.getNode(), PROPS.displayName$GPvP) != null ? SPropertyOperations.getString(_context.getNode(), PROPS.displayName$GPvP) : SPropertyOperations.getString(_context.getNode(), PROPS.name$MnvL));
  }
  public static Object propertyMacro_GetValue_9_3(final PropertyMacroContext _context) {
    return SPropertyOperations.getString(_context.getNode(), PROPS.name$MnvL);
  }
  public static Object propertyMacro_GetValue_9_4(final PropertyMacroContext _context) {
    return SPropertyOperations.getString(_context.getNode(), PROPS.name$MnvL);
  }
  public static Object propertyMacro_GetValue_9_5(final PropertyMacroContext _context) {
    return SPropertyOperations.getString(SLinkOperations.getTarget(_context.getNode(), LINKS.configurationKind$$GNc), PROPS.name$MnvL);
  }
  public static Object propertyMacro_GetValue_9_6(final PropertyMacroContext _context) {
    return SPropertyOperations.getString(SLinkOperations.getTarget(SNodeOperations.cast(SLinkOperations.getTarget(SLinkOperations.getTarget(_context.getNode(), LINKS.configuration$H39x), LINKS.persistentConfiguration$QL_P), CONCEPTS.RunConfiguration$B$), LINKS.configurationKind$$GNc), PROPS.name$MnvL);
  }
  public static Object propertyMacro_GetValue_9_7(final PropertyMacroContext _context) {
    return SPropertyOperations.getString(SLinkOperations.getTarget(_context.getNode(), LINKS.configurationKind$$GNc), PROPS.name$MnvL);
  }
  public static Object propertyMacro_GetValue_13_0(final PropertyMacroContext _context) {
    return _context.createUniqueName(IGeneratedToClass__BehaviorDescriptor.getGeneratedClassName_idO$iR4JBsSg.invoke(_context.getNode()), SNodeOperations.getContainingRoot(_context.getNode()));
  }
  public static Object propertyMacro_GetValue_13_1(final PropertyMacroContext _context) {
    return (String) IGeneratedToClass__BehaviorDescriptor.getGeneratedClassName_idO$iR4JBsSg.invoke(_context.getNode());
  }
  public static Object propertyMacro_GetValue_15_0(final PropertyMacroContext _context) {
    return (String) IGeneratedToClass__BehaviorDescriptor.getFullName_idO$iR4JBsSv.invoke(SLinkOperations.getTarget(SNodeOperations.cast(SLinkOperations.getTarget(_context.getNode(), LINKS.creator$BsHW), CONCEPTS.RunConfigurationCreator$WE), LINKS.configuration$2LI7));
  }
  public static Object propertyMacro_GetValue_16_0(final PropertyMacroContext _context) {
    return (String) IGeneratedToClass__BehaviorDescriptor.getFullName_idO$iR4JBsSv.invoke(_context.getNode());
  }
  public static Object propertyMacro_GetValue_16_1(final PropertyMacroContext _context) {
    return SPropertyOperations.getString(_context.getNode(), PROPS.name$MnvL);
  }
  public static Object propertyMacro_GetValue_16_2(final PropertyMacroContext _context) {
    return (isEmptyString(SPropertyOperations.getString(_context.getNode(), PROPS.caption$oAS)) ? SPropertyOperations.getString(_context.getNode(), PROPS.name$MnvL) : SPropertyOperations.getString(_context.getNode(), PROPS.caption$oAS));
  }
  public static Object propertyMacro_GetValue_16_3(final PropertyMacroContext _context) {
    return IGeneratedToClass__BehaviorDescriptor.getGeneratedClassName_idO$iR4JBsSg.invoke(_context.getNode()) + "_RunTask";
  }
  public static Object propertyMacro_GetValue_16_4(final PropertyMacroContext _context) {
    return (String) PersistentPropertyDeclaration__BehaviorDescriptor.addMyPrefix_id5uxO0H8rOhC.invoke(SNodeOperations.asSConcept(CONCEPTS.PersistentPropertyDeclaration$yn), SPropertyOperations.getString(_context.getNode(), PROPS.name$MnvL));
  }
  public static Object propertyMacro_GetValue_16_5(final PropertyMacroContext _context) {
    return (String) PersistentPropertyDeclaration__BehaviorDescriptor.removeMyPrefix_idO$iR4J$g8k.invoke(SNodeOperations.asSConcept(CONCEPTS.PersistentPropertyDeclaration$yn), SPropertyOperations.getString(_context.getNode(), PROPS.name$MnvL));
  }
  public static Object propertyMacro_GetValue_16_6(final PropertyMacroContext _context) {
    return (String) PersistentPropertyDeclaration__BehaviorDescriptor.removeMyPrefix_idO$iR4J$g8k.invoke(SNodeOperations.asSConcept(CONCEPTS.PersistentPropertyDeclaration$yn), SPropertyOperations.getString(_context.getNode(), PROPS.name$MnvL));
  }
  public static Object propertyMacro_GetValue_16_7(final PropertyMacroContext _context) {
    return BaseMpsBeforeTaskProvider.getConfigureMethodName();
  }
  public static Object propertyMacro_GetValue_16_8(final PropertyMacroContext _context) {
    return (String) IGeneratedToClass__BehaviorDescriptor.getGeneratedClassName_idO$iR4JBsSg.invoke(_context.getNode());
  }
  public static Object propertyMacro_GetValue_21_0(final PropertyMacroContext _context) {
    return (String) Icon__BehaviorDescriptor.getResourceId_id2p1v3tOadt0.invoke(_context.getNode());
  }
  public static Object propertyMacro_GetValue_22_0(final PropertyMacroContext _context) {
    SNode rc = SLinkOperations.getTarget(SNodeOperations.cast(SLinkOperations.getTarget(_context.getNode(), LINKS.creator$BsHW), CONCEPTS.DummyRunConfigurationInitializer$KX), LINKS.configuration$8YRo);
    return (String) IGeneratedToClass__BehaviorDescriptor.getFullName_idO$iR4JBsSv.invoke(rc);
  }
  public static Object referenceMacro_GetReferent_0_0(final ReferenceMacroContext _context) {
    return _context.getOutputNodeByInputNodeAndMappingLabel(ConfigurationFromExecutorReference__BehaviorDescriptor.getExecutor_id6LlKjXrML19.invoke(_context.getNode()), "ExecutorToConfigurationField");
  }
  public static Object referenceMacro_GetReferent_1_0(final ReferenceMacroContext _context) {
    return _context.getOutputNodeByInputNodeAndMappingLabel(SLinkOperations.getTarget(_context.getNode(), LINKS.configuration$CM7P), "ConfigurationToClass");
  }
  public static Object referenceMacro_GetReferent_1_1(final ReferenceMacroContext _context) {
    return _context.getOutputNodeByInputNodeAndMappingLabel(SLinkOperations.getTarget(_context.getNode(), LINKS.configuration$CM7P), "ConfigurationToClass");
  }
  public static Object referenceMacro_GetReferent_3_0(final ReferenceMacroContext _context) {
    return Sequence.fromIterable(ClassConcept__BehaviorDescriptor.constructors_id4_LVZ3pCvsd.invoke(_context.getOutputNodeByInputNodeAndMappingLabel(RunConfiguration__BehaviorDescriptor.getExecutor_id3gs394eDyIj.invoke(_context.getNode()), "ExecutorToClass"))).first();
  }
  public static Object referenceMacro_GetReferent_3_1(final ReferenceMacroContext _context) {
    return _context.getOutputNodeByInputNodeAndMappingLabel(_context.getNode(), "ConfigurationToClass");
  }
  public static Object referenceMacro_GetReferent_3_2(final ReferenceMacroContext _context) {
    return _context.getOutputNodeByInputNodeAndMappingLabel(_context.getNode(), "ConfigurationToClass");
  }
  public static Object referenceMacro_GetReferent_3_3(final ReferenceMacroContext _context) {
    return _context.getOutputNodeByInputNodeAndMappingLabel(_context.getNode(), "ConfigurationToClass");
  }
  public static Object referenceMacro_GetReferent_3_4(final ReferenceMacroContext _context) {
    return _context.getOutputNodeByInputNodeAndMappingLabel(_context.getNode(), "ConfigurationToClass");
  }
  public static Object referenceMacro_GetReferent_3_5(final ReferenceMacroContext _context) {
    return Sequence.fromIterable(ClassConcept__BehaviorDescriptor.constructors_id4_LVZ3pCvsd.invoke(_context.getOutputNodeByInputNodeAndMappingLabel(_context.getNode(), "ConfigurationToEditorClass"))).first();
  }
  public static Object referenceMacro_GetReferent_3_6(final ReferenceMacroContext _context) {
    return _context.getOutputNodeByInputNodeAndMappingLabel(_context.getNode(), "PersistentPropertyToField");
  }
  public static Object referenceMacro_GetReferent_5_0(final ReferenceMacroContext _context) {
    return _context.getOutputNodeByInputNodeAndMappingLabel(_context.getNode(), "PersitentTemplatePropertyToEditorFieldDeclaration");
  }
  public static Object referenceMacro_GetReferent_5_1(final ReferenceMacroContext _context) {
    return _context.getOutputNodeByInputNodeAndMappingLabel(_context.getNode(), "PersitentTemplatePropertyToEditorParameter");
  }
  public static Object referenceMacro_GetReferent_6_0(final ReferenceMacroContext _context) {
    return _context.getOutputNodeByInputNodeAndMappingLabel(SNodeOperations.cast(SNodeOperations.getContainingRoot(_context.getNode()), CONCEPTS.AbstractRunConfigurationExecutor$Fp), "ExecutorToConfigurationField");
  }
  public static Object referenceMacro_GetReferent_9_0(final ReferenceMacroContext _context) {
    return _context.getOutputNodeByInputNodeAndMappingLabel(_context.getNode(), "ConfigurationToClass");
  }
  public static Object referenceMacro_GetReferent_9_1(final ReferenceMacroContext _context) {
    return _context.getOutputNodeByInputNodeAndMappingLabel(_context.getNode(), "ConfigurationToClass");
  }
  public static Object referenceMacro_GetReferent_9_2(final ReferenceMacroContext _context) {
    return _context.getOutputNodeByInputNodeAndMappingLabel(_context.getNode(), "RunConfigurationProducerToClass");
  }
  public static Object referenceMacro_GetReferent_9_3(final ReferenceMacroContext _context) {
    return "getProducers";
  }
  public static Object referenceMacro_GetReferent_9_4(final ReferenceMacroContext _context) {
    return _context.getOutputNodeByInputNodeAndMappingLabel(_context.getNode(), "ConfigurationToClass");
  }
  public static Object referenceMacro_GetReferent_10_0(final ReferenceMacroContext _context) {
    SNode configurationType = TypecheckingFacade.getFromContext().coerceType(TypecheckingFacade.getFromContext().getTypeOf(_context.getNode()), CONCEPTS.PersistentConfigurationType$MR);
    return _context.getOutputNodeByInputNodeAndMappingLabel(SLinkOperations.getTarget(configurationType, LINKS.persistentConfiguration$QL_P), "ConfigurationToClass");
  }
  public static Object referenceMacro_GetReferent_12_0(final ReferenceMacroContext _context) {
    return (SLinkOperations.getTarget(_context.getNode(), LINKS.concept$A$QI) == null ? SLinkOperations.getTarget(_quotation_createNode_x583g4_a0a0a67(), LINKS.concept$WQBy) : SLinkOperations.getTarget(_context.getNode(), LINKS.concept$A$QI));
  }
  public static Object referenceMacro_GetReferent_12_1(final ReferenceMacroContext _context) {
    return (SLinkOperations.getTarget(_context.getNode(), LINKS.concept$AngM) == null ? SLinkOperations.getTarget(_quotation_createNode_x583g4_a0a0a77(), LINKS.concept$WQBy) : SLinkOperations.getTarget(_context.getNode(), LINKS.concept$AngM));
  }
  public static Object referenceMacro_GetReferent_13_0(final ReferenceMacroContext _context) {
    return Sequence.fromIterable(ClassConcept__BehaviorDescriptor.constructors_id4_LVZ3pCvsd.invoke(_context.getOutputNodeByInputNodeAndMappingLabel(_context.getNode(), "RunConfigurationProducerPartToClass"))).first();
  }
  public static Object referenceMacro_GetReferent_14_0(final ReferenceMacroContext _context) {
    return SLinkOperations.getTarget(_context.getNode(), LINKS.concept$A$QI);
  }
  public static Object referenceMacro_GetReferent_14_1(final ReferenceMacroContext _context) {
    return SLinkOperations.getTarget(_context.getNode(), LINKS.concept$AngM);
  }
  public static Object referenceMacro_GetReferent_16_0(final ReferenceMacroContext _context) {
    return _context.getOutputNodeByInputNodeAndMappingLabel(_context.getNode(), "BeforeTaskParameterToField");
  }
  public static Object referenceMacro_GetReferent_17_0(final ReferenceMacroContext _context) {
    return Sequence.fromIterable(ClassConcept__BehaviorDescriptor.constructors_id4_LVZ3pCvsd.invoke(_context.getOutputNodeByInputNodeAndMappingLabel(_context.getNode(), "BeforeTaskToClass"))).first();
  }
  public static boolean ifMacro_Condition_1_0(final IfMacroContext _context) {
    return (SLinkOperations.getTarget(_context.getNode(), LINKS.debuggerConfiguration$vTxu) != null);
  }
  public static boolean ifMacro_Condition_1_1(final IfMacroContext _context) {
    return (boolean) RunConfigurationExecutor__BehaviorDescriptor.isDebuggable_idoym_8btfV8.invoke(_context.getNode());
  }
  public static boolean ifMacro_Condition_1_2(final IfMacroContext _context) {
    return SPropertyOperations.getBoolean(_context.getNode(), PROPS.canRun$gS0N);
  }
  public static boolean ifMacro_Condition_1_3(final IfMacroContext _context) {
    return (boolean) RunConfigurationExecutor__BehaviorDescriptor.isDebuggable_idoym_8btfV8.invoke(_context.getNode());
  }
  public static boolean ifMacro_Condition_1_4(final IfMacroContext _context) {
    return (boolean) RunConfigurationExecutor__BehaviorDescriptor.isDebuggable_idoym_8btfV8.invoke(_context.getNode());
  }
  public static boolean ifMacro_Condition_3_0(final IfMacroContext _context) {
    return (RunConfiguration__BehaviorDescriptor.getExecutor_id3gs394eDyIj.invoke(_context.getNode()) != null);
  }
  public static boolean ifMacro_Condition_3_1(final IfMacroContext _context) {
    return (RunConfiguration__BehaviorDescriptor.getExecutor_id3gs394eDyIj.invoke(_context.getNode()) != null);
  }
  public static boolean ifMacro_Condition_8_0(final IfMacroContext _context) {
    return (SLinkOperations.getTarget(_context.getNode(), LINKS.tool$8wlU) == null);
  }
  public static boolean ifMacro_Condition_8_1(final IfMacroContext _context) {
    return SNodeOperations.isInstanceOf(SLinkOperations.getTarget(_context.getNode(), LINKS.tool$8wlU), CONCEPTS.NamedTupleLiteral$rD);
  }
  public static boolean ifMacro_Condition_13_0(final IfMacroContext _context) {
    return SNodeOperations.isInstanceOf(SLinkOperations.getTarget(_context.getNode(), LINKS.source$R_xo), CONCEPTS.ProjectSource$rr);
  }
  public static boolean ifMacro_Condition_13_1(final IfMacroContext _context) {
    return (SLinkOperations.getTarget(_context.getNode(), LINKS.isConfigurationFromContext$yPZZ) != null);
  }
  public static boolean ifMacro_Condition_17_0(final IfMacroContext _context) {
    return ListSequence.fromList(SModelOperations.roots(_context.getInputModel(), CONCEPTS.BeforeTask$oR)).isNotEmpty();
  }
  public static SNode sourceNodeQuery_0_0(final SourceSubstituteMacroNodeContext _context) {
    return SLinkOperations.getTarget(SNodeOperations.getNodeAncestor(_context.getNode(), CONCEPTS.RunConfigurationProducerPart$x7, false, false), LINKS.source$R_xo);
  }
  public static SNode sourceNodeQuery_0_1(final SourceSubstituteMacroNodeContext _context) {
    return SLinkOperations.getTarget(SLinkOperations.getTarget(_context.getNode(), LINKS.variableDeclaration$N1XG), LINKS.type$a1UY);
  }
  public static SNode sourceNodeQuery_0_2(final SourceSubstituteMacroNodeContext _context) {
    return SLinkOperations.getTarget(SNodeOperations.cast(SLinkOperations.getTarget(_context.getNode(), LINKS.creator$BsHW), CONCEPTS.ConsoleCreator$mj), LINKS.project$qolH);
  }
  public static SNode sourceNodeQuery_0_3(final SourceSubstituteMacroNodeContext _context) {
    return SLinkOperations.getTarget(SNodeOperations.cast(SLinkOperations.getTarget(_context.getNode(), LINKS.creator$BsHW), CONCEPTS.ConsoleCreator$mj), LINKS.viewer$qo$I);
  }
  public static SNode sourceNodeQuery_1_0(final SourceSubstituteMacroNodeContext _context) {
    return SLinkOperations.getTarget(_context.getNode(), LINKS.debuggerConfiguration$vTxu);
  }
  public static SNode sourceNodeQuery_8_0(final SourceSubstituteMacroNodeContext _context) {
    return SLinkOperations.getTarget(_context.getNode(), LINKS.expression$eJ92);
  }
  public static SNode sourceNodeQuery_8_1(final SourceSubstituteMacroNodeContext _context) {
    return SLinkOperations.getTarget(_context.getNode(), LINKS.expression$eJ92);
  }
  public static SNode sourceNodeQuery_8_2(final SourceSubstituteMacroNodeContext _context) {
    return (SNode) StartProcessHandlerStatement__BehaviorDescriptor.getListener_id1ovLDatOkE5.invoke(_context.getNode());
  }
  public static SNode sourceNodeQuery_8_3(final SourceSubstituteMacroNodeContext _context) {
    return (SNode) StartProcessHandlerStatement__BehaviorDescriptor.getComponent_id1ovLDatOk_Z.invoke(_context.getNode());
  }
  public static SNode sourceNodeQuery_8_4(final SourceSubstituteMacroNodeContext _context) {
    return (SNode) StartProcessHandlerStatement__BehaviorDescriptor.getDispose_id1ovLDatOkDx.invoke(_context.getNode());
  }
  public static SNode sourceNodeQuery_8_5(final SourceSubstituteMacroNodeContext _context) {
    return SLinkOperations.getTarget(_context.getNode(), LINKS.expression$eJ92);
  }
  public static SNode sourceNodeQuery_8_6(final SourceSubstituteMacroNodeContext _context) {
    return SLinkOperations.getTarget(_context.getNode(), LINKS.tool$8wlU);
  }
  public static SNode sourceNodeQuery_9_0(final SourceSubstituteMacroNodeContext _context) {
    return SLinkOperations.getTarget(_context.getNode(), LINKS.icon$iuoK);
  }
  public static SNode sourceNodeQuery_13_0(final SourceSubstituteMacroNodeContext _context) {
    return SLinkOperations.getTarget(_context.getNode(), LINKS.source$R_xo);
  }
  public static SNode sourceNodeQuery_13_1(final SourceSubstituteMacroNodeContext _context) {
    return SLinkOperations.getTarget(_context.getNode(), LINKS.source$R_xo);
  }
  public static SNode sourceNodeQuery_13_2(final SourceSubstituteMacroNodeContext _context) {
    return SLinkOperations.getTarget(SNodeOperations.cast(SNodeOperations.getContainingRoot(_context.getNode()), CONCEPTS.RunConfigurationProducer$AW), LINKS.configuration$H39x);
  }
  public static SNode sourceNodeQuery_13_3(final SourceSubstituteMacroNodeContext _context) {
    return SLinkOperations.getTarget(_context.getNode(), LINKS.source$R_xo);
  }
  public static SNode sourceNodeQuery_13_4(final SourceSubstituteMacroNodeContext _context) {
    return SLinkOperations.getTarget(SNodeOperations.cast(SNodeOperations.getContainingRoot(_context.getNode()), CONCEPTS.RunConfigurationProducer$AW), LINKS.configuration$H39x);
  }
  public static SNode sourceNodeQuery_13_5(final SourceSubstituteMacroNodeContext _context) {
    return SLinkOperations.getTarget(SNodeOperations.cast(SNodeOperations.getContainingRoot(_context.getNode()), CONCEPTS.RunConfigurationProducer$AW), LINKS.configuration$H39x);
  }
  public static SNode sourceNodeQuery_13_6(final SourceSubstituteMacroNodeContext _context) {
    return SLinkOperations.getTarget(SNodeOperations.cast(SNodeOperations.getContainingRoot(_context.getNode()), CONCEPTS.RunConfigurationProducer$AW), LINKS.configuration$H39x);
  }
  public static SNode sourceNodeQuery_15_0(final SourceSubstituteMacroNodeContext _context) {
    return SLinkOperations.getTarget(SNodeOperations.cast(SLinkOperations.getTarget(_context.getNode(), LINKS.creator$BsHW), CONCEPTS.RunConfigurationCreator$WE), LINKS.configurationName$k2P_);
  }
  public static SNode sourceNodeQuery_16_0(final SourceSubstituteMacroNodeContext _context) {
    return SLinkOperations.getTarget(_context.getNode(), LINKS.type$a1UY);
  }
  public static SNode sourceNodeQuery_16_1(final SourceSubstituteMacroNodeContext _context) {
    return SLinkOperations.getTarget(_context.getNode(), LINKS.initializer$2twD);
  }
  public static SNode sourceNodeQuery_16_2(final SourceSubstituteMacroNodeContext _context) {
    return SLinkOperations.getTarget(_context.getNode(), LINKS.type$a1UY);
  }
  public static SNode sourceNodeQuery_16_3(final SourceSubstituteMacroNodeContext _context) {
    return SLinkOperations.getTarget(_context.getNode(), LINKS.type$a1UY);
  }
  public static SNode sourceNodeQuery_21_0(final SourceSubstituteMacroNodeContext _context) {
    return SLinkOperations.getTarget(_context.getNode(), LINKS.iconExpression$tVgU);
  }
  public static SNode sourceNodeQuery_22_0(final SourceSubstituteMacroNodeContext _context) {
    return SLinkOperations.getTarget(SNodeOperations.cast(SLinkOperations.getTarget(_context.getNode(), LINKS.creator$BsHW), CONCEPTS.DummyRunConfigurationInitializer$KX), LINKS.projectParameter$H5fk);
  }
  public static Iterable<SNode> sourceNodesQuery_1_0(final SourceSubstituteMacroNodesContext _context) {
    return SLinkOperations.getChildren(SLinkOperations.getTarget(SLinkOperations.getTarget(_context.getNode(), LINKS.execute$95i7), LINKS.body$e68K), LINKS.statement$53DE);
  }
  public static Iterable<SNode> sourceNodesQuery_3_0(final SourceSubstituteMacroNodesContext _context) {
    return ListSequence.fromList(SLinkOperations.getChildren(_context.getNode(), LINKS.persistentProperty$YKAP)).where((it) -> (boolean) PersistentPropertyDeclaration__BehaviorDescriptor.isTemplate_idO$iR4J$g8G.invoke(it));
  }
  public static Iterable<SNode> sourceNodesQuery_3_1(final SourceSubstituteMacroNodesContext _context) {
    List<SNode> beforeTaskCalls = check_x583g4_a0a0ue(RunConfiguration__BehaviorDescriptor.getExecutor_id3gs394eDyIj.invoke(_context.getNode()));
    if (beforeTaskCalls == null) {
      return new ArrayList<SNode>();
    }
    return beforeTaskCalls;
  }
  public static Iterable<SNode> sourceNodesQuery_3_2(final SourceSubstituteMacroNodesContext _context) {
    return SLinkOperations.getChildren(_context.getNode(), LINKS.parameter$wCAy);
  }
  public static Iterable<SNode> sourceNodesQuery_3_3(final SourceSubstituteMacroNodesContext _context) {
    List<SNode> beforeTaskCalls = check_x583g4_a0a0we(RunConfiguration__BehaviorDescriptor.getExecutor_id3gs394eDyIj.invoke(_context.getNode()));
    if (beforeTaskCalls == null) {
      return new ArrayList<SNode>();
    }
    return beforeTaskCalls;
  }
  public static Iterable<SNode> sourceNodesQuery_5_0(final SourceSubstituteMacroNodesContext _context) {
    return (List<SNode>) PersistentConfiguration__BehaviorDescriptor.getTemplateProperties_idO$iR4J$g3e.invoke(_context.getNode());
  }
  public static Iterable<SNode> sourceNodesQuery_5_1(final SourceSubstituteMacroNodesContext _context) {
    return (List<SNode>) PersistentConfiguration__BehaviorDescriptor.getTemplateProperties_idO$iR4J$g3e.invoke(_context.getNode());
  }
  public static Iterable<SNode> sourceNodesQuery_9_0(final SourceSubstituteMacroNodesContext _context) {
    return ListSequence.fromList(SModelOperations.roots(_context.getInputModel(), CONCEPTS.RunConfiguration$B$)).where((it) -> SLinkOperations.getTarget(it, LINKS.configurationKind$$GNc) == _context.getNode());
  }
  public static Iterable<SNode> sourceNodesQuery_9_1(final SourceSubstituteMacroNodesContext _context) {
    return SModelOperations.roots(_context.getInputModel(), CONCEPTS.RunConfigurationKind$C3);
  }
  public static Iterable<SNode> sourceNodesQuery_9_2(final SourceSubstituteMacroNodesContext _context) {
    // XXX in fact, with generic addFactoryFor(), there's no sense to distinguish 'foreign' factories,
    return ListSequence.fromList(SModelOperations.roots(_context.getInputModel(), CONCEPTS.RunConfiguration$B$)).where((it) -> (boolean) RunConfiguration__BehaviorDescriptor.isForeign_id3wpI_WC06mf.invoke(it));
  }
  public static Iterable<SNode> sourceNodesQuery_9_3(final SourceSubstituteMacroNodesContext _context) {
    return SModelOperations.roots(_context.getInputModel(), CONCEPTS.RunConfigurationProducer$AW);
  }
  public static Iterable<SNode> sourceNodesQuery_9_4(final SourceSubstituteMacroNodesContext _context) {
    return ListSequence.fromList(SModelOperations.roots(_context.getInputModel(), CONCEPTS.RunConfiguration$B$)).where((it) -> (boolean) RunConfiguration__BehaviorDescriptor.isForeign_id3wpI_WC06mf.invoke(it));
  }
  public static Iterable<SNode> sourceNodesQuery_13_0(final SourceSubstituteMacroNodesContext _context) {
    return SLinkOperations.getChildren(_context.getNode(), LINKS.produce$hvdx);
  }
  public static Iterable<SNode> sourceNodesQuery_13_1(final SourceSubstituteMacroNodesContext _context) {
    return SLinkOperations.getChildren(_context.getNode(), LINKS.produce$hvdx);
  }
  public static Iterable<SNode> sourceNodesQuery_13_2(final SourceSubstituteMacroNodesContext _context) {
    return SLinkOperations.getChildren(SLinkOperations.getTarget(SLinkOperations.getTarget(_context.getNode(), LINKS.create$OxVc), LINKS.body$e68K), LINKS.statement$53DE);
  }
  public static Iterable<SNode> sourceNodesQuery_13_3(final SourceSubstituteMacroNodesContext _context) {
    return SLinkOperations.getChildren(SLinkOperations.getTarget(SLinkOperations.getTarget(_context.getNode(), LINKS.isConfigurationFromContext$yPZZ), LINKS.body$e68K), LINKS.statement$53DE);
  }
  public static Iterable<SNode> sourceNodesQuery_16_0(final SourceSubstituteMacroNodesContext _context) {
    return SLinkOperations.getChildren(_context.getNode(), LINKS.parameter$GAuy);
  }
  public static Iterable<SNode> sourceNodesQuery_16_1(final SourceSubstituteMacroNodesContext _context) {
    return SLinkOperations.getChildren(_context.getNode(), LINKS.parameter$GAuy);
  }
  public static Iterable<SNode> sourceNodesQuery_16_2(final SourceSubstituteMacroNodesContext _context) {
    return SLinkOperations.getChildren(_context.getNode(), LINKS.parameter$GAuy);
  }
  public static Iterable<SNode> sourceNodesQuery_16_3(final SourceSubstituteMacroNodesContext _context) {
    return SLinkOperations.getChildren(SLinkOperations.getTarget(SLinkOperations.getTarget(_context.getNode(), LINKS.execute$Plkp), LINKS.body$e68K), LINKS.statement$53DE);
  }
  public static Iterable<SNode> sourceNodesQuery_17_0(final SourceSubstituteMacroNodesContext _context) {
    return SModelOperations.roots(_context.getInputModel(), CONCEPTS.BeforeTask$oR);
  }
  public static SNode weavingRule_ContextQuery_0_0(final WeavingMappingRuleContext _context) {
    return _context.getOutputNodeByInputNodeAndMappingLabel(_context.getNode(), "ConfigurationToClass");
  }
  public static SNode weavingRule_ContextQuery_0_1(final WeavingMappingRuleContext _context) {
    return _context.getOutputNodeByInputNodeAndMappingLabel(_context.getNode(), "ConfigurationToClass");
  }
  public static SNode weavingRule_ContextQuery_0_2(final WeavingMappingRuleContext _context) {
    return _context.getOutputNodeByInputNodeAndMappingLabel(_context.getNode(), "ConfigurationToClass");
  }
  public static SNode weavingRule_ContextQuery_0_3(final WeavingMappingRuleContext _context) {
    return _context.getOutputNodeByInputNodeAndMappingLabel(_context.getNode(), "ConfigurationToEditorClass");
  }
  public static void mappingScript_CodeBlock_18(final MappingScriptContext _context) {
    for (SNode runConfiguration : ListSequence.fromList(SModelOperations.roots(_context.getModel(), CONCEPTS.RunConfiguration$B$))) {
      if ((RunConfiguration__BehaviorDescriptor.getExecutor_id3gs394eDyIj.invoke(runConfiguration) == null)) {
        if (LOG.isErrorLevel()) {
          LOG.error("Configuration " + SPropertyOperations.getString(runConfiguration, PROPS.name$MnvL) + " does not have any executors.");
        }
      }
    }
  }
  private final Map<String, ReductionRuleCondition> rrcMethods = new HashMap<String, ReductionRuleCondition>();
  {
    int i = 0;
    rrcMethods.put("1529002684853883833", new RRC(i++));
    rrcMethods.put("5812151570929690815", new RRC(i++));
    rrcMethods.put("7806358006983771918", new RRC(i++));
    rrcMethods.put("5475888311765592535", new RRC(i++));
    rrcMethods.put("529406319400452326", new RRC(i++));
    rrcMethods.put("2572811016744697055", new RRC(i++));
    rrcMethods.put("1594211126127774368", new RRC(i++));
    rrcMethods.put("33324785353705711", new RRC(i++));
    rrcMethods.put("33324785353733114", new RRC(i++));
    rrcMethods.put("5041115067675932721", new RRC(i++));
    rrcMethods.put("7699828872023591519", new RRC(i++));
    rrcMethods.put("7699828872023701921", 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_0(ctx);
        case 1:
          return QueriesGenerated.rule_Condition_0_1(ctx);
        case 2:
          return QueriesGenerated.rule_Condition_0_2(ctx);
        case 3:
          return QueriesGenerated.rule_Condition_0_3(ctx);
        case 4:
          return QueriesGenerated.rule_Condition_0_4(ctx);
        case 5:
          return QueriesGenerated.rule_Condition_0_5(ctx);
        case 6:
          return QueriesGenerated.rule_Condition_0_6(ctx);
        case 7:
          return QueriesGenerated.rule_Condition_0_7(ctx);
        case 8:
          return QueriesGenerated.rule_Condition_0_8(ctx);
        case 9:
          return QueriesGenerated.rule_Condition_0_9(ctx);
        case 10:
          return QueriesGenerated.rule_Condition_21_0(ctx);
        case 11:
          return QueriesGenerated.rule_Condition_21_1(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, CreateRootCondition> crcMethods = new HashMap<String, CreateRootCondition>();
  {
    int i = 0;
    crcMethods.put("7525857397534029037", new CRC(i++));
    crcMethods.put("3726880020403337398", new CRC(i++));
  }
  @Override
  @NotNull
  public CreateRootCondition getCreateRootRuleCondition(@NotNull QueryKey identity) {
    CreateRootCondition query = identity.forTemplateNode(crcMethods);
    return (query != null ? query : super.getCreateRootRuleCondition(identity));
  }
  private static class CRC implements CreateRootCondition {
    private final int methodKey;
    public CRC(int methodKey) {
      this.methodKey = methodKey;
    }
    @Override
    public boolean check(@NotNull CreateRootRuleContext ctx) throws GenerationFailureException {
      switch (methodKey) {
        case 0:
          return QueriesGenerated.createRootRule_Condition_0_0(ctx);
        case 1:
          return QueriesGenerated.createRootRule_Condition_0_1(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("666608846720189929", new WRQ(i++));
    wrcnMethods.put("666608846720191913", new WRQ(i++));
    wrcnMethods.put("666608846720246032", new WRQ(i++));
    wrcnMethods.put("7684700299064340034", 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 true;
        case 1:
          return true;
        case 2:
          return true;
        case 3:
          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);
        case 2:
          return QueriesGenerated.weavingRule_ContextQuery_0_2(ctx);
        case 3:
          return QueriesGenerated.weavingRule_ContextQuery_0_3(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;
        case 2:
          return null;
        case 3:
          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("2535050848643235298", 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_18(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("5703615523638516753", new SNQ(i++));
    snqMethods.put("6550182048787667285", new SNQ(i++));
    snqMethods.put("7236226861153164675", new SNQ(i++));
    snqMethods.put("7236226861153164693", new SNQ(i++));
    snqMethods.put("2363787617167837005", new SNQ(i++));
    snqMethods.put("4762811064051426913", new SNQ(i++));
    snqMethods.put("1594211126127687798", new SNQ(i++));
    snqMethods.put("1594211126127708920", new SNQ(i++));
    snqMethods.put("1594211126127687852", new SNQ(i++));
    snqMethods.put("1594211126127708908", new SNQ(i++));
    snqMethods.put("7236226861153318862", new SNQ(i++));
    snqMethods.put("7236226861153318943", new SNQ(i++));
    snqMethods.put("6565560734627549315", new SNQ(i++));
    snqMethods.put("7952658987872141374", new SNQ(i++));
    snqMethods.put("5703615523638509647", new SNQ(i++));
    snqMethods.put("2572811016744673860", new SNQ(i++));
    snqMethods.put("5703615523638516717", new SNQ(i++));
    snqMethods.put("7160741870858198830", new SNQ(i++));
    snqMethods.put("7160741870857935932", new SNQ(i++));
    snqMethods.put("7160741870858169327", new SNQ(i++));
    snqMethods.put("5825295716508143446", new SNQ(i++));
    snqMethods.put("6550182048787667085", new SNQ(i++));
    snqMethods.put("6550182048787667120", new SNQ(i++));
    snqMethods.put("2137130439060046342", new SNQ(i++));
    snqMethods.put("2137130439060046380", new SNQ(i++));
    snqMethods.put("7699828872023715321", new SNQ(i++));
    snqMethods.put("2181232403823067896", 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_1_0(ctx);
        case 5:
          return QueriesGenerated.sourceNodeQuery_8_0(ctx);
        case 6:
          return QueriesGenerated.sourceNodeQuery_8_1(ctx);
        case 7:
          return QueriesGenerated.sourceNodeQuery_8_2(ctx);
        case 8:
          return QueriesGenerated.sourceNodeQuery_8_3(ctx);
        case 9:
          return QueriesGenerated.sourceNodeQuery_8_4(ctx);
        case 10:
          return QueriesGenerated.sourceNodeQuery_8_5(ctx);
        case 11:
          return QueriesGenerated.sourceNodeQuery_8_6(ctx);
        case 12:
          return QueriesGenerated.sourceNodeQuery_9_0(ctx);
        case 13:
          return QueriesGenerated.sourceNodeQuery_13_0(ctx);
        case 14:
          return QueriesGenerated.sourceNodeQuery_13_1(ctx);
        case 15:
          return QueriesGenerated.sourceNodeQuery_13_2(ctx);
        case 16:
          return QueriesGenerated.sourceNodeQuery_13_3(ctx);
        case 17:
          return QueriesGenerated.sourceNodeQuery_13_4(ctx);
        case 18:
          return QueriesGenerated.sourceNodeQuery_13_5(ctx);
        case 19:
          return QueriesGenerated.sourceNodeQuery_13_6(ctx);
        case 20:
          return QueriesGenerated.sourceNodeQuery_15_0(ctx);
        case 21:
          return QueriesGenerated.sourceNodeQuery_16_0(ctx);
        case 22:
          return QueriesGenerated.sourceNodeQuery_16_1(ctx);
        case 23:
          return QueriesGenerated.sourceNodeQuery_16_2(ctx);
        case 24:
          return QueriesGenerated.sourceNodeQuery_16_3(ctx);
        case 25:
          return QueriesGenerated.sourceNodeQuery_21_0(ctx);
        case 26:
          return QueriesGenerated.sourceNodeQuery_22_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("5812151570929671916", new SNsQ(i++));
    snsqMethods.put("6139196002333142804", new SNsQ(i++));
    snsqMethods.put("8762838362355078470", new SNsQ(i++));
    snsqMethods.put("5475888311765506548", new SNsQ(i++));
    snsqMethods.put("5475888311765497814", new SNsQ(i++));
    snsqMethods.put("3257967158569773517", new SNsQ(i++));
    snsqMethods.put("7684700299064368359", new SNsQ(i++));
    snsqMethods.put("7699828872024457450", new SNsQ(i++));
    snsqMethods.put("3945544195318608418", new SNsQ(i++));
    snsqMethods.put("4042467058397505459", new SNsQ(i++));
    snsqMethods.put("4013739085301550929", new SNsQ(i++));
    snsqMethods.put("738510297334286726", new SNsQ(i++));
    snsqMethods.put("4013739085301519663", new SNsQ(i++));
    snsqMethods.put("4013739085301519610", new SNsQ(i++));
    snsqMethods.put("4013739085301552825", new SNsQ(i++));
    snsqMethods.put("6471875070949101900", new SNsQ(i++));
    snsqMethods.put("6550182048787659829", new SNsQ(i++));
    snsqMethods.put("2137130439060046349", new SNsQ(i++));
    snsqMethods.put("2137130439060046395", new SNsQ(i++));
    snsqMethods.put("4929913054057211163", new SNsQ(i++));
    snsqMethods.put("3726880020403335450", 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_1_0(ctx));
        case 1:
          return IterableUtil.asCollection(QueriesGenerated.sourceNodesQuery_3_0(ctx));
        case 2:
          return IterableUtil.asCollection(QueriesGenerated.sourceNodesQuery_3_1(ctx));
        case 3:
          return IterableUtil.asCollection(QueriesGenerated.sourceNodesQuery_3_2(ctx));
        case 4:
          return IterableUtil.asCollection(QueriesGenerated.sourceNodesQuery_3_3(ctx));
        case 5:
          return IterableUtil.asCollection(QueriesGenerated.sourceNodesQuery_5_0(ctx));
        case 6:
          return IterableUtil.asCollection(QueriesGenerated.sourceNodesQuery_5_1(ctx));
        case 7:
          return IterableUtil.asCollection(QueriesGenerated.sourceNodesQuery_9_0(ctx));
        case 8:
          return IterableUtil.asCollection(QueriesGenerated.sourceNodesQuery_9_1(ctx));
        case 9:
          return IterableUtil.asCollection(QueriesGenerated.sourceNodesQuery_9_2(ctx));
        case 10:
          return IterableUtil.asCollection(QueriesGenerated.sourceNodesQuery_9_3(ctx));
        case 11:
          return IterableUtil.asCollection(QueriesGenerated.sourceNodesQuery_9_4(ctx));
        case 12:
          return IterableUtil.asCollection(QueriesGenerated.sourceNodesQuery_13_0(ctx));
        case 13:
          return IterableUtil.asCollection(QueriesGenerated.sourceNodesQuery_13_1(ctx));
        case 14:
          return IterableUtil.asCollection(QueriesGenerated.sourceNodesQuery_13_2(ctx));
        case 15:
          return IterableUtil.asCollection(QueriesGenerated.sourceNodesQuery_13_3(ctx));
        case 16:
          return IterableUtil.asCollection(QueriesGenerated.sourceNodesQuery_16_0(ctx));
        case 17:
          return IterableUtil.asCollection(QueriesGenerated.sourceNodesQuery_16_1(ctx));
        case 18:
          return IterableUtil.asCollection(QueriesGenerated.sourceNodesQuery_16_2(ctx));
        case 19:
          return IterableUtil.asCollection(QueriesGenerated.sourceNodesQuery_16_3(ctx));
        case 20:
          return IterableUtil.asCollection(QueriesGenerated.sourceNodesQuery_17_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("5703615523638516741", new PVQ(i++, MetaAdapterFactory.getProperty(0xdf345b11b8c74213L, 0xac6648d2a9b75d88L, 0x111fb5bb1f2L, 0x111fb5dbc49L, "name"), "source"));
    pvqMethods.put("6471875070949485997", new PVQ(i++, MetaAdapterFactory.getProperty(0xdf345b11b8c74213L, 0xac6648d2a9b75d88L, 0x111fb5bb1f2L, 0x111fb5dbc49L, "name"), "runConfiguration"));
    pvqMethods.put("6471875070949943433", new PVQ(i++, MetaAdapterFactory.getProperty(0xdf345b11b8c74213L, 0xac6648d2a9b75d88L, 0x111fb5bb1f2L, 0x111fb5dbc49L, "name"), "configurationContext"));
    pvqMethods.put("529406319400452347", new PVQ(i++, MetaAdapterFactory.getProperty(0xdf345b11b8c74213L, 0xac6648d2a9b75d88L, 0x1118e558c6dL, 0x1118e56212bL, "fqClassName"), "class.fq.name"));
    pvqMethods.put("4414733712826635958", new PVQ(i++, MetaAdapterFactory.getProperty(0xdf345b11b8c74213L, 0xac6648d2a9b75d88L, 0x1118e558c6dL, 0x1118e56212bL, "fqClassName"), "class.fq.name"));
    pvqMethods.put("6550182048787667297", new PVQ(i++, MetaAdapterFactory.getProperty(0xdf345b11b8c74213L, 0xac6648d2a9b75d88L, 0x1122dd58737L, 0x1122dd65055L, "fieldName"), "myField"));
    pvqMethods.put("7806358006983709819", new PVQ(i++, MetaAdapterFactory.getProperty(0xceab519525ea4f22L, 0x9b92103b95ca8c0cL, 0x110396eaaa4L, 0x110396ec041L, "name"), "myRunConfiguration"));
    pvqMethods.put("6226796386650472773", new PVQ(i++, MetaAdapterFactory.getProperty(0xdf345b11b8c74213L, 0xac6648d2a9b75d88L, 0x1115749abe3L, 0x1115767a8eeL, "fqClassName"), "CommandClass"));
    pvqMethods.put("6226796386650472783", new PVQ(i++, MetaAdapterFactory.getProperty(0xdf345b11b8c74213L, 0xac6648d2a9b75d88L, 0x1115749abe3L, 0x111576710b3L, "methodName"), "method"));
    pvqMethods.put("6226796386650491265", new PVQ(i++, MetaAdapterFactory.getProperty(0xceab519525ea4f22L, 0x9b92103b95ca8c0cL, 0x110396eaaa4L, 0x110396ec041L, "name"), "getDebuggerConfiguration"));
    pvqMethods.put("7806358006983618074", new PVQ(i++, MetaAdapterFactory.getProperty(0xceab519525ea4f22L, 0x9b92103b95ca8c0cL, 0x110396eaaa4L, 0x110396ec041L, "name"), "canExecute"));
    pvqMethods.put("3754890006475707275", new PVQ(i++, MetaAdapterFactory.getProperty(0xceab519525ea4f22L, 0x9b92103b95ca8c0cL, 0x110396eaaa4L, 0x110396ec041L, "name"), "ExecutorRunProfileState_Template"));
    pvqMethods.put("7806358006983619351", new PVQ(i++, MetaAdapterFactory.getProperty(0xdf345b11b8c74213L, 0xac6648d2a9b75d88L, 0x1115749abe3L, 0x1115767a8eeL, "fqClassName"), "ExecutorRunProfileState"));
    pvqMethods.put("7806358006983619389", new PVQ(i++, MetaAdapterFactory.getProperty(0xdf345b11b8c74213L, 0xac6648d2a9b75d88L, 0x1115749abe3L, 0x111576710b3L, "methodName"), "canExecute"));
    pvqMethods.put("168610716597091900", new PVQ(i++, MetaAdapterFactory.getProperty(0xdf345b11b8c74213L, 0xac6648d2a9b75d88L, 0x11157912ec1L, 0x1115794e9f1L, "fqClassName"), null));
    pvqMethods.put("8762838362355326255", new PVQ(i++, MetaAdapterFactory.getProperty(0xf3061a5392264cc5L, 0xa443f952ceaf5816L, 0xf8cc56b201L, 0xf8cc56b202L, "value"), "true"));
    pvqMethods.put("7876144211257452122", new PVQ(i++, MetaAdapterFactory.getProperty(0xceab519525ea4f22L, 0x9b92103b95ca8c0cL, 0x110396eaaa4L, 0x110396ec041L, "name"), "createBeforeTaskName"));
    pvqMethods.put("7684700299064368376", new PVQ(i++, MetaAdapterFactory.getProperty(0xdf345b11b8c74213L, 0xac6648d2a9b75d88L, 0x1118e558c6dL, 0x1118e56212bL, "fqClassName"), "SettingsEditor"));
    pvqMethods.put("7684700299064368402", new PVQ(i++, MetaAdapterFactory.getProperty(0xceab519525ea4f22L, 0x9b92103b95ca8c0cL, 0x110396eaaa4L, 0x110396ec041L, "name"), "editor"));
    pvqMethods.put("7684700299064368419", new PVQ(i++, MetaAdapterFactory.getProperty(0xceab519525ea4f22L, 0x9b92103b95ca8c0cL, 0x110396eaaa4L, 0x110396ec041L, "name"), null));
    pvqMethods.put("7699828872023428156", new PVQ(i++, MetaAdapterFactory.getProperty(0xf3061a5392264cc5L, 0xa443f952ceaf5816L, 0xf93d565d10L, 0xf93d565d11L, "value"), "id"));
    pvqMethods.put("7699828872023470529", new PVQ(i++, MetaAdapterFactory.getProperty(0xf3061a5392264cc5L, 0xa443f952ceaf5816L, 0xf93d565d10L, 0xf93d565d11L, "value"), ""));
    pvqMethods.put("7699828872023491134", new PVQ(i++, MetaAdapterFactory.getProperty(0xf3061a5392264cc5L, 0xa443f952ceaf5816L, 0xf93d565d10L, 0xf93d565d11L, "value"), ""));
    pvqMethods.put("8990324920604830231", new PVQ(i++, MetaAdapterFactory.getProperty(0xf3061a5392264cc5L, 0xa443f952ceaf5816L, 0xf93d565d10L, 0xf93d565d11L, "value"), ""));
    pvqMethods.put("8990324920604855104", new PVQ(i++, MetaAdapterFactory.getProperty(0xf3061a5392264cc5L, 0xa443f952ceaf5816L, 0xf93d565d10L, 0xf93d565d11L, "value"), ""));
    pvqMethods.put("7699828872023894013", new PVQ(i++, MetaAdapterFactory.getProperty(0xf3061a5392264cc5L, 0xa443f952ceaf5816L, 0xf93d565d10L, 0xf93d565d11L, "value"), "desiredKind"));
    pvqMethods.put("897795129551477673", new PVQ(i++, MetaAdapterFactory.getProperty(0xf3061a5392264cc5L, 0xa443f952ceaf5816L, 0xf93d565d10L, 0xf93d565d11L, "value"), "desiredKind"));
    pvqMethods.put("738510297334286709", new PVQ(i++, MetaAdapterFactory.getProperty(0xf3061a5392264cc5L, 0xa443f952ceaf5816L, 0xf93d565d10L, 0xf93d565d11L, "value"), "desiredKind"));
    pvqMethods.put("529406319400357393", new PVQ(i++, MetaAdapterFactory.getProperty(0xceab519525ea4f22L, 0x9b92103b95ca8c0cL, 0x110396eaaa4L, 0x110396ec041L, "name"), "RunConfigurationProducerPart_Template"));
    pvqMethods.put("4013739085301519619", new PVQ(i++, MetaAdapterFactory.getProperty(0xceab519525ea4f22L, 0x9b92103b95ca8c0cL, 0x110396eaaa4L, 0x110396ec041L, "name"), "RunConfigurationProducer_Template"));
    pvqMethods.put("6519221734259407643", new PVQ(i++, MetaAdapterFactory.getProperty(0xdf345b11b8c74213L, 0xac6648d2a9b75d88L, 0x1118e558c6dL, 0x1118e56212bL, "fqClassName"), "configuration.name"));
    pvqMethods.put("4929913054057211147", new PVQ(i++, MetaAdapterFactory.getProperty(0xf3061a5392264cc5L, 0xa443f952ceaf5816L, 0xf93d565d10L, 0xf93d565d11L, "value"), "TaskKey"));
    pvqMethods.put("5039342337170185048", new PVQ(i++, MetaAdapterFactory.getProperty(0xf3061a5392264cc5L, 0xa443f952ceaf5816L, 0xf93d565d10L, 0xf93d565d11L, "value"), "name"));
    pvqMethods.put("5039342337170185058", new PVQ(i++, MetaAdapterFactory.getProperty(0xf3061a5392264cc5L, 0xa443f952ceaf5816L, 0xf93d565d10L, 0xf93d565d11L, "value"), "caption"));
    pvqMethods.put("4929913054057210708", new PVQ(i++, MetaAdapterFactory.getProperty(0xceab519525ea4f22L, 0x9b92103b95ca8c0cL, 0x110396eaaa4L, 0x110396ec041L, "name"), "BeforeRunTask_Template"));
    pvqMethods.put("6550182048787659838", new PVQ(i++, MetaAdapterFactory.getProperty(0xceab519525ea4f22L, 0x9b92103b95ca8c0cL, 0x110396eaaa4L, 0x110396ec041L, "name"), "myField"));
    pvqMethods.put("2137130439060046355", new PVQ(i++, MetaAdapterFactory.getProperty(0xceab519525ea4f22L, 0x9b92103b95ca8c0cL, 0x110396eaaa4L, 0x110396ec041L, "name"), "parameter"));
    pvqMethods.put("2137130439060046386", new PVQ(i++, MetaAdapterFactory.getProperty(0xdf345b11b8c74213L, 0xac6648d2a9b75d88L, 0x111fb5bb1f2L, 0x111fb5dbc49L, "name"), "parameter"));
    pvqMethods.put("2137130439060060172", new PVQ(i++, MetaAdapterFactory.getProperty(0xceab519525ea4f22L, 0x9b92103b95ca8c0cL, 0x110396eaaa4L, 0x110396ec041L, "name"), "configure"));
    pvqMethods.put("4929913054057210698", new PVQ(i++, MetaAdapterFactory.getProperty(0xceab519525ea4f22L, 0x9b92103b95ca8c0cL, 0x110396eaaa4L, 0x110396ec041L, "name"), "BeforeTaskProvider_Template"));
    pvqMethods.put("7699828872023605985", new PVQ(i++, MetaAdapterFactory.getProperty(0xf3061a5392264cc5L, 0xa443f952ceaf5816L, 0xf93d565d10L, 0xf93d565d11L, "value"), "iconId"));
    pvqMethods.put("5041115067675811074", new PVQ(i++, MetaAdapterFactory.getProperty(0xdf345b11b8c74213L, 0xac6648d2a9b75d88L, 0x11157a3736dL, 0x11157a64c91L, "fqClassName"), "class.fq.name"));
  }
  @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_1_0(ctx);
        case 7:
          return QueriesGenerated.propertyMacro_GetValue_1_1(ctx);
        case 8:
          return QueriesGenerated.propertyMacro_GetValue_1_2(ctx);
        case 9:
          return QueriesGenerated.propertyMacro_GetValue_1_3(ctx);
        case 10:
          return QueriesGenerated.propertyMacro_GetValue_1_4(ctx);
        case 11:
          return QueriesGenerated.propertyMacro_GetValue_1_5(ctx);
        case 12:
          return QueriesGenerated.propertyMacro_GetValue_3_0(ctx);
        case 13:
          return QueriesGenerated.propertyMacro_GetValue_3_1(ctx);
        case 14:
          return QueriesGenerated.propertyMacro_GetValue_3_2(ctx);
        case 15:
          return QueriesGenerated.propertyMacro_GetValue_3_3(ctx);
        case 16:
          return QueriesGenerated.propertyMacro_GetValue_3_4(ctx);
        case 17:
          return QueriesGenerated.propertyMacro_GetValue_5_0(ctx);
        case 18:
          return QueriesGenerated.propertyMacro_GetValue_5_1(ctx);
        case 19:
          return QueriesGenerated.propertyMacro_GetValue_5_2(ctx);
        case 20:
          return QueriesGenerated.propertyMacro_GetValue_9_0(ctx);
        case 21:
          return QueriesGenerated.propertyMacro_GetValue_9_1(ctx);
        case 22:
          return QueriesGenerated.propertyMacro_GetValue_9_2(ctx);
        case 23:
          return QueriesGenerated.propertyMacro_GetValue_9_3(ctx);
        case 24:
          return QueriesGenerated.propertyMacro_GetValue_9_4(ctx);
        case 25:
          return QueriesGenerated.propertyMacro_GetValue_9_5(ctx);
        case 26:
          return QueriesGenerated.propertyMacro_GetValue_9_6(ctx);
        case 27:
          return QueriesGenerated.propertyMacro_GetValue_9_7(ctx);
        case 28:
          return QueriesGenerated.propertyMacro_GetValue_13_0(ctx);
        case 29:
          return QueriesGenerated.propertyMacro_GetValue_13_1(ctx);
        case 30:
          return QueriesGenerated.propertyMacro_GetValue_15_0(ctx);
        case 31:
          return QueriesGenerated.propertyMacro_GetValue_16_0(ctx);
        case 32:
          return QueriesGenerated.propertyMacro_GetValue_16_1(ctx);
        case 33:
          return QueriesGenerated.propertyMacro_GetValue_16_2(ctx);
        case 34:
          return QueriesGenerated.propertyMacro_GetValue_16_3(ctx);
        case 35:
          return QueriesGenerated.propertyMacro_GetValue_16_4(ctx);
        case 36:
          return QueriesGenerated.propertyMacro_GetValue_16_5(ctx);
        case 37:
          return QueriesGenerated.propertyMacro_GetValue_16_6(ctx);
        case 38:
          return QueriesGenerated.propertyMacro_GetValue_16_7(ctx);
        case 39:
          return QueriesGenerated.propertyMacro_GetValue_16_8(ctx);
        case 40:
          return QueriesGenerated.propertyMacro_GetValue_21_0(ctx);
        case 41:
          return QueriesGenerated.propertyMacro_GetValue_22_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, IfMacroCondition> imcMethods = new HashMap<String, IfMacroCondition>();
  {
    int i = 0;
    imcMethods.put("6226796386650441486", new IfMC(i++));
    imcMethods.put("2363787617167802333", new IfMC(i++));
    imcMethods.put("7806358006983617848", new IfMC(i++));
    imcMethods.put("7806358006983617865", new IfMC(i++));
    imcMethods.put("4371737370140155777", new IfMC(i++));
    imcMethods.put("2535050848643232569", new IfMC(i++));
    imcMethods.put("2535050848643232591", new IfMC(i++));
    imcMethods.put("1594211126127687771", new IfMC(i++));
    imcMethods.put("7236226861153291933", new IfMC(i++));
    imcMethods.put("461996582407398859", new IfMC(i++));
    imcMethods.put("6471875070949119482", new IfMC(i++));
    imcMethods.put("3726880020403335399", 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_1_0(ctx);
        case 1:
          return QueriesGenerated.ifMacro_Condition_1_1(ctx);
        case 2:
          return QueriesGenerated.ifMacro_Condition_1_2(ctx);
        case 3:
          return QueriesGenerated.ifMacro_Condition_1_3(ctx);
        case 4:
          return QueriesGenerated.ifMacro_Condition_1_4(ctx);
        case 5:
          return QueriesGenerated.ifMacro_Condition_3_0(ctx);
        case 6:
          return QueriesGenerated.ifMacro_Condition_3_1(ctx);
        case 7:
          return QueriesGenerated.ifMacro_Condition_8_0(ctx);
        case 8:
          return QueriesGenerated.ifMacro_Condition_8_1(ctx);
        case 9:
          return QueriesGenerated.ifMacro_Condition_13_0(ctx);
        case 10:
          return QueriesGenerated.ifMacro_Condition_13_1(ctx);
        case 11:
          return QueriesGenerated.ifMacro_Condition_17_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, ReferenceTargetQuery> rtqMethods = new HashMap<String, ReferenceTargetQuery>();
  {
    rtqMethods.put("5475888311765592551", new RTQ(0, null));
    rtqMethods.put("3754890006475713382", new RTQ(1, "Object"));
    rtqMethods.put("3754890006475713405", new RTQ(2, "Object"));
    rtqMethods.put("666608846720191989", new RTQ(3, "ExecutorRunProfileState_Template"));
    rtqMethods.put("1735048880741920084", new RTQ(4, "RunConfigurationTemplateWeave"));
    rtqMethods.put("1735048880741931625", new RTQ(5, "RunConfigurationTemplateWeave"));
    rtqMethods.put("143080135592837972", new RTQ(6, "RunConfigurationTemplateWeave"));
    rtqMethods.put("143080135592820139", new RTQ(7, "RunConfigurationTemplateWeave"));
    rtqMethods.put("143080135592858653", new RTQ(8, "PersistentEditorTmp"));
    rtqMethods.put("6139196002333142830", new RTQ(9, "myConfiguration"));
    rtqMethods.put("3257967158569773542", new RTQ(10, "myEditor"));
    rtqMethods.put("3257967158569773572", new RTQ(11, "editor"));
    rtqMethods.put("5812151570929690852", new RTQ(12, "myConfiguration"));
    rtqMethods.put("738510297334180175", new RTQ(13, "BaseMpsRunConfiguration"));
    rtqMethods.put("738510297334237078", new RTQ(14, "BaseMpsRunConfiguration"));
    rtqMethods.put("5703615523638459902", new RTQ(15, "RunConfigurationProducer_Template"));
    rtqMethods.put("3044376942902734166", new RTQ(16, "getProducers"));
    rtqMethods.put("738510297334286695", new RTQ(17, "BaseMpsRunConfiguration"));
    rtqMethods.put("8147019390234496483", new RTQ(18, "IPersistentConfiguration"));
    rtqMethods.put("4013739085301446322", new RTQ(19, "BaseConcept"));
    rtqMethods.put("4013739085301455089", new RTQ(20, "BaseConcept"));
    rtqMethods.put("4013739085301519675", new RTQ(21, "RunConfigurationProducerPart_Template"));
    rtqMethods.put("5703615523638516677", new RTQ(22, "BaseConcept"));
    rtqMethods.put("5703615523638516691", new RTQ(23, "BaseConcept"));
    rtqMethods.put("2137130439060046369", new RTQ(24, "myField"));
    rtqMethods.put("3726880020403335425", new RTQ(25, "BeforeTaskProvider_Template"));
  }
  @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_1_0(ctx);
        case 2:
          return QueriesGenerated.referenceMacro_GetReferent_1_1(ctx);
        case 3:
          return QueriesGenerated.referenceMacro_GetReferent_3_0(ctx);
        case 4:
          return QueriesGenerated.referenceMacro_GetReferent_3_1(ctx);
        case 5:
          return QueriesGenerated.referenceMacro_GetReferent_3_2(ctx);
        case 6:
          return QueriesGenerated.referenceMacro_GetReferent_3_3(ctx);
        case 7:
          return QueriesGenerated.referenceMacro_GetReferent_3_4(ctx);
        case 8:
          return QueriesGenerated.referenceMacro_GetReferent_3_5(ctx);
        case 9:
          return QueriesGenerated.referenceMacro_GetReferent_3_6(ctx);
        case 10:
          return QueriesGenerated.referenceMacro_GetReferent_5_0(ctx);
        case 11:
          return QueriesGenerated.referenceMacro_GetReferent_5_1(ctx);
        case 12:
          return QueriesGenerated.referenceMacro_GetReferent_6_0(ctx);
        case 13:
          return QueriesGenerated.referenceMacro_GetReferent_9_0(ctx);
        case 14:
          return QueriesGenerated.referenceMacro_GetReferent_9_1(ctx);
        case 15:
          return QueriesGenerated.referenceMacro_GetReferent_9_2(ctx);
        case 16:
          return QueriesGenerated.referenceMacro_GetReferent_9_3(ctx);
        case 17:
          return QueriesGenerated.referenceMacro_GetReferent_9_4(ctx);
        case 18:
          return QueriesGenerated.referenceMacro_GetReferent_10_0(ctx);
        case 19:
          return QueriesGenerated.referenceMacro_GetReferent_12_0(ctx);
        case 20:
          return QueriesGenerated.referenceMacro_GetReferent_12_1(ctx);
        case 21:
          return QueriesGenerated.referenceMacro_GetReferent_13_0(ctx);
        case 22:
          return QueriesGenerated.referenceMacro_GetReferent_14_0(ctx);
        case 23:
          return QueriesGenerated.referenceMacro_GetReferent_14_1(ctx);
        case 24:
          return QueriesGenerated.referenceMacro_GetReferent_16_0(ctx);
        case 25:
          return QueriesGenerated.referenceMacro_GetReferent_17_0(ctx);
        default:
          throw new GenerationFailureException(String.format("Inconsistent QueriesGenerated: there's no method for query %s (key: #%d)", ctx.getTemplateReference(), methodKey));
      }
    }
  }
  private static SNode _quotation_createNode_x583g4_a0a0a67() {
    SNode quotedNode_1 = null;
    SNodeBuilder nb = new SNodeBuilder(null, null).init(MetaAdapterFactory.getConcept(MetaAdapterFactory.getLanguage(0x7866978ea0f04cc7L, 0x81bc4d213d9375e1L, "jetbrains.mps.lang.smodel"), 0x10cd05c601dL, "ConceptReference"));
    quotedNode_1 = nb.getResult();
    nb.setReference(MetaAdapterFactory.getReferenceLink(0x7866978ea0f04cc7L, 0x81bc4d213d9375e1L, 0x10cd05c601dL, 0x10cd05d18efL, "concept"), "r:00000000-0000-4000-0000-011c89590288(jetbrains.mps.lang.core.structure)/1133920641626");
    return quotedNode_1;
  }
  private static SNode _quotation_createNode_x583g4_a0a0a77() {
    SNode quotedNode_1 = null;
    SNodeBuilder nb = new SNodeBuilder(null, null).init(MetaAdapterFactory.getConcept(MetaAdapterFactory.getLanguage(0x7866978ea0f04cc7L, 0x81bc4d213d9375e1L, "jetbrains.mps.lang.smodel"), 0x10cd05c601dL, "ConceptReference"));
    quotedNode_1 = nb.getResult();
    nb.setReference(MetaAdapterFactory.getReferenceLink(0x7866978ea0f04cc7L, 0x81bc4d213d9375e1L, 0x10cd05c601dL, 0x10cd05d18efL, "concept"), "r:00000000-0000-4000-0000-011c89590288(jetbrains.mps.lang.core.structure)/1133920641626");
    return quotedNode_1;
  }
  private static List<SNode> check_x583g4_a0a0ue(SNode checkedDotOperand) {
    if (null != checkedDotOperand) {
      return SLinkOperations.getChildren(checkedDotOperand, LINKS.beforeTask$gYe_);
    }
    return null;
  }
  private static List<SNode> check_x583g4_a0a0we(SNode checkedDotOperand) {
    if (null != checkedDotOperand) {
      return SLinkOperations.getChildren(checkedDotOperand, LINKS.beforeTask$gYe_);
    }
    return null;
  }
  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 CONCEPTS {
    /*package*/ static final SConcept RunConfiguration$B$ = MetaAdapterFactory.getConcept(0x22e72e4c0f6946ceL, 0x84036750153aa615L, 0x2153d8f1c1f46e49L, "jetbrains.mps.execution.configurations.structure.RunConfiguration");
    /*package*/ static final SConcept RunConfigurationKind$C3 = MetaAdapterFactory.getConcept(0x22e72e4c0f6946ceL, 0x84036750153aa615L, 0x2153d8f1c1f46e4aL, "jetbrains.mps.execution.configurations.structure.RunConfigurationKind");
    /*package*/ static final SConcept RunConfigurationProducer$AW = MetaAdapterFactory.getConcept(0x22e72e4c0f6946ceL, 0x84036750153aa615L, 0x3c97fcb79c842305L, "jetbrains.mps.execution.configurations.structure.RunConfigurationProducer");
    /*package*/ static final SConcept BeforeTask$oR = MetaAdapterFactory.getConcept(0x22e72e4c0f6946ceL, 0x84036750153aa615L, 0x61a8be33d403b7bfL, "jetbrains.mps.execution.configurations.structure.BeforeTask");
    /*package*/ static final SConcept ExecuteConfiguration_Function$Bl = MetaAdapterFactory.getConcept(0x22e72e4c0f6946ceL, 0x84036750153aa615L, 0x5532ce3cbd91002cL, "jetbrains.mps.execution.configurations.structure.ExecuteConfiguration_Function");
    /*package*/ static final SConcept BeforeTaskCall$iu = MetaAdapterFactory.getConcept(0x22e72e4c0f6946ceL, 0x84036750153aa615L, 0x5ae6ebde781f1fd8L, "jetbrains.mps.execution.configurations.structure.BeforeTaskCall");
    /*package*/ static final SConcept RunConfigurationCreator$WE = MetaAdapterFactory.getConcept(0x22e72e4c0f6946ceL, 0x84036750153aa615L, 0x328e81d9f20cd1deL, "jetbrains.mps.execution.configurations.structure.RunConfigurationCreator");
    /*package*/ static final SConcept ConsoleCreator$mj = MetaAdapterFactory.getConcept(0x22e72e4c0f6946ceL, 0x84036750153aa615L, 0x161fc6929dd24a8aL, "jetbrains.mps.execution.configurations.structure.ConsoleCreator");
    /*package*/ static final SConcept ExecuteBeforeTask_ConceptFunction$u = MetaAdapterFactory.getConcept(0x22e72e4c0f6946ceL, 0x84036750153aa615L, 0x220f4a2c4aff4248L, "jetbrains.mps.execution.configurations.structure.ExecuteBeforeTask_ConceptFunction");
    /*package*/ static final SConcept DummyRunConfigurationInitializer$KX = MetaAdapterFactory.getConcept(0x22e72e4c0f6946ceL, 0x84036750153aa615L, 0x1e454b508a60997cL, "jetbrains.mps.execution.configurations.structure.DummyRunConfigurationInitializer");
    /*package*/ static final SConcept PersistentPropertyDeclaration$yn = MetaAdapterFactory.getConcept(0x756e911c3f1f4a48L, 0xbdf5a2ceb91b723cL, 0xd244b712f910119L, "jetbrains.mps.execution.settings.structure.PersistentPropertyDeclaration");
    /*package*/ static final SConcept CommandDeclaration$1L = MetaAdapterFactory.getConcept(0xf3347d8a0e794f35L, 0x8ac91574f25c986fL, 0xbe3a0d5ba1a2be8L, "jetbrains.mps.execution.commands.structure.CommandDeclaration");
    /*package*/ static final SConcept AbstractRunConfigurationExecutor$Fp = MetaAdapterFactory.getConcept(0x22e72e4c0f6946ceL, 0x84036750153aa615L, 0x2153d8f1c1f52479L, "jetbrains.mps.execution.configurations.structure.AbstractRunConfigurationExecutor");
    /*package*/ static final SConcept PersistentConfigurationType$MR = MetaAdapterFactory.getConcept(0x756e911c3f1f4a48L, 0xbdf5a2ceb91b723cL, 0xd244b712f91001cL, "jetbrains.mps.execution.settings.structure.PersistentConfigurationType");
    /*package*/ static final SConcept NamedTupleLiteral$rD = MetaAdapterFactory.getConcept(0xa247e09e243545baL, 0xb8d207e93feba96aL, 0x1209b88731cL, "jetbrains.mps.baseLanguage.tuples.structure.NamedTupleLiteral");
    /*package*/ static final SConcept ProjectSource$rr = MetaAdapterFactory.getConcept(0x22e72e4c0f6946ceL, 0x84036750153aa615L, 0x6552f0adf299246eL, "jetbrains.mps.execution.configurations.structure.ProjectSource");
    /*package*/ static final SConcept RunConfigurationProducerPart$x7 = MetaAdapterFactory.getConcept(0x22e72e4c0f6946ceL, 0x84036750153aa615L, 0x3c97fcb79c84cda6L, "jetbrains.mps.execution.configurations.structure.RunConfigurationProducerPart");
  }

  private static final class LINKS {
    /*package*/ static final SReferenceLink persistentConfiguration$QL_P = MetaAdapterFactory.getReferenceLink(0x756e911c3f1f4a48L, 0xbdf5a2ceb91b723cL, 0xd244b712f91001cL, 0xd244b712f91001dL, "persistentConfiguration");
    /*package*/ static final SContainmentLink creator$BsHW = MetaAdapterFactory.getContainmentLink(0xf3061a5392264cc5L, 0xa443f952ceaf5816L, 0x10ab8473cc5L, 0x10ab847b486L, "creator");
    /*package*/ static final SContainmentLink iconExpression$tVgU = MetaAdapterFactory.getContainmentLink(0x982eb8df2c964bd7L, 0x996311712ea622e5L, 0x7c8b08a50a39c6bbL, 0x60d1cf8c81faea09L, "iconExpression");
    /*package*/ static final SReferenceLink variableDeclaration$N1XG = MetaAdapterFactory.getReferenceLink(0xf3061a5392264cc5L, 0xa443f952ceaf5816L, 0xf8c77f1e98L, 0xf8cc6bf960L, "variableDeclaration");
    /*package*/ static final SReferenceLink beforeTask$2WC7 = MetaAdapterFactory.getReferenceLink(0x22e72e4c0f6946ceL, 0x84036750153aa615L, 0x5ae6ebde781f1fd8L, 0x5ae6ebde781f1fd9L, "beforeTask");
    /*package*/ static final SReferenceLink configurationKind$$GNc = MetaAdapterFactory.getReferenceLink(0x22e72e4c0f6946ceL, 0x84036750153aa615L, 0x2153d8f1c1f46e49L, 0x2153d8f1c1f48ae2L, "configurationKind");
    /*package*/ static final SContainmentLink configuration$H39x = MetaAdapterFactory.getContainmentLink(0x22e72e4c0f6946ceL, 0x84036750153aa615L, 0x3c97fcb79c842305L, 0x3c97fcb79c84a8efL, "configuration");
    /*package*/ static final SReferenceLink configuration$2LI7 = MetaAdapterFactory.getReferenceLink(0x22e72e4c0f6946ceL, 0x84036750153aa615L, 0x328e81d9f20cd1deL, 0x328e81d9f20cd1dfL, "configuration");
    /*package*/ static final SReferenceLink configuration$8YRo = MetaAdapterFactory.getReferenceLink(0x22e72e4c0f6946ceL, 0x84036750153aa615L, 0x1e454b508a60997cL, 0xd244b712f910117L, "configuration");
    /*package*/ static final SReferenceLink configuration$CM7P = MetaAdapterFactory.getReferenceLink(0x756e911c3f1f4a48L, 0xbdf5a2ceb91b723cL, 0xd244b712f9dce91L, 0xd244b712f9dce92L, "configuration");
    /*package*/ static final SReferenceLink concept$WQBy = MetaAdapterFactory.getReferenceLink(0x7866978ea0f04cc7L, 0x81bc4d213d9375e1L, 0x10cd05c601dL, 0x10cd05d18efL, "concept");
    /*package*/ static final SReferenceLink concept$A$QI = MetaAdapterFactory.getReferenceLink(0x22e72e4c0f6946ceL, 0x84036750153aa615L, 0x6552f0adf299246fL, 0x6552f0adf2992692L, "concept");
    /*package*/ static final SReferenceLink concept$AngM = MetaAdapterFactory.getReferenceLink(0x22e72e4c0f6946ceL, 0x84036750153aa615L, 0x6552f0adf2992471L, 0x6552f0adf2992682L, "concept");
    /*package*/ static final SContainmentLink debuggerConfiguration$vTxu = MetaAdapterFactory.getContainmentLink(0x22e72e4c0f6946ceL, 0x84036750153aa615L, 0x6c55c13f5bc8e1ecL, 0x5d457621242d8208L, "debuggerConfiguration");
    /*package*/ static final SContainmentLink tool$8wlU = MetaAdapterFactory.getContainmentLink(0x22e72e4c0f6946ceL, 0x84036750153aa615L, 0xd244b712f9d44d1L, 0x161fc6929dcff3a0L, "tool");
    /*package*/ static final SContainmentLink source$R_xo = MetaAdapterFactory.getContainmentLink(0x22e72e4c0f6946ceL, 0x84036750153aa615L, 0x3c97fcb79c84cda6L, 0x6552f0adf298f24fL, "source");
    /*package*/ static final SContainmentLink isConfigurationFromContext$yPZZ = MetaAdapterFactory.getContainmentLink(0x22e72e4c0f6946ceL, 0x84036750153aa615L, 0x3c97fcb79c84cda6L, 0x567cd4252ad2e9d7L, "isConfigurationFromContext");
    /*package*/ static final SContainmentLink type$a1UY = MetaAdapterFactory.getContainmentLink(0xf3061a5392264cc5L, 0xa443f952ceaf5816L, 0x450368d90ce15bc3L, 0x4ed4d318133c80ceL, "type");
    /*package*/ static final SContainmentLink project$qolH = MetaAdapterFactory.getContainmentLink(0x22e72e4c0f6946ceL, 0x84036750153aa615L, 0x161fc6929dd24a8aL, 0x161fc6929dd24ccdL, "project");
    /*package*/ static final SContainmentLink viewer$qo$I = MetaAdapterFactory.getContainmentLink(0x22e72e4c0f6946ceL, 0x84036750153aa615L, 0x161fc6929dd24a8aL, 0x161fc6929dd24cceL, "viewer");
    /*package*/ static final SContainmentLink expression$eJ92 = MetaAdapterFactory.getContainmentLink(0xf3061a5392264cc5L, 0xa443f952ceaf5816L, 0xf8cc67c7feL, 0xf8cc6bf96cL, "expression");
    /*package*/ static final SContainmentLink icon$iuoK = MetaAdapterFactory.getContainmentLink(0x22e72e4c0f6946ceL, 0x84036750153aa615L, 0x2153d8f1c1f46e4aL, 0x6e8fcf3625c61213L, "icon");
    /*package*/ static final SContainmentLink configurationName$k2P_ = MetaAdapterFactory.getContainmentLink(0x22e72e4c0f6946ceL, 0x84036750153aa615L, 0x328e81d9f20cd1deL, 0x758d43e19b4fdb6L, "configurationName");
    /*package*/ static final SContainmentLink initializer$2twD = MetaAdapterFactory.getContainmentLink(0xf3061a5392264cc5L, 0xa443f952ceaf5816L, 0xf8c37a7f6eL, 0xf8c37f506eL, "initializer");
    /*package*/ static final SContainmentLink projectParameter$H5fk = MetaAdapterFactory.getContainmentLink(0x22e72e4c0f6946ceL, 0x84036750153aa615L, 0x1e454b508a60997cL, 0x1e454b508a72ed99L, "projectParameter");
    /*package*/ static final SContainmentLink execute$95i7 = MetaAdapterFactory.getContainmentLink(0x22e72e4c0f6946ceL, 0x84036750153aa615L, 0x2153d8f1c1f52479L, 0x6e425276ab38aea1L, "execute");
    /*package*/ static final SContainmentLink body$e68K = MetaAdapterFactory.getContainmentLink(0xf3061a5392264cc5L, 0xa443f952ceaf5816L, 0x108bbca0f48L, 0x108bbd29b4aL, "body");
    /*package*/ static final SContainmentLink statement$53DE = MetaAdapterFactory.getContainmentLink(0xf3061a5392264cc5L, 0xa443f952ceaf5816L, 0xf8cc56b200L, 0xf8cc6bf961L, "statement");
    /*package*/ static final SContainmentLink persistentProperty$YKAP = MetaAdapterFactory.getContainmentLink(0x756e911c3f1f4a48L, 0xbdf5a2ceb91b723cL, 0xd244b712f910122L, 0xd244b712f910123L, "persistentProperty");
    /*package*/ static final SContainmentLink parameter$wCAy = MetaAdapterFactory.getContainmentLink(0x22e72e4c0f6946ceL, 0x84036750153aa615L, 0x5ae6ebde781f1fd8L, 0x4bfe4368347f5400L, "parameter");
    /*package*/ static final SContainmentLink produce$hvdx = MetaAdapterFactory.getContainmentLink(0x22e72e4c0f6946ceL, 0x84036750153aa615L, 0x3c97fcb79c842305L, 0x3c97fcb79c84cdacL, "produce");
    /*package*/ static final SContainmentLink create$OxVc = MetaAdapterFactory.getContainmentLink(0x22e72e4c0f6946ceL, 0x84036750153aa615L, 0x3c97fcb79c84cda6L, 0x328e81d9f2097e86L, "create");
    /*package*/ static final SContainmentLink parameter$GAuy = MetaAdapterFactory.getContainmentLink(0x22e72e4c0f6946ceL, 0x84036750153aa615L, 0x61a8be33d403b7bfL, 0x5ae6ebde781f96aaL, "parameter");
    /*package*/ static final SContainmentLink execute$Plkp = MetaAdapterFactory.getContainmentLink(0x22e72e4c0f6946ceL, 0x84036750153aa615L, 0x61a8be33d403b7bfL, 0x220f4a2c4b02cb91L, "execute");
    /*package*/ static final SContainmentLink beforeTask$gYe_ = MetaAdapterFactory.getContainmentLink(0x22e72e4c0f6946ceL, 0x84036750153aa615L, 0x2153d8f1c1f52479L, 0x5ae6ebde781f1fe7L, "beforeTask");
  }

  private static final class PROPS {
    /*package*/ static final SProperty name$MnvL = MetaAdapterFactory.getProperty(0xceab519525ea4f22L, 0x9b92103b95ca8c0cL, 0x110396eaaa4L, 0x110396ec041L, "name");
    /*package*/ static final SProperty configurationName$Ks$ = MetaAdapterFactory.getProperty(0x22e72e4c0f6946ceL, 0x84036750153aa615L, 0x2153d8f1c1f52479L, 0x1acdeec3ca0ad49cL, "configurationName");
    /*package*/ static final SProperty disabledByDefault$cZBi = MetaAdapterFactory.getProperty(0x22e72e4c0f6946ceL, 0x84036750153aa615L, 0x5ae6ebde781f1fd8L, 0x799bdb1024549bf4L, "disabledByDefault");
    /*package*/ static final SProperty displayName$GPvP = MetaAdapterFactory.getProperty(0x22e72e4c0f6946ceL, 0x84036750153aa615L, 0x2153d8f1c1f46e4aL, 0x73ca83ced1d489aaL, "displayName");
    /*package*/ static final SProperty description$GPXR = MetaAdapterFactory.getProperty(0x22e72e4c0f6946ceL, 0x84036750153aa615L, 0x2153d8f1c1f46e4aL, 0x73ca83ced1d489acL, "description");
    /*package*/ static final SProperty caption$oAS = MetaAdapterFactory.getProperty(0x22e72e4c0f6946ceL, 0x84036750153aa615L, 0x61a8be33d403b7bfL, 0x7b8f744b4f6e79ecL, "caption");
    /*package*/ static final SProperty canRun$gS0N = MetaAdapterFactory.getProperty(0x22e72e4c0f6946ceL, 0x84036750153aa615L, 0x2153d8f1c1f52479L, 0x523a1a6c9706408bL, "canRun");
  }
}
