package jetbrains.mps.execution.settings.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.execution.settings.behavior.PersistentPropertyDeclaration__BehaviorDescriptor; import jetbrains.mps.lang.smodel.generator.smodelAdapter.SNodeOperations; import jetbrains.mps.lang.smodel.generator.smodelAdapter.SLinkOperations; import jetbrains.mps.smodel.adapter.structure.MetaAdapterFactory; import jetbrains.mps.lang.smodel.generator.smodelAdapter.SPropertyOperations; import jetbrains.mps.generator.template.PropertyMacroContext; import jetbrains.mps.execution.settings.behavior.PersistentConfiguration__BehaviorDescriptor; import jetbrains.mps.execution.common.behavior.IGeneratedToClass__BehaviorDescriptor; import org.jetbrains.mps.openapi.model.SNode; import jetbrains.mps.typesystem.inference.TypeChecker; import jetbrains.mps.lang.typesystem.runtime.HUtil; import jetbrains.mps.generator.template.ReferenceMacroContext; import jetbrains.mps.execution.settings.behavior.EditorOperationDeclaration__BehaviorDescriptor; import jetbrains.mps.generator.template.IfMacroContext; import jetbrains.mps.generator.template.SourceSubstituteMacroNodeContext; import jetbrains.mps.generator.template.SourceSubstituteMacroNodesContext; import jetbrains.mps.internal.collections.runtime.ListSequence; import jetbrains.mps.internal.collections.runtime.IWhereFilter; import java.util.List; import jetbrains.mps.generator.template.WeavingMappingRuleContext; 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.SourceNodeQuery; import jetbrains.mps.generator.impl.query.QueryKeyImpl; 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.ReferenceTargetQuery; import org.jetbrains.mps.openapi.persistence.PersistenceFacade; import jetbrains.mps.smodel.SModelUtil_new; import jetbrains.mps.smodel.SReference; @Generated public class QueriesGenerated extends QueryProviderBase { public QueriesGenerated() { super(1); } public static boolean baseMappingRule_Condition_5041115067675932623(final BaseMappingRuleContext _context) { return !((boolean) PersistentPropertyDeclaration__BehaviorDescriptor.isTemplate_idO$iR4J$g8G.invoke(_context.getNode())); } public static boolean baseMappingRule_Condition_5041115067675932631(final BaseMappingRuleContext _context) { return (boolean) PersistentPropertyDeclaration__BehaviorDescriptor.isTemplate_idO$iR4J$g8G.invoke(_context.getNode()); } public static boolean baseMappingRule_Condition_5041115067675932639(final BaseMappingRuleContext _context) { return SNodeOperations.isInstanceOf(SLinkOperations.getTarget(_context.getNode(), MetaAdapterFactory.getContainmentLink(0xf3061a5392264cc5L, 0xa443f952ceaf5816L, 0x11b0d00332cL, 0xf8c77f1e97L, "lValue")), MetaAdapterFactory.getConcept(0xf3061a5392264cc5L, 0xa443f952ceaf5816L, 0x116b46a08c4L, "jetbrains.mps.baseLanguage.structure.DotExpression")) && SNodeOperations.isInstanceOf(SLinkOperations.getTarget(SNodeOperations.cast(SLinkOperations.getTarget(_context.getNode(), MetaAdapterFactory.getContainmentLink(0xf3061a5392264cc5L, 0xa443f952ceaf5816L, 0x11b0d00332cL, 0xf8c77f1e97L, "lValue")), MetaAdapterFactory.getConcept(0xf3061a5392264cc5L, 0xa443f952ceaf5816L, 0x116b46a08c4L, "jetbrains.mps.baseLanguage.structure.DotExpression")), MetaAdapterFactory.getContainmentLink(0xf3061a5392264cc5L, 0xa443f952ceaf5816L, 0x116b46a08c4L, 0x116b46b36c4L, "operation")), MetaAdapterFactory.getConcept(0x756e911c3f1f4a48L, 0xbdf5a2ceb91b723cL, 0xd244b712f91010eL, "jetbrains.mps.execution.settings.structure.PersistentPropertyReferenceOperation")); } public static boolean baseMappingRule_Condition_6062668769034668920(final BaseMappingRuleContext _context) { return SNodeOperations.isInstanceOf(SLinkOperations.getTarget(_context.getNode(), MetaAdapterFactory.getReferenceLink(0x756e911c3f1f4a48L, 0xbdf5a2ceb91b723cL, 0xd244b712f91001cL, 0xd244b712f91001dL, "persistentConfiguration")), MetaAdapterFactory.getConcept(0x756e911c3f1f4a48L, 0xbdf5a2ceb91b723cL, 0xd244b712f910113L, "jetbrains.mps.execution.settings.structure.PersistentConfigurationTemplate")); } public static boolean baseMappingRule_Condition_5041115067675932723(final BaseMappingRuleContext _context) { return SNodeOperations.isInstanceOf(SLinkOperations.getTarget(_context.getNode(), MetaAdapterFactory.getContainmentLink(0xf3061a5392264cc5L, 0xa443f952ceaf5816L, 0x10ab8473cc5L, 0x10ab847b486L, "creator")), MetaAdapterFactory.getConcept(0x756e911c3f1f4a48L, 0xbdf5a2ceb91b723cL, 0xd244b712f910116L, "jetbrains.mps.execution.settings.structure.PersistentConfigurationTemplateInitializer")); } public static boolean baseMappingRule_Condition_5041115067675932733(final BaseMappingRuleContext _context) { return (SNodeOperations.getNodeAncestor(_context.getNode(), MetaAdapterFactory.getConcept(0x756e911c3f1f4a48L, 0xbdf5a2ceb91b723cL, 0xd244b712f91013dL, "jetbrains.mps.execution.settings.structure.SettingsEditor"), false, false) == null); } public static boolean baseMappingRule_Condition_5041115067675932745(final BaseMappingRuleContext _context) { return (SNodeOperations.getNodeAncestor(_context.getNode(), MetaAdapterFactory.getConcept(0x756e911c3f1f4a48L, 0xbdf5a2ceb91b723cL, 0xd244b712f91013dL, "jetbrains.mps.execution.settings.structure.SettingsEditor"), false, false) != null); } public static boolean baseMappingRule_Condition_5041115067675932826(final BaseMappingRuleContext _context) { return SNodeOperations.isInstanceOf(SLinkOperations.getTarget(_context.getNode(), MetaAdapterFactory.getContainmentLink(0xf3061a5392264cc5L, 0xa443f952ceaf5816L, 0x116b46a08c4L, 0x116b46a4416L, "operand")), MetaAdapterFactory.getConcept(0x443f4c36fcf54eb6L, 0x95008d06ed259e3eL, 0x118bc751a81L, "jetbrains.mps.baseLanguage.classifiers.structure.ThisClassifierExpression")) && SNodeOperations.isInstanceOf(SLinkOperations.getTarget(_context.getNode(), MetaAdapterFactory.getContainmentLink(0xf3061a5392264cc5L, 0xa443f952ceaf5816L, 0x116b46a08c4L, 0x116b46b36c4L, "operation")), MetaAdapterFactory.getConcept(0x443f4c36fcf54eb6L, 0x95008d06ed259e3eL, 0x118bd711e29L, "jetbrains.mps.baseLanguage.classifiers.structure.DefaultClassifierMethodCallOperation")) && SNodeOperations.isInstanceOf(SLinkOperations.getTarget(SNodeOperations.cast(SLinkOperations.getTarget(_context.getNode(), MetaAdapterFactory.getContainmentLink(0xf3061a5392264cc5L, 0xa443f952ceaf5816L, 0x116b46a08c4L, 0x116b46b36c4L, "operation")), MetaAdapterFactory.getConcept(0x443f4c36fcf54eb6L, 0x95008d06ed259e3eL, 0x118bd711e29L, "jetbrains.mps.baseLanguage.classifiers.structure.DefaultClassifierMethodCallOperation")), MetaAdapterFactory.getReferenceLink(0x443f4c36fcf54eb6L, 0x95008d06ed259e3eL, 0x118bca97396L, 0x118bcb657ecL, "member")), MetaAdapterFactory.getConcept(0x756e911c3f1f4a48L, 0xbdf5a2ceb91b723cL, 0xd244b712f91001bL, "jetbrains.mps.execution.settings.structure.PersistentConfigurationMethod")); } public static boolean baseMappingRule_Condition_5041115067675932854(final BaseMappingRuleContext _context) { return !((SNodeOperations.isInstanceOf(SNodeOperations.getParent(_context.getNode()), MetaAdapterFactory.getConcept(0xf3061a5392264cc5L, 0xa443f952ceaf5816L, 0x116b46a08c4L, "jetbrains.mps.baseLanguage.structure.DotExpression")) && SNodeOperations.isInstanceOf(SLinkOperations.getTarget(SNodeOperations.cast(SNodeOperations.getParent(_context.getNode()), MetaAdapterFactory.getConcept(0xf3061a5392264cc5L, 0xa443f952ceaf5816L, 0x116b46a08c4L, "jetbrains.mps.baseLanguage.structure.DotExpression")), MetaAdapterFactory.getContainmentLink(0xf3061a5392264cc5L, 0xa443f952ceaf5816L, 0x116b46a08c4L, 0x116b46a4416L, "operand")), MetaAdapterFactory.getConcept(0x443f4c36fcf54eb6L, 0x95008d06ed259e3eL, 0x118bc751a81L, "jetbrains.mps.baseLanguage.classifiers.structure.ThisClassifierExpression")))) && SNodeOperations.isInstanceOf(SLinkOperations.getTarget(_context.getNode(), MetaAdapterFactory.getReferenceLink(0x443f4c36fcf54eb6L, 0x95008d06ed259e3eL, 0x118bca97396L, 0x118bcb657ecL, "member")), MetaAdapterFactory.getConcept(0x756e911c3f1f4a48L, 0xbdf5a2ceb91b723cL, 0xd244b712f91001bL, "jetbrains.mps.execution.settings.structure.PersistentConfigurationMethod")); } public static boolean baseMappingRule_Condition_5041115067675932882(final BaseMappingRuleContext _context) { return SNodeOperations.isInstanceOf(SNodeOperations.getContainingRoot(_context.getNode()), MetaAdapterFactory.getConcept(0x756e911c3f1f4a48L, 0xbdf5a2ceb91b723cL, 0xd244b712f910020L, "jetbrains.mps.execution.settings.structure.PersistentConfiguration")); } public static boolean baseMappingRule_Condition_2722628536112120733(final BaseMappingRuleContext _context) { return SPropertyOperations.getString(_context.getNode(), MetaAdapterFactory.getProperty(0x756e911c3f1f4a48L, 0xbdf5a2ceb91b723cL, 0x25c8b83a7e4bb488L, 0x25c8b83a7e4bb48aL, "constraintsKind")).equals("label"); } public static boolean baseMappingRule_Condition_2158326176673567584(final BaseMappingRuleContext _context) { return SPropertyOperations.getString(_context.getNode(), MetaAdapterFactory.getProperty(0x756e911c3f1f4a48L, 0xbdf5a2ceb91b723cL, 0x25c8b83a7e4bb488L, 0x25c8b83a7e4bb48aL, "constraintsKind")).equals("panel"); } public static boolean baseMappingRule_Condition_2158326176673567604(final BaseMappingRuleContext _context) { return SPropertyOperations.getString(_context.getNode(), MetaAdapterFactory.getProperty(0x756e911c3f1f4a48L, 0xbdf5a2ceb91b723cL, 0x25c8b83a7e4bb488L, 0x25c8b83a7e4bb48aL, "constraintsKind")).equals("field"); } public static Object propertyMacro_GetPropertyValue_5041115067675810083(final PropertyMacroContext _context) { return (String) PersistentPropertyDeclaration__BehaviorDescriptor.getTypeEditorFqName_idO$iR4J$g9_.invoke(_context.getNode()); } public static Object propertyMacro_GetPropertyValue_5041115067675810090(final PropertyMacroContext _context) { return (String) PersistentPropertyDeclaration__BehaviorDescriptor.addMyPrefix_id5uxO0H8rOhC.invoke(SNodeOperations.asSConcept(MetaAdapterFactory.getConcept(0x756e911c3f1f4a48L, 0xbdf5a2ceb91b723cL, 0xd244b712f910119L, "jetbrains.mps.execution.settings.structure.PersistentPropertyDeclaration")), SPropertyOperations.getString(_context.getNode(), MetaAdapterFactory.getProperty(0xceab519525ea4f22L, 0x9b92103b95ca8c0cL, 0x110396eaaa4L, 0x110396ec041L, "name"))); } public static Object propertyMacro_GetPropertyValue_5041115067675810099(final PropertyMacroContext _context) { return (String) PersistentConfiguration__BehaviorDescriptor.getGeneratedEditorName_idO$iR4J$g2J.invoke(_context.getNode()); } public static Object propertyMacro_GetPropertyValue_5041115067675810460(final PropertyMacroContext _context) { return SPropertyOperations.getString(_context.getNode(), MetaAdapterFactory.getProperty(0xceab519525ea4f22L, 0x9b92103b95ca8c0cL, 0x110396eaaa4L, 0x110396ec041L, "name")); } public static Object propertyMacro_GetPropertyValue_5041115067675810530(final PropertyMacroContext _context) { return SPropertyOperations.getString(_context.getNode(), MetaAdapterFactory.getProperty(0xceab519525ea4f22L, 0x9b92103b95ca8c0cL, 0x110396eaaa4L, 0x110396ec041L, "name")); } public static Object propertyMacro_GetPropertyValue_9132506094562634034(final PropertyMacroContext _context) { return SPropertyOperations.getString(_context.getNode(), MetaAdapterFactory.getProperty(0xceab519525ea4f22L, 0x9b92103b95ca8c0cL, 0x110396eaaa4L, 0x110396ec041L, "name")); } public static Object propertyMacro_GetPropertyValue_5041115067675810644(final PropertyMacroContext _context) { return "get" + PersistentPropertyDeclaration__BehaviorDescriptor.getAccessorName_idO$iR4J$g8R.invoke(_context.getNode()); } public static Object propertyMacro_GetPropertyValue_5041115067675810713(final PropertyMacroContext _context) { return "set" + PersistentPropertyDeclaration__BehaviorDescriptor.getAccessorName_idO$iR4J$g8R.invoke(_context.getNode()); } public static Object propertyMacro_GetPropertyValue_5041115067675810748(final PropertyMacroContext _context) { return SPropertyOperations.getString(_context.getNode(), MetaAdapterFactory.getProperty(0xceab519525ea4f22L, 0x9b92103b95ca8c0cL, 0x110396eaaa4L, 0x110396ec041L, "name")); } public static Object propertyMacro_GetPropertyValue_5041115067675810568(final PropertyMacroContext _context) { return (String) IGeneratedToClass__BehaviorDescriptor.getGeneratedClassName_idO$iR4JBsSg.invoke(_context.getNode()); } public static Object propertyMacro_GetPropertyValue_5041115067675810884(final PropertyMacroContext _context) { return (String) PersistentPropertyDeclaration__BehaviorDescriptor.addMyPrefix_id5uxO0H8rOhC.invoke(SNodeOperations.asSConcept(MetaAdapterFactory.getConcept(0x756e911c3f1f4a48L, 0xbdf5a2ceb91b723cL, 0xd244b712f910119L, "jetbrains.mps.execution.settings.structure.PersistentPropertyDeclaration")), SPropertyOperations.getString(_context.getNode(), MetaAdapterFactory.getProperty(0xceab519525ea4f22L, 0x9b92103b95ca8c0cL, 0x110396eaaa4L, 0x110396ec041L, "name"))); } public static Object propertyMacro_GetPropertyValue_5041115067675810893(final PropertyMacroContext _context) { SNode template = SLinkOperations.getTarget(TypeChecker.getInstance().getRuntimeSupport().coerce_(SLinkOperations.getTarget(_context.getNode(), MetaAdapterFactory.getContainmentLink(0xf3061a5392264cc5L, 0xa443f952ceaf5816L, 0x450368d90ce15bc3L, 0x4ed4d318133c80ceL, "type")), HUtil.createMatchingPatternByConcept(MetaAdapterFactory.getConcept(0x756e911c3f1f4a48L, 0xbdf5a2ceb91b723cL, 0xd244b712f9100fdL, "jetbrains.mps.execution.settings.structure.TemplatePersistentConfigurationType")), true), MetaAdapterFactory.getReferenceLink(0x756e911c3f1f4a48L, 0xbdf5a2ceb91b723cL, 0xd244b712f91001cL, 0xd244b712f91001dL, "persistentConfiguration")); return (String) IGeneratedToClass__BehaviorDescriptor.getFullName_idO$iR4JBsSv.invoke(template); } public static Object propertyMacro_GetPropertyValue_6226796386650562389(final PropertyMacroContext _context) { return "get" + PersistentPropertyDeclaration__BehaviorDescriptor.getAccessorName_idO$iR4J$g8R.invoke(SLinkOperations.getTarget(_context.getNode(), MetaAdapterFactory.getReferenceLink(0x756e911c3f1f4a48L, 0xbdf5a2ceb91b723cL, 0xd244b712f91010eL, 0xd244b712f91010fL, "variableDeclaration"))); } public static Object propertyMacro_GetPropertyValue_5041115067675810998(final PropertyMacroContext _context) { return (String) PersistentPropertyDeclaration__BehaviorDescriptor.addMyPrefix_id5uxO0H8rOhC.invoke(SNodeOperations.asSConcept(MetaAdapterFactory.getConcept(0x756e911c3f1f4a48L, 0xbdf5a2ceb91b723cL, 0xd244b712f910119L, "jetbrains.mps.execution.settings.structure.PersistentPropertyDeclaration")), SPropertyOperations.getString(_context.getNode(), MetaAdapterFactory.getProperty(0xceab519525ea4f22L, 0x9b92103b95ca8c0cL, 0x110396eaaa4L, 0x110396ec041L, "name"))); } public static Object propertyMacro_GetPropertyValue_5041115067675811075(final PropertyMacroContext _context) { SNode template = SLinkOperations.getTarget(SNodeOperations.cast(SLinkOperations.getTarget(_context.getNode(), MetaAdapterFactory.getContainmentLink(0xf3061a5392264cc5L, 0xa443f952ceaf5816L, 0x10ab8473cc5L, 0x10ab847b486L, "creator")), MetaAdapterFactory.getConcept(0x756e911c3f1f4a48L, 0xbdf5a2ceb91b723cL, 0xd244b712f910116L, "jetbrains.mps.execution.settings.structure.PersistentConfigurationTemplateInitializer")), MetaAdapterFactory.getReferenceLink(0x756e911c3f1f4a48L, 0xbdf5a2ceb91b723cL, 0xd244b712f910116L, 0xd244b712f910117L, "template")); return (String) IGeneratedToClass__BehaviorDescriptor.getFullName_idO$iR4JBsSv.invoke(template); } public static Object propertyMacro_GetPropertyValue_5041115067675811111(final PropertyMacroContext _context) { return (String) PersistentPropertyDeclaration__BehaviorDescriptor.addMyPrefix_id5uxO0H8rOhC.invoke(SNodeOperations.asSConcept(MetaAdapterFactory.getConcept(0x756e911c3f1f4a48L, 0xbdf5a2ceb91b723cL, 0xd244b712f910119L, "jetbrains.mps.execution.settings.structure.PersistentPropertyDeclaration")), SPropertyOperations.getString(_context.getNode(), MetaAdapterFactory.getProperty(0xceab519525ea4f22L, 0x9b92103b95ca8c0cL, 0x110396eaaa4L, 0x110396ec041L, "name"))); } public static Object propertyMacro_GetPropertyValue_5041115067675811135(final PropertyMacroContext _context) { return (String) PersistentPropertyDeclaration__BehaviorDescriptor.getTypeEditorFqName_idO$iR4J$g9_.invoke(_context.getNode()); } public static Object propertyMacro_GetPropertyValue_4342433276614928649(final PropertyMacroContext _context) { return (String) IGeneratedToClass__BehaviorDescriptor.getFullName_idO$iR4JBsSv.invoke(_context.getNode()); } public static Object propertyMacro_GetPropertyValue_5041115067675811165(final PropertyMacroContext _context) { return (String) PersistentPropertyDeclaration__BehaviorDescriptor.removeMyPrefix_idO$iR4J$g8k.invoke(SNodeOperations.asSConcept(MetaAdapterFactory.getConcept(0x756e911c3f1f4a48L, 0xbdf5a2ceb91b723cL, 0xd244b712f910119L, "jetbrains.mps.execution.settings.structure.PersistentPropertyDeclaration")), SPropertyOperations.getString(_context.getNode(), MetaAdapterFactory.getProperty(0xceab519525ea4f22L, 0x9b92103b95ca8c0cL, 0x110396eaaa4L, 0x110396ec041L, "name"))); } public static Object propertyMacro_GetPropertyValue_5041115067675811232(final PropertyMacroContext _context) { return (String) PersistentConfiguration__BehaviorDescriptor.getGeneratedEditorName_idO$iR4J$g2J.invoke(SLinkOperations.getTarget(PersistentConfiguration__BehaviorDescriptor.getContextPersistentConfigurationType_idO$iR4J$g1l.invoke(SNodeOperations.asSConcept(MetaAdapterFactory.getConcept(0x756e911c3f1f4a48L, 0xbdf5a2ceb91b723cL, 0xd244b712f910020L, "jetbrains.mps.execution.settings.structure.PersistentConfiguration")), _context.getNode()), MetaAdapterFactory.getReferenceLink(0x756e911c3f1f4a48L, 0xbdf5a2ceb91b723cL, 0xd244b712f91001cL, 0xd244b712f91001dL, "persistentConfiguration"))); } public static Object propertyMacro_GetPropertyValue_5041115067675811245(final PropertyMacroContext _context) { SNode template = SLinkOperations.getTarget(TypeChecker.getInstance().getRuntimeSupport().coerce_(_context.getNode(), HUtil.createMatchingPatternByConcept(MetaAdapterFactory.getConcept(0x756e911c3f1f4a48L, 0xbdf5a2ceb91b723cL, 0xd244b712f91001cL, "jetbrains.mps.execution.settings.structure.PersistentConfigurationType")), true), MetaAdapterFactory.getReferenceLink(0x756e911c3f1f4a48L, 0xbdf5a2ceb91b723cL, 0xd244b712f91001cL, 0xd244b712f91001dL, "persistentConfiguration")); return (String) IGeneratedToClass__BehaviorDescriptor.getFullName_idO$iR4JBsSv.invoke(template); } public static Object propertyMacro_GetPropertyValue_5041115067675811298(final PropertyMacroContext _context) { return (String) IGeneratedToClass__BehaviorDescriptor.getFullName_idO$iR4JBsSv.invoke(_context.getNode()); } public static Object propertyMacro_GetPropertyValue_5041115067675811408(final PropertyMacroContext _context) { return (String) PersistentPropertyDeclaration__BehaviorDescriptor.removeMyPrefix_idO$iR4J$g8k.invoke(SNodeOperations.asSConcept(MetaAdapterFactory.getConcept(0x756e911c3f1f4a48L, 0xbdf5a2ceb91b723cL, 0xd244b712f910119L, "jetbrains.mps.execution.settings.structure.PersistentPropertyDeclaration")), SPropertyOperations.getString(_context.getNode(), MetaAdapterFactory.getProperty(0xceab519525ea4f22L, 0x9b92103b95ca8c0cL, 0x110396eaaa4L, 0x110396ec041L, "name"))); } public static Object propertyMacro_GetPropertyValue_5041115067675811447(final PropertyMacroContext _context) { return (String) IGeneratedToClass__BehaviorDescriptor.getGeneratedClassName_idO$iR4JBsSg.invoke(SLinkOperations.getTarget(PersistentConfiguration__BehaviorDescriptor.getContextPersistentConfigurationType_idO$iR4J$g1l.invoke(SNodeOperations.asSConcept(MetaAdapterFactory.getConcept(0x756e911c3f1f4a48L, 0xbdf5a2ceb91b723cL, 0xd244b712f910020L, "jetbrains.mps.execution.settings.structure.PersistentConfiguration")), _context.getNode()), MetaAdapterFactory.getReferenceLink(0x756e911c3f1f4a48L, 0xbdf5a2ceb91b723cL, 0xd244b712f91001cL, 0xd244b712f91001dL, "persistentConfiguration"))); } public static Object propertyMacro_GetPropertyValue_5041115067675811479(final PropertyMacroContext _context) { return (String) PersistentPropertyDeclaration__BehaviorDescriptor.addMyPrefix_id5uxO0H8rOhC.invoke(SNodeOperations.asSConcept(MetaAdapterFactory.getConcept(0x756e911c3f1f4a48L, 0xbdf5a2ceb91b723cL, 0xd244b712f910119L, "jetbrains.mps.execution.settings.structure.PersistentPropertyDeclaration")), SPropertyOperations.getString(_context.getNode(), MetaAdapterFactory.getProperty(0xceab519525ea4f22L, 0x9b92103b95ca8c0cL, 0x110396eaaa4L, 0x110396ec041L, "name"))); } public static Object propertyMacro_GetPropertyValue_5041115067675811533(final PropertyMacroContext _context) { return (String) PersistentPropertyDeclaration__BehaviorDescriptor.addMyPrefix_id5uxO0H8rOhC.invoke(SNodeOperations.asSConcept(MetaAdapterFactory.getConcept(0x756e911c3f1f4a48L, 0xbdf5a2ceb91b723cL, 0xd244b712f910119L, "jetbrains.mps.execution.settings.structure.PersistentPropertyDeclaration")), SPropertyOperations.getString(_context.getNode(), MetaAdapterFactory.getProperty(0xceab519525ea4f22L, 0x9b92103b95ca8c0cL, 0x110396eaaa4L, 0x110396ec041L, "name"))); } public static Object propertyMacro_GetPropertyValue_3575782568432486559(final PropertyMacroContext _context) { return "set" + PersistentPropertyDeclaration__BehaviorDescriptor.getAccessorName_idO$iR4J$g8R.invoke(SLinkOperations.getTarget(SNodeOperations.cast(SLinkOperations.getTarget(SNodeOperations.cast(SLinkOperations.getTarget(_context.getNode(), MetaAdapterFactory.getContainmentLink(0xf3061a5392264cc5L, 0xa443f952ceaf5816L, 0x11b0d00332cL, 0xf8c77f1e97L, "lValue")), MetaAdapterFactory.getConcept(0xf3061a5392264cc5L, 0xa443f952ceaf5816L, 0x116b46a08c4L, "jetbrains.mps.baseLanguage.structure.DotExpression")), MetaAdapterFactory.getContainmentLink(0xf3061a5392264cc5L, 0xa443f952ceaf5816L, 0x116b46a08c4L, 0x116b46b36c4L, "operation")), MetaAdapterFactory.getConcept(0x756e911c3f1f4a48L, 0xbdf5a2ceb91b723cL, 0xd244b712f91010eL, "jetbrains.mps.execution.settings.structure.PersistentPropertyReferenceOperation")), MetaAdapterFactory.getReferenceLink(0x756e911c3f1f4a48L, 0xbdf5a2ceb91b723cL, 0xd244b712f91010eL, 0xd244b712f91010fL, "variableDeclaration"))); } public static Object referenceMacro_GetReferent_5041115067675810147(final ReferenceMacroContext _context) { return _context.getOutputNodeByInputNodeAndMappingLabel(_context.getNode(), "PersitentTemplatePropertyToEditorFieldDeclaration"); } public static Object referenceMacro_GetReferent_5041115067675810206(final ReferenceMacroContext _context) { return _context.getOutputNodeByInputNodeAndMappingLabel(_context.getNode(), "ConfigurationToClass"); } public static Object referenceMacro_GetReferent_5041115067675810246(final ReferenceMacroContext _context) { return _context.getOutputNodeByInputNodeAndMappingLabel(_context.getNode(), "ConfigurationToClass"); } public static Object referenceMacro_GetReferent_5041115067675810108(final ReferenceMacroContext _context) { return _context.getOutputNodeByInputNodeAndMappingLabel(_context.getNode(), "ConfigurationToClass"); } public static Object referenceMacro_GetReferent_5041115067675810470(final ReferenceMacroContext _context) { return _context.getOutputNodeByInputNodeAndMappingLabel(_context.getNode(), "PersistentPropertyToField"); } public static Object referenceMacro_GetReferent_5041115067675810540(final ReferenceMacroContext _context) { return _context.getOutputNodeByInputNodeAndMappingLabel(_context.getNode(), "PersistentPropertyToField"); } public static Object referenceMacro_GetReferent_5041115067675810610(final ReferenceMacroContext _context) { return _context.getOutputNodeByInputNodeAndMappingLabel(_context.getNode(), "PersistentPropertyToField"); } public static Object referenceMacro_GetReferent_5041115067675810629(final ReferenceMacroContext _context) { return _context.getOutputNodeByInputNodeAndMappingLabel(_context.getNode(), "PersistentPropertyToField"); } public static Object referenceMacro_GetReferent_5041115067675810679(final ReferenceMacroContext _context) { return _context.getOutputNodeByInputNodeAndMappingLabel(_context.getNode(), "PersistentPropertyToField"); } public static Object referenceMacro_GetReferent_5041115067675810816(final ReferenceMacroContext _context) { return _context.getOutputNodeByInputNodeAndMappingLabel(_context.getNode(), "PersistentPropertyToField"); } public static Object referenceMacro_GetReferent_5041115067675810836(final ReferenceMacroContext _context) { return _context.getOutputNodeByInputNodeAndMappingLabel(_context.getNode(), "PersistentPropertyToField"); } public static Object referenceMacro_GetReferent_5041115067675810325(final ReferenceMacroContext _context) { return _context.getOutputNodeByInputNodeAndMappingLabel(_context.getNode(), "PersistentPropertyToField"); } public static Object referenceMacro_GetReferent_5041115067675810337(final ReferenceMacroContext _context) { return _context.getOutputNodeByInputNodeAndMappingLabel(_context.getNode(), "PersistentPropertyToField"); } public static Object referenceMacro_GetReferent_5041115067675810348(final ReferenceMacroContext _context) { return _context.getOutputNodeByInputNodeAndMappingLabel(_context.getNode(), "PersistentPropertyToField"); } public static Object referenceMacro_GetReferent_5041115067675810388(final ReferenceMacroContext _context) { return _context.getOutputNodeByInputNodeAndMappingLabel(_context.getNode(), "PersistentPropertyToField"); } public static Object referenceMacro_GetReferent_5041115067675810399(final ReferenceMacroContext _context) { return _context.getOutputNodeByInputNodeAndMappingLabel(_context.getNode(), "PersistentPropertyToField"); } public static Object referenceMacro_GetReferent_5041115067675810943(final ReferenceMacroContext _context) { return _context.getOutputNodeByInputNodeAndMappingLabel(SLinkOperations.getTarget(_context.getNode(), MetaAdapterFactory.getReferenceLink(0x756e911c3f1f4a48L, 0xbdf5a2ceb91b723cL, 0xd244b712f91010eL, 0xd244b712f91010fL, "variableDeclaration")), "PersistentPropertyToField"); } public static Object referenceMacro_GetReferent_5041115067675811036(final ReferenceMacroContext _context) { return _context.getOutputNodeByInputNodeAndMappingLabel(SLinkOperations.getTarget(_context.getNode(), MetaAdapterFactory.getReferenceLink(0xf3061a5392264cc5L, 0xa443f952ceaf5816L, 0xf8c77f1e98L, 0xf8cc6bf960L, "variableDeclaration")), "ConstructorParamaterToField"); } public static Object referenceMacro_GetReferent_5041115067675811049(final ReferenceMacroContext _context) { return _context.getOutputNodeByInputNodeAndMappingLabel(SLinkOperations.getTarget(_context.getNode(), MetaAdapterFactory.getReferenceLink(0xf3061a5392264cc5L, 0xa443f952ceaf5816L, 0xf8c77f1e98L, 0xf8cc6bf960L, "variableDeclaration")), "ConstructorParamaterToEditorField"); } public static Object referenceMacro_GetReferent_4342433276614908010(final ReferenceMacroContext _context) { return _context.getOutputNodeByInputNodeAndMappingLabel(_context.getNode(), "ConfigurationToClass"); } public static Object referenceMacro_GetReferent_4342433276614928679(final ReferenceMacroContext _context) { return _context.getOutputNodeByInputNodeAndMappingLabel(_context.getNode(), "ConstructorParameterToEditorParameter"); } public static Object referenceMacro_GetReferent_4342433276614907994(final ReferenceMacroContext _context) { return _context.getOutputNodeByInputNodeAndMappingLabel(_context.getNode(), "ConfigurationToClass"); } public static Object referenceMacro_GetReferent_5041115067675811188(final ReferenceMacroContext _context) { return _context.getOutputNodeByInputNodeAndMappingLabel(_context.getNode(), "PersitentTemplatePropertyToEditorFieldDeclaration"); } public static Object referenceMacro_GetReferent_5041115067675811179(final ReferenceMacroContext _context) { return _context.getOutputNodeByInputNodeAndMappingLabel(_context.getNode(), "PersitentTemplatePropertyToEditorParameter"); } public static Object referenceMacro_GetReferent_5041115067675811215(final ReferenceMacroContext _context) { return _context.getOutputNodeByInputNodeAndMappingLabel(_context.getNode(), "ConstructorParamaterToField"); } public static Object referenceMacro_GetReferent_5041115067675811206(final ReferenceMacroContext _context) { return _context.getOutputNodeByInputNodeAndMappingLabel(_context.getNode(), "ConstructorParameterToEditorParameter"); } public static Object referenceMacro_GetReferent_5041115067675811289(final ReferenceMacroContext _context) { return _context.getOutputNodeByInputNodeAndMappingLabel(_context.getNode(), "ConstructorParamaterToField"); } public static Object referenceMacro_GetReferent_5041115067675811307(final ReferenceMacroContext _context) { return _context.getOutputNodeByInputNodeAndMappingLabel(_context.getNode(), "ConfigurationToClass"); } public static Object referenceMacro_GetReferent_5041115067675811317(final ReferenceMacroContext _context) { return _context.getOutputNodeByInputNodeAndMappingLabel(_context.getNode(), "ConfigurationToEditorClass"); } public static Object referenceMacro_GetReferent_5041115067675811329(final ReferenceMacroContext _context) { return _context.getOutputNodeByInputNodeAndMappingLabel(SNodeOperations.cast(_context.getNode(), MetaAdapterFactory.getConcept(0x756e911c3f1f4a48L, 0xbdf5a2ceb91b723cL, 0xd244b712f910113L, "jetbrains.mps.execution.settings.structure.PersistentConfigurationTemplate")), "PersistentConfigurationTemplateToEditorConstructor"); } public static Object referenceMacro_GetReferent_5041115067675811340(final ReferenceMacroContext _context) { return _context.getOutputNodeByInputNodeAndMappingLabel(_context.getNode(), "PersistentPropertyToField"); } public static Object referenceMacro_GetReferent_5041115067675811375(final ReferenceMacroContext _context) { return _context.getOutputNodeByInputNodeAndMappingLabel(_context.getNode(), "ConstructorParamaterToField"); } public static Object referenceMacro_GetReferent_5041115067675811422(final ReferenceMacroContext _context) { return _context.getOutputNodeByInputNodeAndMappingLabel(_context.getNode(), "ConstructorParameterToParameter"); } public static Object referenceMacro_GetReferent_5041115067675811431(final ReferenceMacroContext _context) { return _context.getOutputNodeByInputNodeAndMappingLabel(_context.getNode(), "ConstructorParamaterToField"); } public static Object referenceMacro_GetReferent_5041115067675811494(final ReferenceMacroContext _context) { return _context.getOutputNodeByInputNodeAndMappingLabel(SLinkOperations.getTarget(_context.getNode(), MetaAdapterFactory.getReferenceLink(0x756e911c3f1f4a48L, 0xbdf5a2ceb91b723cL, 0xd244b712f91011cL, 0xd244b712f91011dL, "persistentPropertyDeclaration")), "PersitentTemplatePropertyToEditorFieldDeclaration"); } public static Object referenceMacro_GetReferent_5041115067675811558(final ReferenceMacroContext _context) { if ((SNodeOperations.getNodeAncestor(_context.getNode(), MetaAdapterFactory.getConcept(0x756e911c3f1f4a48L, 0xbdf5a2ceb91b723cL, 0xd244b712f91013dL, "jetbrains.mps.execution.settings.structure.SettingsEditor"), false, false) != null)) { return EditorOperationDeclaration__BehaviorDescriptor.getJavaMethod_idO$iR4J$gaJ.invoke(SLinkOperations.getTarget(_context.getNode(), MetaAdapterFactory.getReferenceLink(0x756e911c3f1f4a48L, 0xbdf5a2ceb91b723cL, 0xd244b712f91012eL, 0xd244b712f910131L, "editorOperationDeclaration"))); } else { return EditorOperationDeclaration__BehaviorDescriptor.getPublicJavaMethod_idbkrofm9Fgz.invoke(SLinkOperations.getTarget(_context.getNode(), MetaAdapterFactory.getReferenceLink(0x756e911c3f1f4a48L, 0xbdf5a2ceb91b723cL, 0xd244b712f91012eL, 0xd244b712f910131L, "editorOperationDeclaration"))); } } public static Object referenceMacro_GetReferent_5041115067675811570(final ReferenceMacroContext _context) { return _context.getOutputNodeByInputNodeAndMappingLabel(SLinkOperations.getTarget(_context.getNode(), MetaAdapterFactory.getReferenceLink(0xf3061a5392264cc5L, 0xa443f952ceaf5816L, 0xf8c77f1e98L, 0xf8cc6bf960L, "variableDeclaration")), "EditorPropertyToField"); } public static Object referenceMacro_GetReferent_5041115067675932688(final ReferenceMacroContext _context) { return _context.getOutputNodeByInputNodeAndMappingLabel(SLinkOperations.getTarget(SNodeOperations.cast(SLinkOperations.getTarget(SNodeOperations.cast(SLinkOperations.getTarget(_context.getNode(), MetaAdapterFactory.getContainmentLink(0xf3061a5392264cc5L, 0xa443f952ceaf5816L, 0x11b0d00332cL, 0xf8c77f1e97L, "lValue")), MetaAdapterFactory.getConcept(0xf3061a5392264cc5L, 0xa443f952ceaf5816L, 0x116b46a08c4L, "jetbrains.mps.baseLanguage.structure.DotExpression")), MetaAdapterFactory.getContainmentLink(0xf3061a5392264cc5L, 0xa443f952ceaf5816L, 0x116b46a08c4L, 0x116b46b36c4L, "operation")), MetaAdapterFactory.getConcept(0x756e911c3f1f4a48L, 0xbdf5a2ceb91b723cL, 0xd244b712f91010eL, "jetbrains.mps.execution.settings.structure.PersistentPropertyReferenceOperation")), MetaAdapterFactory.getReferenceLink(0x756e911c3f1f4a48L, 0xbdf5a2ceb91b723cL, 0xd244b712f91010eL, 0xd244b712f91010fL, "variableDeclaration")), "PersistentPropertyToSetter"); } public static Object referenceMacro_GetReferent_5041115067675939294(final ReferenceMacroContext _context) { return _context.getOutputNodeByInputNodeAndMappingLabel(SLinkOperations.getTarget(SNodeOperations.cast(SLinkOperations.getTarget(_context.getNode(), MetaAdapterFactory.getContainmentLink(0xf3061a5392264cc5L, 0xa443f952ceaf5816L, 0x116b46a08c4L, 0x116b46b36c4L, "operation")), MetaAdapterFactory.getConcept(0x443f4c36fcf54eb6L, 0x95008d06ed259e3eL, 0x118bd711e29L, "jetbrains.mps.baseLanguage.classifiers.structure.DefaultClassifierMethodCallOperation")), MetaAdapterFactory.getReferenceLink(0x443f4c36fcf54eb6L, 0x95008d06ed259e3eL, 0x118bca97396L, 0x118bcb657ecL, "member")), "map_ClassifierMethod"); } public static Object referenceMacro_GetReferent_203908296139451946(final ReferenceMacroContext _context) { return _context.getOutputNodeByInputNodeAndMappingLabel(SLinkOperations.getTarget(TypeChecker.getInstance().getRuntimeSupport().coerce_(TypeChecker.getInstance().getTypeOf(SLinkOperations.getTarget(SNodeOperations.cast(SNodeOperations.getParent(_context.getNode()), MetaAdapterFactory.getConcept(0xf3061a5392264cc5L, 0xa443f952ceaf5816L, 0x116b46a08c4L, "jetbrains.mps.baseLanguage.structure.DotExpression")), MetaAdapterFactory.getContainmentLink(0xf3061a5392264cc5L, 0xa443f952ceaf5816L, 0x116b46a08c4L, 0x116b46a4416L, "operand"))), HUtil.createMatchingPatternByConcept(MetaAdapterFactory.getConcept(0x756e911c3f1f4a48L, 0xbdf5a2ceb91b723cL, 0xd244b712f91001cL, "jetbrains.mps.execution.settings.structure.PersistentConfigurationType")), true), MetaAdapterFactory.getReferenceLink(0x756e911c3f1f4a48L, 0xbdf5a2ceb91b723cL, 0xd244b712f91001cL, 0xd244b712f91001dL, "persistentConfiguration")), "ConfigurationToClass"); } public static Object referenceMacro_GetReferent_203908296139284729(final ReferenceMacroContext _context) { return _context.getOutputNodeByInputNodeAndMappingLabel(SLinkOperations.getTarget(_context.getNode(), MetaAdapterFactory.getReferenceLink(0x756e911c3f1f4a48L, 0xbdf5a2ceb91b723cL, 0xd244b712f91013aL, 0xd244b712f91013bL, "configuration")), "ConfigurationToClass"); } public static boolean ifMacro_Condition_5041115067675810133(final IfMacroContext _context) { return (SLinkOperations.getTarget(SLinkOperations.getTarget(_context.getNode(), MetaAdapterFactory.getContainmentLink(0x756e911c3f1f4a48L, 0xbdf5a2ceb91b723cL, 0xd244b712f910020L, 0xd244b712f910021L, "editor")), MetaAdapterFactory.getContainmentLink(0x756e911c3f1f4a48L, 0xbdf5a2ceb91b723cL, 0xd244b712f91013dL, 0xd244b712f910141L, "dispose")) != null); } public static boolean ifMacro_Condition_5041115067675810229(final IfMacroContext _context) { return (SLinkOperations.getTarget(SLinkOperations.getTarget(_context.getNode(), MetaAdapterFactory.getContainmentLink(0x756e911c3f1f4a48L, 0xbdf5a2ceb91b723cL, 0xd244b712f910020L, 0xd244b712f910021L, "editor")), MetaAdapterFactory.getContainmentLink(0x756e911c3f1f4a48L, 0xbdf5a2ceb91b723cL, 0xd244b712f91013dL, 0xd244b712f91013fL, "applyTo")) != null); } public static boolean ifMacro_Condition_5041115067675810268(final IfMacroContext _context) { return (SLinkOperations.getTarget(SLinkOperations.getTarget(_context.getNode(), MetaAdapterFactory.getContainmentLink(0x756e911c3f1f4a48L, 0xbdf5a2ceb91b723cL, 0xd244b712f910020L, 0xd244b712f910021L, "editor")), MetaAdapterFactory.getContainmentLink(0x756e911c3f1f4a48L, 0xbdf5a2ceb91b723cL, 0xd244b712f91013dL, 0xd244b712f910140L, "resetFrom")) != null); } public static boolean ifMacro_Condition_5041115067675810618(final IfMacroContext _context) { return !((boolean) PersistentPropertyDeclaration__BehaviorDescriptor.isTemplate_idO$iR4J$g8G.invoke(_context.getNode())); } public static boolean ifMacro_Condition_5041115067675810687(final IfMacroContext _context) { return !((boolean) PersistentPropertyDeclaration__BehaviorDescriptor.isTemplate_idO$iR4J$g8G.invoke(_context.getNode())); } public static boolean ifMacro_Condition_5041115067675810374(final IfMacroContext _context) { return TypeChecker.getInstance().getSubtypingManager().isSubtype(SLinkOperations.getTarget(_context.getNode(), MetaAdapterFactory.getContainmentLink(0xf3061a5392264cc5L, 0xa443f952ceaf5816L, 0x450368d90ce15bc3L, 0x4ed4d318133c80ceL, "type")), _quotation_createNode_x583g4_b0a0a78()); } public static boolean ifMacro_Condition_5041115067675810910(final IfMacroContext _context) { return (SLinkOperations.getTarget(_context.getNode(), MetaAdapterFactory.getContainmentLink(0xf3061a5392264cc5L, 0xa443f952ceaf5816L, 0xf8c37a7f6eL, 0xf8c37f506eL, "initializer")) == null); } public static boolean ifMacro_Condition_5041115067675811006(final IfMacroContext _context) { return SLinkOperations.getTarget(_context.getNode(), MetaAdapterFactory.getContainmentLink(0xf3061a5392264cc5L, 0xa443f952ceaf5816L, 0xf8c37a7f6eL, 0xf8c37f506eL, "initializer")) != null; } public static boolean ifMacro_Condition_3131153648913150126(final IfMacroContext _context) { return (SLinkOperations.getTarget(TypeChecker.getInstance().getRuntimeSupport().coerce_(_context.getNode(), HUtil.createMatchingPatternByConcept(MetaAdapterFactory.getConcept(0x756e911c3f1f4a48L, 0xbdf5a2ceb91b723cL, 0xd244b712f91001cL, "jetbrains.mps.execution.settings.structure.PersistentConfigurationType")), true), MetaAdapterFactory.getReferenceLink(0x756e911c3f1f4a48L, 0xbdf5a2ceb91b723cL, 0xd244b712f91001cL, 0xd244b712f91001dL, "persistentConfiguration")) != null); } public static boolean ifMacro_Condition_5041115067675811516(final IfMacroContext _context) { return SLinkOperations.getTarget(_context.getNode(), MetaAdapterFactory.getContainmentLink(0xf3061a5392264cc5L, 0xa443f952ceaf5816L, 0xf8c37a7f6eL, 0xf8c37f506eL, "initializer")) != null; } public static boolean ifMacro_Condition_9164571165378485912(final IfMacroContext _context) { SNode configurationType = TypeChecker.getInstance().getRuntimeSupport().coerce_(TypeChecker.getInstance().getTypeOf(SLinkOperations.getTarget(SNodeOperations.cast(SLinkOperations.getTarget(_context.getNode(), MetaAdapterFactory.getContainmentLink(0xf3061a5392264cc5L, 0xa443f952ceaf5816L, 0x11b0d00332cL, 0xf8c77f1e97L, "lValue")), MetaAdapterFactory.getConcept(0xf3061a5392264cc5L, 0xa443f952ceaf5816L, 0x116b46a08c4L, "jetbrains.mps.baseLanguage.structure.DotExpression")), MetaAdapterFactory.getContainmentLink(0xf3061a5392264cc5L, 0xa443f952ceaf5816L, 0x116b46a08c4L, 0x116b46a4416L, "operand"))), HUtil.createMatchingPatternByConcept(MetaAdapterFactory.getConcept(0x756e911c3f1f4a48L, 0xbdf5a2ceb91b723cL, 0xd244b712f91001cL, "jetbrains.mps.execution.settings.structure.PersistentConfigurationType")), true); return (configurationType != null) && eq_x583g4_a0a1a29(SNodeOperations.getModel(SLinkOperations.getTarget(configurationType, MetaAdapterFactory.getReferenceLink(0x756e911c3f1f4a48L, 0xbdf5a2ceb91b723cL, 0xd244b712f91001cL, 0xd244b712f91001dL, "persistentConfiguration"))), _context.getInputModel()); } public static boolean ifMacro_Condition_3131153648913159012(final IfMacroContext _context) { return (SLinkOperations.getTarget(TypeChecker.getInstance().getRuntimeSupport().coerce_(TypeChecker.getInstance().getTypeOf(SLinkOperations.getTarget(SNodeOperations.cast(SNodeOperations.getParent(_context.getNode()), MetaAdapterFactory.getConcept(0xf3061a5392264cc5L, 0xa443f952ceaf5816L, 0x116b46a08c4L, "jetbrains.mps.baseLanguage.structure.DotExpression")), MetaAdapterFactory.getContainmentLink(0xf3061a5392264cc5L, 0xa443f952ceaf5816L, 0x116b46a08c4L, 0x116b46a4416L, "operand"))), HUtil.createMatchingPatternByConcept(MetaAdapterFactory.getConcept(0x756e911c3f1f4a48L, 0xbdf5a2ceb91b723cL, 0xd244b712f91001cL, "jetbrains.mps.execution.settings.structure.PersistentConfigurationType")), true), MetaAdapterFactory.getReferenceLink(0x756e911c3f1f4a48L, 0xbdf5a2ceb91b723cL, 0xd244b712f91001cL, 0xd244b712f91001dL, "persistentConfiguration")) != null); } public static SNode sourceNodeQuery_2722628536112144957(final SourceSubstituteMacroNodeContext _context) { return SLinkOperations.getTarget(_context.getNode(), MetaAdapterFactory.getContainmentLink(0x756e911c3f1f4a48L, 0xbdf5a2ceb91b723cL, 0x25c8b83a7e4bb488L, 0x25c8b83a7e4e6246L, "order")); } public static SNode sourceNodeQuery_2158326176673567625(final SourceSubstituteMacroNodeContext _context) { return SLinkOperations.getTarget(_context.getNode(), MetaAdapterFactory.getContainmentLink(0x756e911c3f1f4a48L, 0xbdf5a2ceb91b723cL, 0x25c8b83a7e4bb488L, 0x25c8b83a7e4e6246L, "order")); } public static SNode sourceNodeQuery_2158326176673567634(final SourceSubstituteMacroNodeContext _context) { return SLinkOperations.getTarget(_context.getNode(), MetaAdapterFactory.getContainmentLink(0x756e911c3f1f4a48L, 0xbdf5a2ceb91b723cL, 0x25c8b83a7e4bb488L, 0x25c8b83a7e4e6246L, "order")); } public static SNode sourceNodeQuery_5041115067675810122(final SourceSubstituteMacroNodeContext _context) { return SLinkOperations.getTarget(SLinkOperations.getTarget(SLinkOperations.getTarget(_context.getNode(), MetaAdapterFactory.getContainmentLink(0x756e911c3f1f4a48L, 0xbdf5a2ceb91b723cL, 0xd244b712f910020L, 0xd244b712f910021L, "editor")), MetaAdapterFactory.getContainmentLink(0x756e911c3f1f4a48L, 0xbdf5a2ceb91b723cL, 0xd244b712f91013dL, 0xd244b712f910141L, "dispose")), MetaAdapterFactory.getContainmentLink(0xf3061a5392264cc5L, 0xa443f952ceaf5816L, 0x108bbca0f48L, 0x108bbd29b4aL, "body")); } public static SNode sourceNodeQuery_5041115067675810188(final SourceSubstituteMacroNodeContext _context) { return SLinkOperations.getTarget(SLinkOperations.getTarget(SLinkOperations.getTarget(_context.getNode(), MetaAdapterFactory.getContainmentLink(0x756e911c3f1f4a48L, 0xbdf5a2ceb91b723cL, 0xd244b712f910020L, 0xd244b712f910021L, "editor")), MetaAdapterFactory.getContainmentLink(0x756e911c3f1f4a48L, 0xbdf5a2ceb91b723cL, 0xd244b712f91013dL, 0xd244b712f91013eL, "createEditor")), MetaAdapterFactory.getContainmentLink(0xf3061a5392264cc5L, 0xa443f952ceaf5816L, 0x108bbca0f48L, 0x108bbd29b4aL, "body")); } public static SNode sourceNodeQuery_5041115067675810175(final SourceSubstituteMacroNodeContext _context) { return TypeChecker.getInstance().getTypeOf(SLinkOperations.getTarget(SLinkOperations.getTarget(_context.getNode(), MetaAdapterFactory.getContainmentLink(0x756e911c3f1f4a48L, 0xbdf5a2ceb91b723cL, 0xd244b712f910020L, 0xd244b712f910021L, "editor")), MetaAdapterFactory.getContainmentLink(0x756e911c3f1f4a48L, 0xbdf5a2ceb91b723cL, 0xd244b712f91013dL, 0xd244b712f91013eL, "createEditor"))); } public static SNode sourceNodeQuery_5041115067675810218(final SourceSubstituteMacroNodeContext _context) { return SLinkOperations.getTarget(SLinkOperations.getTarget(SLinkOperations.getTarget(_context.getNode(), MetaAdapterFactory.getContainmentLink(0x756e911c3f1f4a48L, 0xbdf5a2ceb91b723cL, 0xd244b712f910020L, 0xd244b712f910021L, "editor")), MetaAdapterFactory.getContainmentLink(0x756e911c3f1f4a48L, 0xbdf5a2ceb91b723cL, 0xd244b712f91013dL, 0xd244b712f91013fL, "applyTo")), MetaAdapterFactory.getContainmentLink(0xf3061a5392264cc5L, 0xa443f952ceaf5816L, 0x108bbca0f48L, 0x108bbd29b4aL, "body")); } public static SNode sourceNodeQuery_5041115067675810257(final SourceSubstituteMacroNodeContext _context) { return SLinkOperations.getTarget(SLinkOperations.getTarget(SLinkOperations.getTarget(_context.getNode(), MetaAdapterFactory.getContainmentLink(0x756e911c3f1f4a48L, 0xbdf5a2ceb91b723cL, 0xd244b712f910020L, 0xd244b712f910021L, "editor")), MetaAdapterFactory.getContainmentLink(0x756e911c3f1f4a48L, 0xbdf5a2ceb91b723cL, 0xd244b712f91013dL, 0xd244b712f910140L, "resetFrom")), MetaAdapterFactory.getContainmentLink(0xf3061a5392264cc5L, 0xa443f952ceaf5816L, 0x108bbca0f48L, 0x108bbd29b4aL, "body")); } public static SNode sourceNodeQuery_5041115067675810654(final SourceSubstituteMacroNodeContext _context) { return SLinkOperations.getTarget(_context.getNode(), MetaAdapterFactory.getContainmentLink(0xf3061a5392264cc5L, 0xa443f952ceaf5816L, 0x450368d90ce15bc3L, 0x4ed4d318133c80ceL, "type")); } public static SNode sourceNodeQuery_5041115067675810664(final SourceSubstituteMacroNodeContext _context) { return SLinkOperations.getTarget(_context.getNode(), MetaAdapterFactory.getContainmentLink(0xf3061a5392264cc5L, 0xa443f952ceaf5816L, 0x450368d90ce15bc3L, 0x4ed4d318133c80ceL, "type")); } public static SNode sourceNodeQuery_5041115067675810725(final SourceSubstituteMacroNodeContext _context) { return SLinkOperations.getTarget(_context.getNode(), MetaAdapterFactory.getContainmentLink(0xf3061a5392264cc5L, 0xa443f952ceaf5816L, 0xf8cc56b1fcL, 0xf8cc56b1fdL, "returnType")); } public static SNode sourceNodeQuery_5041115067675810733(final SourceSubstituteMacroNodeContext _context) { return SLinkOperations.getTarget(_context.getNode(), MetaAdapterFactory.getContainmentLink(0xf3061a5392264cc5L, 0xa443f952ceaf5816L, 0x112670d273fL, 0x112670d886aL, "visibility")); } public static SNode sourceNodeQuery_5041115067675810741(final SourceSubstituteMacroNodeContext _context) { return SLinkOperations.getTarget(_context.getNode(), MetaAdapterFactory.getContainmentLink(0xf3061a5392264cc5L, 0xa443f952ceaf5816L, 0xf8cc56b1fcL, 0xf8cc56b1ffL, "body")); } public static SNode sourceNodeQuery_5041115067675810826(final SourceSubstituteMacroNodeContext _context) { return TypeChecker.getInstance().getTypeOf(_context.getNode()); } public static SNode sourceNodeQuery_5041115067675810921(final SourceSubstituteMacroNodeContext _context) { return SLinkOperations.getTarget(_context.getNode(), MetaAdapterFactory.getContainmentLink(0xf3061a5392264cc5L, 0xa443f952ceaf5816L, 0xf8c37a7f6eL, 0xf8c37f506eL, "initializer")); } public static SNode sourceNodeQuery_5041115067675810930(final SourceSubstituteMacroNodeContext _context) { return SLinkOperations.getTarget(_context.getNode(), MetaAdapterFactory.getContainmentLink(0xf3061a5392264cc5L, 0xa443f952ceaf5816L, 0x450368d90ce15bc3L, 0x4ed4d318133c80ceL, "type")); } public static SNode sourceNodeQuery_5041115067675810959(final SourceSubstituteMacroNodeContext _context) { return SLinkOperations.getTarget(_context.getNode(), MetaAdapterFactory.getContainmentLink(0x756e911c3f1f4a48L, 0xbdf5a2ceb91b723cL, 0xd244b712f910103L, 0xd244b712f910105L, "expression")); } public static SNode sourceNodeQuery_6226796386650562399(final SourceSubstituteMacroNodeContext _context) { return SLinkOperations.getTarget(SLinkOperations.getTarget(_context.getNode(), MetaAdapterFactory.getReferenceLink(0x756e911c3f1f4a48L, 0xbdf5a2ceb91b723cL, 0xd244b712f91010eL, 0xd244b712f91010fL, "variableDeclaration")), MetaAdapterFactory.getContainmentLink(0xf3061a5392264cc5L, 0xa443f952ceaf5816L, 0x450368d90ce15bc3L, 0x4ed4d318133c80ceL, "type")); } public static SNode sourceNodeQuery_5041115067675810990(final SourceSubstituteMacroNodeContext _context) { return SLinkOperations.getTarget(_context.getNode(), MetaAdapterFactory.getContainmentLink(0xf3061a5392264cc5L, 0xa443f952ceaf5816L, 0x450368d90ce15bc3L, 0x4ed4d318133c80ceL, "type")); } public static SNode sourceNodeQuery_5041115067675811015(final SourceSubstituteMacroNodeContext _context) { return SLinkOperations.getTarget(_context.getNode(), MetaAdapterFactory.getContainmentLink(0xf3061a5392264cc5L, 0xa443f952ceaf5816L, 0xf8c37a7f6eL, 0xf8c37f506eL, "initializer")); } public static SNode sourceNodeQuery_5041115067675811096(final SourceSubstituteMacroNodeContext _context) { return SLinkOperations.getTarget(_context.getNode(), MetaAdapterFactory.getContainmentLink(0xf3061a5392264cc5L, 0xa443f952ceaf5816L, 0x450368d90ce15bc3L, 0x4ed4d318133c80ceL, "type")); } public static SNode sourceNodeQuery_5041115067675811151(final SourceSubstituteMacroNodeContext _context) { return SLinkOperations.getTarget(_context.getNode(), MetaAdapterFactory.getContainmentLink(0xf3061a5392264cc5L, 0xa443f952ceaf5816L, 0x450368d90ce15bc3L, 0x4ed4d318133c80ceL, "type")); } public static SNode sourceNodeQuery_5041115067675811394(final SourceSubstituteMacroNodeContext _context) { return SLinkOperations.getTarget(_context.getNode(), MetaAdapterFactory.getContainmentLink(0xf3061a5392264cc5L, 0xa443f952ceaf5816L, 0x450368d90ce15bc3L, 0x4ed4d318133c80ceL, "type")); } public static SNode sourceNodeQuery_5041115067675811464(final SourceSubstituteMacroNodeContext _context) { return SLinkOperations.getTarget(_context.getNode(), MetaAdapterFactory.getContainmentLink(0xf3061a5392264cc5L, 0xa443f952ceaf5816L, 0x450368d90ce15bc3L, 0x4ed4d318133c80ceL, "type")); } public static SNode sourceNodeQuery_5041115067675811508(final SourceSubstituteMacroNodeContext _context) { return SLinkOperations.getTarget(_context.getNode(), MetaAdapterFactory.getContainmentLink(0xf3061a5392264cc5L, 0xa443f952ceaf5816L, 0x450368d90ce15bc3L, 0x4ed4d318133c80ceL, "type")); } public static SNode sourceNodeQuery_5041115067675811525(final SourceSubstituteMacroNodeContext _context) { return SLinkOperations.getTarget(_context.getNode(), MetaAdapterFactory.getContainmentLink(0xf3061a5392264cc5L, 0xa443f952ceaf5816L, 0xf8c37a7f6eL, 0xf8c37f506eL, "initializer")); } public static SNode sourceNodeQuery_5041115067675932669(final SourceSubstituteMacroNodeContext _context) { return SLinkOperations.getTarget(SNodeOperations.cast(SLinkOperations.getTarget(_context.getNode(), MetaAdapterFactory.getContainmentLink(0xf3061a5392264cc5L, 0xa443f952ceaf5816L, 0x11b0d00332cL, 0xf8c77f1e97L, "lValue")), MetaAdapterFactory.getConcept(0xf3061a5392264cc5L, 0xa443f952ceaf5816L, 0x116b46a08c4L, "jetbrains.mps.baseLanguage.structure.DotExpression")), MetaAdapterFactory.getContainmentLink(0xf3061a5392264cc5L, 0xa443f952ceaf5816L, 0x116b46a08c4L, 0x116b46a4416L, "operand")); } public static SNode sourceNodeQuery_5041115067675932681(final SourceSubstituteMacroNodeContext _context) { return SLinkOperations.getTarget(_context.getNode(), MetaAdapterFactory.getContainmentLink(0xf3061a5392264cc5L, 0xa443f952ceaf5816L, 0x11b0d00332cL, 0xf8c77f1e99L, "rValue")); } public static SNode sourceNodeQuery_3575782568432486552(final SourceSubstituteMacroNodeContext _context) { return SLinkOperations.getTarget(_context.getNode(), MetaAdapterFactory.getContainmentLink(0xf3061a5392264cc5L, 0xa443f952ceaf5816L, 0x11b0d00332cL, 0xf8c77f1e99L, "rValue")); } public static SNode sourceNodeQuery_3575782568432486539(final SourceSubstituteMacroNodeContext _context) { return SLinkOperations.getTarget(SNodeOperations.cast(SLinkOperations.getTarget(_context.getNode(), MetaAdapterFactory.getContainmentLink(0xf3061a5392264cc5L, 0xa443f952ceaf5816L, 0x11b0d00332cL, 0xf8c77f1e97L, "lValue")), MetaAdapterFactory.getConcept(0xf3061a5392264cc5L, 0xa443f952ceaf5816L, 0x116b46a08c4L, "jetbrains.mps.baseLanguage.structure.DotExpression")), MetaAdapterFactory.getContainmentLink(0xf3061a5392264cc5L, 0xa443f952ceaf5816L, 0x116b46a08c4L, 0x116b46a4416L, "operand")); } public static Iterable<SNode> sourceNodesQuery_5041115067675810054(final SourceSubstituteMacroNodesContext _context) { return SLinkOperations.getChildren(SLinkOperations.getTarget(_context.getNode(), MetaAdapterFactory.getContainmentLink(0x756e911c3f1f4a48L, 0xbdf5a2ceb91b723cL, 0xd244b712f910020L, 0xd244b712f910021L, "editor")), MetaAdapterFactory.getContainmentLink(0x756e911c3f1f4a48L, 0xbdf5a2ceb91b723cL, 0xd244b712f91013dL, 0xd244b712f910142L, "propertyDeclaration")); } public static Iterable<SNode> sourceNodesQuery_5041115067675810065(final SourceSubstituteMacroNodesContext _context) { return ListSequence.fromList(SLinkOperations.getChildren(_context.getNode(), MetaAdapterFactory.getContainmentLink(0x756e911c3f1f4a48L, 0xbdf5a2ceb91b723cL, 0xd244b712f910122L, 0xd244b712f910123L, "persistentProperty"))).where(new IWhereFilter<SNode>() { public boolean accept(SNode it) { return (boolean) PersistentPropertyDeclaration__BehaviorDescriptor.isTemplate_idO$iR4J$g8G.invoke(it); } }); } public static Iterable<SNode> sourceNodesQuery_5041115067675810155(final SourceSubstituteMacroNodesContext _context) { return ListSequence.fromList(SLinkOperations.getChildren(_context.getNode(), MetaAdapterFactory.getContainmentLink(0x756e911c3f1f4a48L, 0xbdf5a2ceb91b723cL, 0xd244b712f910122L, 0xd244b712f910123L, "persistentProperty"))).where(new IWhereFilter<SNode>() { public boolean accept(SNode it) { return (boolean) PersistentPropertyDeclaration__BehaviorDescriptor.isTemplate_idO$iR4J$g8G.invoke(it); } }); } public static Iterable<SNode> sourceNodesQuery_5041115067675810583(final SourceSubstituteMacroNodesContext _context) { return ListSequence.fromList(SLinkOperations.getChildren(_context.getNode(), MetaAdapterFactory.getContainmentLink(0x756e911c3f1f4a48L, 0xbdf5a2ceb91b723cL, 0xd244b712f910122L, 0xd244b712f910123L, "persistentProperty"))).where(new IWhereFilter<SNode>() { public boolean accept(SNode it) { return (boolean) PersistentPropertyDeclaration__BehaviorDescriptor.isTemplate_idO$iR4J$g8G.invoke(it); } }); } public static Iterable<SNode> sourceNodesQuery_479872435242654663(final SourceSubstituteMacroNodesContext _context) { return SLinkOperations.getChildren(SLinkOperations.getTarget(SLinkOperations.getTarget(_context.getNode(), MetaAdapterFactory.getContainmentLink(0x756e911c3f1f4a48L, 0xbdf5a2ceb91b723cL, 0xd244b712f910020L, 0xd244b712f910022L, "checkProperties")), MetaAdapterFactory.getContainmentLink(0xf3061a5392264cc5L, 0xa443f952ceaf5816L, 0x108bbca0f48L, 0x108bbd29b4aL, "body")), MetaAdapterFactory.getContainmentLink(0xf3061a5392264cc5L, 0xa443f952ceaf5816L, 0xf8cc56b200L, 0xf8cc6bf961L, "statement")); } public static Iterable<SNode> sourceNodesQuery_5041115067675810485(final SourceSubstituteMacroNodesContext _context) { return ListSequence.fromList(SLinkOperations.getChildren(_context.getNode(), MetaAdapterFactory.getContainmentLink(0x756e911c3f1f4a48L, 0xbdf5a2ceb91b723cL, 0xd244b712f910122L, 0xd244b712f910123L, "persistentProperty"))).where(new IWhereFilter<SNode>() { public boolean accept(SNode it) { return (boolean) PersistentPropertyDeclaration__BehaviorDescriptor.isTemplate_idO$iR4J$g8G.invoke(it); } }); } public static Iterable<SNode> sourceNodesQuery_5041115067675810550(final SourceSubstituteMacroNodesContext _context) { return ListSequence.fromList(SLinkOperations.getChildren(_context.getNode(), MetaAdapterFactory.getContainmentLink(0x756e911c3f1f4a48L, 0xbdf5a2ceb91b723cL, 0xd244b712f910122L, 0xd244b712f910123L, "persistentProperty"))).where(new IWhereFilter<SNode>() { public boolean accept(SNode it) { return (boolean) PersistentPropertyDeclaration__BehaviorDescriptor.isTemplate_idO$iR4J$g8G.invoke(it); } }); } public static Iterable<SNode> sourceNodesQuery_5041115067675810637(final SourceSubstituteMacroNodesContext _context) { return SLinkOperations.getChildren(_context.getNode(), MetaAdapterFactory.getContainmentLink(0x756e911c3f1f4a48L, 0xbdf5a2ceb91b723cL, 0xd244b712f910122L, 0xd244b712f910123L, "persistentProperty")); } public static Iterable<SNode> sourceNodesQuery_5041115067675810695(final SourceSubstituteMacroNodesContext _context) { return ListSequence.fromList(SLinkOperations.getChildren(_context.getNode(), MetaAdapterFactory.getContainmentLink(0x756e911c3f1f4a48L, 0xbdf5a2ceb91b723cL, 0xd244b712f910122L, 0xd244b712f910123L, "persistentProperty"))).where(new IWhereFilter<SNode>() { public boolean accept(SNode it) { return !((boolean) PersistentPropertyDeclaration__BehaviorDescriptor.isTemplate_idO$iR4J$g8G.invoke(it)); } }); } public static Iterable<SNode> sourceNodesQuery_5041115067675810757(final SourceSubstituteMacroNodesContext _context) { return SLinkOperations.getChildren(_context.getNode(), MetaAdapterFactory.getContainmentLink(0xf3061a5392264cc5L, 0xa443f952ceaf5816L, 0xf8cc56b1fcL, 0xf8cc56b1feL, "parameter")); } public static Iterable<SNode> sourceNodesQuery_5041115067675810765(final SourceSubstituteMacroNodesContext _context) { return SLinkOperations.getChildren(_context.getNode(), MetaAdapterFactory.getContainmentLink(0xf3061a5392264cc5L, 0xa443f952ceaf5816L, 0x114a6be947aL, 0x114a6beb0bdL, "annotation")); } public static Iterable<SNode> sourceNodesQuery_5041115067675810773(final SourceSubstituteMacroNodesContext _context) { return SLinkOperations.getChildren(_context.getNode(), MetaAdapterFactory.getContainmentLink(0xf3061a5392264cc5L, 0xa443f952ceaf5816L, 0xf8cc56b1fcL, 0x10f383d6949L, "throwsItem")); } public static Iterable<SNode> sourceNodesQuery_5041115067675810780(final SourceSubstituteMacroNodesContext _context) { return SLinkOperations.getChildren(_context.getNode(), MetaAdapterFactory.getContainmentLink(0x756e911c3f1f4a48L, 0xbdf5a2ceb91b723cL, 0xd244b712f910020L, 0xd244b712f910023L, "methods")); } public static Iterable<SNode> sourceNodesQuery_5041115067675810844(final SourceSubstituteMacroNodesContext _context) { return ListSequence.fromList(SLinkOperations.getChildren(_context.getNode(), MetaAdapterFactory.getContainmentLink(0x756e911c3f1f4a48L, 0xbdf5a2ceb91b723cL, 0xd244b712f910122L, 0xd244b712f910123L, "persistentProperty"))).where(new IWhereFilter<SNode>() { public boolean accept(SNode it) { return (boolean) PersistentPropertyDeclaration__BehaviorDescriptor.isTemplate_idO$iR4J$g8G.invoke(it); } }); } public static Iterable<SNode> sourceNodesQuery_5041115067675810286(final SourceSubstituteMacroNodesContext _context) { return ListSequence.fromList(SLinkOperations.getChildren(_context.getNode(), MetaAdapterFactory.getContainmentLink(0x756e911c3f1f4a48L, 0xbdf5a2ceb91b723cL, 0xd244b712f910122L, 0xd244b712f910123L, "persistentProperty"))).where(new IWhereFilter<SNode>() { public boolean accept(SNode it) { return !((boolean) PersistentPropertyDeclaration__BehaviorDescriptor.isTemplate_idO$iR4J$g8G.invoke(it)); } }); } public static Iterable<SNode> sourceNodesQuery_5041115067675810356(final SourceSubstituteMacroNodesContext _context) { return ListSequence.fromList(SLinkOperations.getChildren(_context.getNode(), MetaAdapterFactory.getContainmentLink(0x756e911c3f1f4a48L, 0xbdf5a2ceb91b723cL, 0xd244b712f910122L, 0xd244b712f910123L, "persistentProperty"))).where(new IWhereFilter<SNode>() { public boolean accept(SNode it) { return !((boolean) PersistentPropertyDeclaration__BehaviorDescriptor.isTemplate_idO$iR4J$g8G.invoke(it)); } }); } public static Iterable<SNode> sourceNodesQuery_5041115067675811064(final SourceSubstituteMacroNodesContext _context) { return SLinkOperations.getChildren(SNodeOperations.cast(SLinkOperations.getTarget(_context.getNode(), MetaAdapterFactory.getContainmentLink(0xf3061a5392264cc5L, 0xa443f952ceaf5816L, 0x10ab8473cc5L, 0x10ab847b486L, "creator")), MetaAdapterFactory.getConcept(0x756e911c3f1f4a48L, 0xbdf5a2ceb91b723cL, 0xd244b712f910116L, "jetbrains.mps.execution.settings.structure.PersistentConfigurationTemplateInitializer")), MetaAdapterFactory.getContainmentLink(0x756e911c3f1f4a48L, 0xbdf5a2ceb91b723cL, 0xd244b712f910116L, 0xd244b712f910118L, "parameter")); } public static Iterable<SNode> sourceNodesQuery_5041115067675811104(final SourceSubstituteMacroNodesContext _context) { return SLinkOperations.getChildren(_context.getNode(), MetaAdapterFactory.getContainmentLink(0x756e911c3f1f4a48L, 0xbdf5a2ceb91b723cL, 0xd244b712f910113L, 0xd244b712f910115L, "templateParameter")); } public static Iterable<SNode> sourceNodesQuery_5041115067675811142(final SourceSubstituteMacroNodesContext _context) { return (List<SNode>) PersistentConfiguration__BehaviorDescriptor.getTemplateProperties_idO$iR4J$g3e.invoke(_context.getNode()); } public static Iterable<SNode> sourceNodesQuery_4342433276614928669(final SourceSubstituteMacroNodesContext _context) { return SLinkOperations.getChildren(_context.getNode(), MetaAdapterFactory.getContainmentLink(0x756e911c3f1f4a48L, 0xbdf5a2ceb91b723cL, 0xd244b712f910113L, 0xd244b712f910115L, "templateParameter")); } public static Iterable<SNode> sourceNodesQuery_5041115067675811196(final SourceSubstituteMacroNodesContext _context) { return (List<SNode>) PersistentConfiguration__BehaviorDescriptor.getTemplateProperties_idO$iR4J$g3e.invoke(_context.getNode()); } public static Iterable<SNode> sourceNodesQuery_5041115067675811223(final SourceSubstituteMacroNodesContext _context) { return SLinkOperations.getChildren(_context.getNode(), MetaAdapterFactory.getContainmentLink(0x756e911c3f1f4a48L, 0xbdf5a2ceb91b723cL, 0xd244b712f910113L, 0xd244b712f910115L, "templateParameter")); } public static Iterable<SNode> sourceNodesQuery_5041115067675811158(final SourceSubstituteMacroNodesContext _context) { return SLinkOperations.getChildren(_context.getNode(), MetaAdapterFactory.getContainmentLink(0x756e911c3f1f4a48L, 0xbdf5a2ceb91b723cL, 0xd244b712f910113L, 0xd244b712f910115L, "templateParameter")); } public static Iterable<SNode> sourceNodesQuery_5041115067675811281(final SourceSubstituteMacroNodesContext _context) { return SLinkOperations.getChildren(SNodeOperations.cast(_context.getNode(), MetaAdapterFactory.getConcept(0x756e911c3f1f4a48L, 0xbdf5a2ceb91b723cL, 0xd244b712f910113L, "jetbrains.mps.execution.settings.structure.PersistentConfigurationTemplate")), MetaAdapterFactory.getContainmentLink(0x756e911c3f1f4a48L, 0xbdf5a2ceb91b723cL, 0xd244b712f910113L, 0xd244b712f910115L, "templateParameter")); } public static Iterable<SNode> sourceNodesQuery_5041115067675811349(final SourceSubstituteMacroNodesContext _context) { return ListSequence.fromList(SLinkOperations.getChildren(_context.getNode(), MetaAdapterFactory.getContainmentLink(0x756e911c3f1f4a48L, 0xbdf5a2ceb91b723cL, 0xd244b712f910122L, 0xd244b712f910123L, "persistentProperty"))).where(new IWhereFilter<SNode>() { public boolean accept(SNode it) { return (boolean) PersistentPropertyDeclaration__BehaviorDescriptor.isTemplate_idO$iR4J$g8G.invoke(it); } }); } public static Iterable<SNode> sourceNodesQuery_5041115067675811367(final SourceSubstituteMacroNodesContext _context) { return SLinkOperations.getChildren(SNodeOperations.cast(_context.getNode(), MetaAdapterFactory.getConcept(0x756e911c3f1f4a48L, 0xbdf5a2ceb91b723cL, 0xd244b712f910113L, "jetbrains.mps.execution.settings.structure.PersistentConfigurationTemplate")), MetaAdapterFactory.getContainmentLink(0x756e911c3f1f4a48L, 0xbdf5a2ceb91b723cL, 0xd244b712f910113L, 0xd244b712f910115L, "templateParameter")); } public static Iterable<SNode> sourceNodesQuery_5041115067675811401(final SourceSubstituteMacroNodesContext _context) { return SLinkOperations.getChildren(_context.getNode(), MetaAdapterFactory.getContainmentLink(0x756e911c3f1f4a48L, 0xbdf5a2ceb91b723cL, 0xd244b712f910113L, 0xd244b712f910115L, "templateParameter")); } public static Iterable<SNode> sourceNodesQuery_5041115067675811439(final SourceSubstituteMacroNodesContext _context) { return SLinkOperations.getChildren(_context.getNode(), MetaAdapterFactory.getContainmentLink(0x756e911c3f1f4a48L, 0xbdf5a2ceb91b723cL, 0xd244b712f910113L, 0xd244b712f910115L, "templateParameter")); } public static Iterable<SNode> sourceNodesQuery_5041115067675811472(final SourceSubstituteMacroNodesContext _context) { return SLinkOperations.getChildren(_context.getNode(), MetaAdapterFactory.getContainmentLink(0x756e911c3f1f4a48L, 0xbdf5a2ceb91b723cL, 0xd244b712f910113L, 0xd244b712f910115L, "templateParameter")); } public static Iterable<SNode> sourceNodesQuery_5041115067675811551(final SourceSubstituteMacroNodesContext _context) { return SLinkOperations.getChildren(_context.getNode(), MetaAdapterFactory.getContainmentLink(0x756e911c3f1f4a48L, 0xbdf5a2ceb91b723cL, 0xd244b712f91012eL, 0xd244b712f91012fL, "arguments")); } public static Iterable<SNode> sourceNodesQuery_311998562821482491(final SourceSubstituteMacroNodesContext _context) { return SLinkOperations.getChildren(SNodeOperations.cast(SLinkOperations.getTarget(_context.getNode(), MetaAdapterFactory.getContainmentLink(0xf3061a5392264cc5L, 0xa443f952ceaf5816L, 0x116b46a08c4L, 0x116b46b36c4L, "operation")), MetaAdapterFactory.getConcept(0x443f4c36fcf54eb6L, 0x95008d06ed259e3eL, 0x118bd711e29L, "jetbrains.mps.baseLanguage.classifiers.structure.DefaultClassifierMethodCallOperation")), MetaAdapterFactory.getContainmentLink(0x443f4c36fcf54eb6L, 0x95008d06ed259e3eL, 0x118bd711e29L, 0x118bd877799L, "actualArgument")); } public static SNode weaving_MappingRule_ContextNodeQuery_5041115067675922984(final WeavingMappingRuleContext _context) { return _context.getOutputNodeByInputNodeAndMappingLabel(_context.getNode(), "ConfigurationToClass"); } public static SNode weaving_MappingRule_ContextNodeQuery_5041115067675922993(final WeavingMappingRuleContext _context) { return _context.getOutputNodeByInputNodeAndMappingLabel(_context.getNode(), "ConfigurationToClass"); } public static SNode weaving_MappingRule_ContextNodeQuery_5041115067675923002(final WeavingMappingRuleContext _context) { return _context.getOutputNodeByInputNodeAndMappingLabel(_context.getNode(), "ConfigurationToEditorClass"); } public static SNode weaving_MappingRule_ContextNodeQuery_5041115067675923011(final WeavingMappingRuleContext _context) { return _context.getOutputNodeByInputNodeAndMappingLabel(_context.getNode(), "ConfigurationToEditorClass"); } public static SNode weaving_MappingRule_ContextNodeQuery_5041115067675923020(final WeavingMappingRuleContext _context) { return _context.getOutputNodeByInputNodeAndMappingLabel(_context.getNode(), "ConfigurationToClass"); } private final Map<String, ReductionRuleCondition> rrcMethods = new HashMap<String, ReductionRuleCondition>(); { int i = 0; rrcMethods.put("5041115067675932621", new QueriesGenerated.RRC(i++)); rrcMethods.put("5041115067675932630", new QueriesGenerated.RRC(i++)); rrcMethods.put("5041115067675932638", new QueriesGenerated.RRC(i++)); rrcMethods.put("6062668769034668918", new QueriesGenerated.RRC(i++)); rrcMethods.put("5041115067675932721", new QueriesGenerated.RRC(i++)); rrcMethods.put("5041115067675932732", new QueriesGenerated.RRC(i++)); rrcMethods.put("5041115067675932744", new QueriesGenerated.RRC(i++)); rrcMethods.put("5041115067675932824", new QueriesGenerated.RRC(i++)); rrcMethods.put("5041115067675932852", new QueriesGenerated.RRC(i++)); rrcMethods.put("5041115067675932881", new QueriesGenerated.RRC(i++)); rrcMethods.put("2722628536112120731", new QueriesGenerated.RRC(i++)); rrcMethods.put("2158326176673567573", new QueriesGenerated.RRC(i++)); rrcMethods.put("2158326176673567593", new QueriesGenerated.RRC(i++)); } @Override @NotNull public ReductionRuleCondition getReductionRuleCondition(@NotNull QueryKey identity) { final String id = identity.getTemplateNode().getNodeId().toString(); if (!(rrcMethods.containsKey(id))) { return super.getReductionRuleCondition(identity); } return rrcMethods.get(id); } 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.baseMappingRule_Condition_5041115067675932623(ctx); case 1: return QueriesGenerated.baseMappingRule_Condition_5041115067675932631(ctx); case 2: return QueriesGenerated.baseMappingRule_Condition_5041115067675932639(ctx); case 3: return QueriesGenerated.baseMappingRule_Condition_6062668769034668920(ctx); case 4: return QueriesGenerated.baseMappingRule_Condition_5041115067675932723(ctx); case 5: return QueriesGenerated.baseMappingRule_Condition_5041115067675932733(ctx); case 6: return QueriesGenerated.baseMappingRule_Condition_5041115067675932745(ctx); case 7: return QueriesGenerated.baseMappingRule_Condition_5041115067675932826(ctx); case 8: return QueriesGenerated.baseMappingRule_Condition_5041115067675932854(ctx); case 9: return QueriesGenerated.baseMappingRule_Condition_5041115067675932882(ctx); case 10: return QueriesGenerated.baseMappingRule_Condition_2722628536112120733(ctx); case 11: return QueriesGenerated.baseMappingRule_Condition_2158326176673567584(ctx); case 12: return QueriesGenerated.baseMappingRule_Condition_2158326176673567604(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, QueriesGenerated.WRQ> wrcnMethods = new HashMap<String, QueriesGenerated.WRQ>(); { int i = 0; wrcnMethods.put("5041115067675922983", new QueriesGenerated.WRQ(i++)); wrcnMethods.put("5041115067675922992", new QueriesGenerated.WRQ(i++)); wrcnMethods.put("5041115067675923001", new QueriesGenerated.WRQ(i++)); wrcnMethods.put("5041115067675923010", new QueriesGenerated.WRQ(i++)); wrcnMethods.put("5041115067675923019", new QueriesGenerated.WRQ(i++)); } @Override @NotNull public WeaveRuleCondition getWeaveRuleCondition(@NotNull QueryKey identity) { final String id = identity.getTemplateNode().getNodeId().toString(); if (!(wrcnMethods.containsKey(id))) { return super.getWeaveRuleCondition(identity); } return wrcnMethods.get(id); } @Override @NotNull public WeaveRuleQuery getWeaveRuleQuery(@NotNull QueryKey identity) { final String id = identity.getTemplateNode().getNodeId().toString(); if (!(wrcnMethods.containsKey(id))) { return super.getWeaveRuleQuery(identity); } return wrcnMethods.get(id); } @NotNull @Override public WeaveAnchorQuery getWeaveAnchorQuery(@NotNull QueryKey identity) { final String id = identity.getTemplateNode().getNodeId().toString(); if (!(wrcnMethods.containsKey(id))) { return super.getWeaveAnchorQuery(identity); } return wrcnMethods.get(id); } 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; case 4: 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.weaving_MappingRule_ContextNodeQuery_5041115067675922984(ctx); case 1: return QueriesGenerated.weaving_MappingRule_ContextNodeQuery_5041115067675922993(ctx); case 2: return QueriesGenerated.weaving_MappingRule_ContextNodeQuery_5041115067675923002(ctx); case 3: return QueriesGenerated.weaving_MappingRule_ContextNodeQuery_5041115067675923011(ctx); case 4: return QueriesGenerated.weaving_MappingRule_ContextNodeQuery_5041115067675923020(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; case 4: 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, SourceNodeQuery> snqMethods = new HashMap<String, SourceNodeQuery>(); { int i = 0; snqMethods.put("2722628536112144957", new QueriesGenerated.SNQ(i++)); snqMethods.put("2158326176673567625", new QueriesGenerated.SNQ(i++)); snqMethods.put("2158326176673567634", new QueriesGenerated.SNQ(i++)); snqMethods.put("5041115067675810122", new QueriesGenerated.SNQ(i++)); snqMethods.put("5041115067675810188", new QueriesGenerated.SNQ(i++)); snqMethods.put("5041115067675810175", new QueriesGenerated.SNQ(i++)); snqMethods.put("5041115067675810218", new QueriesGenerated.SNQ(i++)); snqMethods.put("5041115067675810257", new QueriesGenerated.SNQ(i++)); snqMethods.put("5041115067675810654", new QueriesGenerated.SNQ(i++)); snqMethods.put("5041115067675810664", new QueriesGenerated.SNQ(i++)); snqMethods.put("5041115067675810725", new QueriesGenerated.SNQ(i++)); snqMethods.put("5041115067675810733", new QueriesGenerated.SNQ(i++)); snqMethods.put("5041115067675810741", new QueriesGenerated.SNQ(i++)); snqMethods.put("5041115067675810826", new QueriesGenerated.SNQ(i++)); snqMethods.put("5041115067675810921", new QueriesGenerated.SNQ(i++)); snqMethods.put("5041115067675810930", new QueriesGenerated.SNQ(i++)); snqMethods.put("5041115067675810959", new QueriesGenerated.SNQ(i++)); snqMethods.put("6226796386650562399", new QueriesGenerated.SNQ(i++)); snqMethods.put("5041115067675810990", new QueriesGenerated.SNQ(i++)); snqMethods.put("5041115067675811015", new QueriesGenerated.SNQ(i++)); snqMethods.put("5041115067675811096", new QueriesGenerated.SNQ(i++)); snqMethods.put("5041115067675811151", new QueriesGenerated.SNQ(i++)); snqMethods.put("5041115067675811394", new QueriesGenerated.SNQ(i++)); snqMethods.put("5041115067675811464", new QueriesGenerated.SNQ(i++)); snqMethods.put("5041115067675811508", new QueriesGenerated.SNQ(i++)); snqMethods.put("5041115067675811525", new QueriesGenerated.SNQ(i++)); snqMethods.put("5041115067675932669", new QueriesGenerated.SNQ(i++)); snqMethods.put("5041115067675932681", new QueriesGenerated.SNQ(i++)); snqMethods.put("3575782568432486552", new QueriesGenerated.SNQ(i++)); snqMethods.put("3575782568432486539", new QueriesGenerated.SNQ(i++)); } @NotNull @Override public SourceNodeQuery getSourceNodeQuery(@NotNull QueryKey identity) { final String id = ((QueryKeyImpl) identity).getQueryNodeId().toString(); if (!(snqMethods.containsKey(id))) { return super.getSourceNodeQuery(identity); } return snqMethods.get(id); } 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_2722628536112144957(ctx); case 1: return QueriesGenerated.sourceNodeQuery_2158326176673567625(ctx); case 2: return QueriesGenerated.sourceNodeQuery_2158326176673567634(ctx); case 3: return QueriesGenerated.sourceNodeQuery_5041115067675810122(ctx); case 4: return QueriesGenerated.sourceNodeQuery_5041115067675810188(ctx); case 5: return QueriesGenerated.sourceNodeQuery_5041115067675810175(ctx); case 6: return QueriesGenerated.sourceNodeQuery_5041115067675810218(ctx); case 7: return QueriesGenerated.sourceNodeQuery_5041115067675810257(ctx); case 8: return QueriesGenerated.sourceNodeQuery_5041115067675810654(ctx); case 9: return QueriesGenerated.sourceNodeQuery_5041115067675810664(ctx); case 10: return QueriesGenerated.sourceNodeQuery_5041115067675810725(ctx); case 11: return QueriesGenerated.sourceNodeQuery_5041115067675810733(ctx); case 12: return QueriesGenerated.sourceNodeQuery_5041115067675810741(ctx); case 13: return QueriesGenerated.sourceNodeQuery_5041115067675810826(ctx); case 14: return QueriesGenerated.sourceNodeQuery_5041115067675810921(ctx); case 15: return QueriesGenerated.sourceNodeQuery_5041115067675810930(ctx); case 16: return QueriesGenerated.sourceNodeQuery_5041115067675810959(ctx); case 17: return QueriesGenerated.sourceNodeQuery_6226796386650562399(ctx); case 18: return QueriesGenerated.sourceNodeQuery_5041115067675810990(ctx); case 19: return QueriesGenerated.sourceNodeQuery_5041115067675811015(ctx); case 20: return QueriesGenerated.sourceNodeQuery_5041115067675811096(ctx); case 21: return QueriesGenerated.sourceNodeQuery_5041115067675811151(ctx); case 22: return QueriesGenerated.sourceNodeQuery_5041115067675811394(ctx); case 23: return QueriesGenerated.sourceNodeQuery_5041115067675811464(ctx); case 24: return QueriesGenerated.sourceNodeQuery_5041115067675811508(ctx); case 25: return QueriesGenerated.sourceNodeQuery_5041115067675811525(ctx); case 26: return QueriesGenerated.sourceNodeQuery_5041115067675932669(ctx); case 27: return QueriesGenerated.sourceNodeQuery_5041115067675932681(ctx); case 28: return QueriesGenerated.sourceNodeQuery_3575782568432486552(ctx); case 29: return QueriesGenerated.sourceNodeQuery_3575782568432486539(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("5041115067675810054", new QueriesGenerated.SNsQ(i++)); snsqMethods.put("5041115067675810065", new QueriesGenerated.SNsQ(i++)); snsqMethods.put("5041115067675810155", new QueriesGenerated.SNsQ(i++)); snsqMethods.put("5041115067675810583", new QueriesGenerated.SNsQ(i++)); snsqMethods.put("479872435242654663", new QueriesGenerated.SNsQ(i++)); snsqMethods.put("5041115067675810485", new QueriesGenerated.SNsQ(i++)); snsqMethods.put("5041115067675810550", new QueriesGenerated.SNsQ(i++)); snsqMethods.put("5041115067675810637", new QueriesGenerated.SNsQ(i++)); snsqMethods.put("5041115067675810695", new QueriesGenerated.SNsQ(i++)); snsqMethods.put("5041115067675810757", new QueriesGenerated.SNsQ(i++)); snsqMethods.put("5041115067675810765", new QueriesGenerated.SNsQ(i++)); snsqMethods.put("5041115067675810773", new QueriesGenerated.SNsQ(i++)); snsqMethods.put("5041115067675810780", new QueriesGenerated.SNsQ(i++)); snsqMethods.put("5041115067675810844", new QueriesGenerated.SNsQ(i++)); snsqMethods.put("5041115067675810286", new QueriesGenerated.SNsQ(i++)); snsqMethods.put("5041115067675810356", new QueriesGenerated.SNsQ(i++)); snsqMethods.put("5041115067675811064", new QueriesGenerated.SNsQ(i++)); snsqMethods.put("5041115067675811104", new QueriesGenerated.SNsQ(i++)); snsqMethods.put("5041115067675811142", new QueriesGenerated.SNsQ(i++)); snsqMethods.put("4342433276614928669", new QueriesGenerated.SNsQ(i++)); snsqMethods.put("5041115067675811196", new QueriesGenerated.SNsQ(i++)); snsqMethods.put("5041115067675811223", new QueriesGenerated.SNsQ(i++)); snsqMethods.put("5041115067675811158", new QueriesGenerated.SNsQ(i++)); snsqMethods.put("5041115067675811281", new QueriesGenerated.SNsQ(i++)); snsqMethods.put("5041115067675811349", new QueriesGenerated.SNsQ(i++)); snsqMethods.put("5041115067675811367", new QueriesGenerated.SNsQ(i++)); snsqMethods.put("5041115067675811401", new QueriesGenerated.SNsQ(i++)); snsqMethods.put("5041115067675811439", new QueriesGenerated.SNsQ(i++)); snsqMethods.put("5041115067675811472", new QueriesGenerated.SNsQ(i++)); snsqMethods.put("5041115067675811551", new QueriesGenerated.SNsQ(i++)); snsqMethods.put("311998562821482491", new QueriesGenerated.SNsQ(i++)); } @NotNull @Override public SourceNodesQuery getSourceNodesQuery(@NotNull QueryKey identity) { final String id = ((QueryKeyImpl) identity).getQueryNodeId().toString(); if (!(snsqMethods.containsKey(id))) { return super.getSourceNodesQuery(identity); } return snsqMethods.get(id); } 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_5041115067675810054(ctx)); case 1: return IterableUtil.asCollection(QueriesGenerated.sourceNodesQuery_5041115067675810065(ctx)); case 2: return IterableUtil.asCollection(QueriesGenerated.sourceNodesQuery_5041115067675810155(ctx)); case 3: return IterableUtil.asCollection(QueriesGenerated.sourceNodesQuery_5041115067675810583(ctx)); case 4: return IterableUtil.asCollection(QueriesGenerated.sourceNodesQuery_479872435242654663(ctx)); case 5: return IterableUtil.asCollection(QueriesGenerated.sourceNodesQuery_5041115067675810485(ctx)); case 6: return IterableUtil.asCollection(QueriesGenerated.sourceNodesQuery_5041115067675810550(ctx)); case 7: return IterableUtil.asCollection(QueriesGenerated.sourceNodesQuery_5041115067675810637(ctx)); case 8: return IterableUtil.asCollection(QueriesGenerated.sourceNodesQuery_5041115067675810695(ctx)); case 9: return IterableUtil.asCollection(QueriesGenerated.sourceNodesQuery_5041115067675810757(ctx)); case 10: return IterableUtil.asCollection(QueriesGenerated.sourceNodesQuery_5041115067675810765(ctx)); case 11: return IterableUtil.asCollection(QueriesGenerated.sourceNodesQuery_5041115067675810773(ctx)); case 12: return IterableUtil.asCollection(QueriesGenerated.sourceNodesQuery_5041115067675810780(ctx)); case 13: return IterableUtil.asCollection(QueriesGenerated.sourceNodesQuery_5041115067675810844(ctx)); case 14: return IterableUtil.asCollection(QueriesGenerated.sourceNodesQuery_5041115067675810286(ctx)); case 15: return IterableUtil.asCollection(QueriesGenerated.sourceNodesQuery_5041115067675810356(ctx)); case 16: return IterableUtil.asCollection(QueriesGenerated.sourceNodesQuery_5041115067675811064(ctx)); case 17: return IterableUtil.asCollection(QueriesGenerated.sourceNodesQuery_5041115067675811104(ctx)); case 18: return IterableUtil.asCollection(QueriesGenerated.sourceNodesQuery_5041115067675811142(ctx)); case 19: return IterableUtil.asCollection(QueriesGenerated.sourceNodesQuery_4342433276614928669(ctx)); case 20: return IterableUtil.asCollection(QueriesGenerated.sourceNodesQuery_5041115067675811196(ctx)); case 21: return IterableUtil.asCollection(QueriesGenerated.sourceNodesQuery_5041115067675811223(ctx)); case 22: return IterableUtil.asCollection(QueriesGenerated.sourceNodesQuery_5041115067675811158(ctx)); case 23: return IterableUtil.asCollection(QueriesGenerated.sourceNodesQuery_5041115067675811281(ctx)); case 24: return IterableUtil.asCollection(QueriesGenerated.sourceNodesQuery_5041115067675811349(ctx)); case 25: return IterableUtil.asCollection(QueriesGenerated.sourceNodesQuery_5041115067675811367(ctx)); case 26: return IterableUtil.asCollection(QueriesGenerated.sourceNodesQuery_5041115067675811401(ctx)); case 27: return IterableUtil.asCollection(QueriesGenerated.sourceNodesQuery_5041115067675811439(ctx)); case 28: return IterableUtil.asCollection(QueriesGenerated.sourceNodesQuery_5041115067675811472(ctx)); case 29: return IterableUtil.asCollection(QueriesGenerated.sourceNodesQuery_5041115067675811551(ctx)); case 30: return IterableUtil.asCollection(QueriesGenerated.sourceNodesQuery_311998562821482491(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("5041115067675810082", new QueriesGenerated.PVQ(i++, MetaAdapterFactory.getProperty(0xdf345b11b8c74213L, 0xac6648d2a9b75d88L, 0x1118e558c6dL, 0x1118e56212bL, "fqClassName"), "SettingsEditor")); pvqMethods.put("5041115067675810089", new QueriesGenerated.PVQ(i++, MetaAdapterFactory.getProperty(0xceab519525ea4f22L, 0x9b92103b95ca8c0cL, 0x110396eaaa4L, 0x110396ec041L, "name"), "myEditor")); pvqMethods.put("5041115067675810098", new QueriesGenerated.PVQ(i++, MetaAdapterFactory.getProperty(0xceab519525ea4f22L, 0x9b92103b95ca8c0cL, 0x110396eaaa4L, 0x110396ec041L, "name"), "PersistentEditor_Template")); pvqMethods.put("5041115067675810459", new QueriesGenerated.PVQ(i++, MetaAdapterFactory.getProperty(0xf3061a5392264cc5L, 0xa443f952ceaf5816L, 0xf93d565d10L, 0xf93d565d11L, "value"), "myTemplate")); pvqMethods.put("5041115067675810529", new QueriesGenerated.PVQ(i++, MetaAdapterFactory.getProperty(0xf3061a5392264cc5L, 0xa443f952ceaf5816L, 0xf93d565d10L, 0xf93d565d11L, "value"), "myTemplate")); pvqMethods.put("9132506094562634033", new QueriesGenerated.PVQ(i++, MetaAdapterFactory.getProperty(0xf3061a5392264cc5L, 0xa443f952ceaf5816L, 0xf93d565d10L, 0xf93d565d11L, "value"), "myTemplate")); pvqMethods.put("5041115067675810643", new QueriesGenerated.PVQ(i++, MetaAdapterFactory.getProperty(0xceab519525ea4f22L, 0x9b92103b95ca8c0cL, 0x110396eaaa4L, 0x110396ec041L, "name"), "getPersistentProperty")); pvqMethods.put("5041115067675810712", new QueriesGenerated.PVQ(i++, MetaAdapterFactory.getProperty(0xceab519525ea4f22L, 0x9b92103b95ca8c0cL, 0x110396eaaa4L, 0x110396ec041L, "name"), "setPersistentProperty")); pvqMethods.put("5041115067675810747", new QueriesGenerated.PVQ(i++, MetaAdapterFactory.getProperty(0xceab519525ea4f22L, 0x9b92103b95ca8c0cL, 0x110396eaaa4L, 0x110396ec041L, "name"), "method")); pvqMethods.put("5041115067675810567", new QueriesGenerated.PVQ(i++, MetaAdapterFactory.getProperty(0xceab519525ea4f22L, 0x9b92103b95ca8c0cL, 0x110396eaaa4L, 0x110396ec041L, "name"), "PersistentConfiguration_Template")); pvqMethods.put("5041115067675810883", new QueriesGenerated.PVQ(i++, MetaAdapterFactory.getProperty(0xceab519525ea4f22L, 0x9b92103b95ca8c0cL, 0x110396eaaa4L, 0x110396ec041L, "name"), "myTemplate")); pvqMethods.put("5041115067675810892", new QueriesGenerated.PVQ(i++, MetaAdapterFactory.getProperty(0xdf345b11b8c74213L, 0xac6648d2a9b75d88L, 0x11157a3736dL, 0x11157a64c91L, "fqClassName"), "PersistentConfigurationTemplate")); pvqMethods.put("6226796386650562388", new QueriesGenerated.PVQ(i++, MetaAdapterFactory.getProperty(0xdf345b11b8c74213L, 0xac6648d2a9b75d88L, 0x1116962fa68L, 0x1116964d747L, "methodName"), "getPersistentProperty")); pvqMethods.put("5041115067675810997", new QueriesGenerated.PVQ(i++, MetaAdapterFactory.getProperty(0xceab519525ea4f22L, 0x9b92103b95ca8c0cL, 0x110396eaaa4L, 0x110396ec041L, "name"), "myPeristentField")); pvqMethods.put("5041115067675811074", new QueriesGenerated.PVQ(i++, MetaAdapterFactory.getProperty(0xdf345b11b8c74213L, 0xac6648d2a9b75d88L, 0x11157a3736dL, 0x11157a64c91L, "fqClassName"), "class.fq.name")); pvqMethods.put("5041115067675811110", new QueriesGenerated.PVQ(i++, MetaAdapterFactory.getProperty(0xceab519525ea4f22L, 0x9b92103b95ca8c0cL, 0x110396eaaa4L, 0x110396ec041L, "name"), "myField")); pvqMethods.put("5041115067675811134", new QueriesGenerated.PVQ(i++, MetaAdapterFactory.getProperty(0xdf345b11b8c74213L, 0xac6648d2a9b75d88L, 0x1118e558c6dL, 0x1118e56212bL, "fqClassName"), "SettingsEditor")); pvqMethods.put("4342433276614928648", new QueriesGenerated.PVQ(i++, MetaAdapterFactory.getProperty(0xdf345b11b8c74213L, 0xac6648d2a9b75d88L, 0x11157a3736dL, 0x11157a64c91L, "fqClassName"), "class.fq.name")); pvqMethods.put("5041115067675811164", new QueriesGenerated.PVQ(i++, MetaAdapterFactory.getProperty(0xceab519525ea4f22L, 0x9b92103b95ca8c0cL, 0x110396eaaa4L, 0x110396ec041L, "name"), "field")); pvqMethods.put("5041115067675811231", new QueriesGenerated.PVQ(i++, MetaAdapterFactory.getProperty(0xceab519525ea4f22L, 0x9b92103b95ca8c0cL, 0x110396eaaa4L, 0x110396ec041L, "name"), null)); pvqMethods.put("5041115067675811244", new QueriesGenerated.PVQ(i++, MetaAdapterFactory.getProperty(0xdf345b11b8c74213L, 0xac6648d2a9b75d88L, 0x1118e558c6dL, 0x1118e56212bL, "fqClassName"), "PersistentConfigurationTemplate")); pvqMethods.put("5041115067675811297", new QueriesGenerated.PVQ(i++, MetaAdapterFactory.getProperty(0xdf345b11b8c74213L, 0xac6648d2a9b75d88L, 0x11157a3736dL, 0x11157a64c91L, "fqClassName"), "PersistentConfigurationTemplate")); pvqMethods.put("5041115067675811407", new QueriesGenerated.PVQ(i++, MetaAdapterFactory.getProperty(0xceab519525ea4f22L, 0x9b92103b95ca8c0cL, 0x110396eaaa4L, 0x110396ec041L, "name"), "name")); pvqMethods.put("5041115067675811446", new QueriesGenerated.PVQ(i++, MetaAdapterFactory.getProperty(0xceab519525ea4f22L, 0x9b92103b95ca8c0cL, 0x110396eaaa4L, 0x110396ec041L, "name"), null)); pvqMethods.put("5041115067675811478", new QueriesGenerated.PVQ(i++, MetaAdapterFactory.getProperty(0xceab519525ea4f22L, 0x9b92103b95ca8c0cL, 0x110396eaaa4L, 0x110396ec041L, "name"), "myField")); pvqMethods.put("5041115067675811532", new QueriesGenerated.PVQ(i++, MetaAdapterFactory.getProperty(0xceab519525ea4f22L, 0x9b92103b95ca8c0cL, 0x110396eaaa4L, 0x110396ec041L, "name"), "myFieldName")); pvqMethods.put("3575782568432486558", new QueriesGenerated.PVQ(i++, MetaAdapterFactory.getProperty(0xdf345b11b8c74213L, 0xac6648d2a9b75d88L, 0x1116962fa68L, 0x1116964d747L, "methodName"), "setProperty")); } @NotNull @Override public PropertyValueQuery getPropertyValueQuery(@NotNull QueryKey identity) { final String id = identity.getTemplateNode().getNodeId().toString(); if (!(pvqMethods.containsKey(id))) { return super.getPropertyValueQuery(identity); } return pvqMethods.get(id); } 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_GetPropertyValue_5041115067675810083(ctx); case 1: return QueriesGenerated.propertyMacro_GetPropertyValue_5041115067675810090(ctx); case 2: return QueriesGenerated.propertyMacro_GetPropertyValue_5041115067675810099(ctx); case 3: return QueriesGenerated.propertyMacro_GetPropertyValue_5041115067675810460(ctx); case 4: return QueriesGenerated.propertyMacro_GetPropertyValue_5041115067675810530(ctx); case 5: return QueriesGenerated.propertyMacro_GetPropertyValue_9132506094562634034(ctx); case 6: return QueriesGenerated.propertyMacro_GetPropertyValue_5041115067675810644(ctx); case 7: return QueriesGenerated.propertyMacro_GetPropertyValue_5041115067675810713(ctx); case 8: return QueriesGenerated.propertyMacro_GetPropertyValue_5041115067675810748(ctx); case 9: return QueriesGenerated.propertyMacro_GetPropertyValue_5041115067675810568(ctx); case 10: return QueriesGenerated.propertyMacro_GetPropertyValue_5041115067675810884(ctx); case 11: return QueriesGenerated.propertyMacro_GetPropertyValue_5041115067675810893(ctx); case 12: return QueriesGenerated.propertyMacro_GetPropertyValue_6226796386650562389(ctx); case 13: return QueriesGenerated.propertyMacro_GetPropertyValue_5041115067675810998(ctx); case 14: return QueriesGenerated.propertyMacro_GetPropertyValue_5041115067675811075(ctx); case 15: return QueriesGenerated.propertyMacro_GetPropertyValue_5041115067675811111(ctx); case 16: return QueriesGenerated.propertyMacro_GetPropertyValue_5041115067675811135(ctx); case 17: return QueriesGenerated.propertyMacro_GetPropertyValue_4342433276614928649(ctx); case 18: return QueriesGenerated.propertyMacro_GetPropertyValue_5041115067675811165(ctx); case 19: return QueriesGenerated.propertyMacro_GetPropertyValue_5041115067675811232(ctx); case 20: return QueriesGenerated.propertyMacro_GetPropertyValue_5041115067675811245(ctx); case 21: return QueriesGenerated.propertyMacro_GetPropertyValue_5041115067675811298(ctx); case 22: return QueriesGenerated.propertyMacro_GetPropertyValue_5041115067675811408(ctx); case 23: return QueriesGenerated.propertyMacro_GetPropertyValue_5041115067675811447(ctx); case 24: return QueriesGenerated.propertyMacro_GetPropertyValue_5041115067675811479(ctx); case 25: return QueriesGenerated.propertyMacro_GetPropertyValue_5041115067675811533(ctx); case 26: return QueriesGenerated.propertyMacro_GetPropertyValue_3575782568432486559(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("5041115067675810132", new QueriesGenerated.IfMC(i++)); imcMethods.put("5041115067675810228", new QueriesGenerated.IfMC(i++)); imcMethods.put("5041115067675810267", new QueriesGenerated.IfMC(i++)); imcMethods.put("5041115067675810617", new QueriesGenerated.IfMC(i++)); imcMethods.put("5041115067675810686", new QueriesGenerated.IfMC(i++)); imcMethods.put("5041115067675810373", new QueriesGenerated.IfMC(i++)); imcMethods.put("5041115067675810909", new QueriesGenerated.IfMC(i++)); imcMethods.put("5041115067675811005", new QueriesGenerated.IfMC(i++)); imcMethods.put("3131153648913150125", new QueriesGenerated.IfMC(i++)); imcMethods.put("5041115067675811515", new QueriesGenerated.IfMC(i++)); imcMethods.put("9164571165378485911", new QueriesGenerated.IfMC(i++)); imcMethods.put("3131153648913159011", new QueriesGenerated.IfMC(i++)); } @NotNull @Override public IfMacroCondition getIfMacroCondition(@NotNull QueryKey identity) { final String id = identity.getTemplateNode().getNodeId().toString(); if (!(imcMethods.containsKey(id))) { return super.getIfMacroCondition(identity); } return imcMethods.get(id); } 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_5041115067675810133(ctx); case 1: return QueriesGenerated.ifMacro_Condition_5041115067675810229(ctx); case 2: return QueriesGenerated.ifMacro_Condition_5041115067675810268(ctx); case 3: return QueriesGenerated.ifMacro_Condition_5041115067675810618(ctx); case 4: return QueriesGenerated.ifMacro_Condition_5041115067675810687(ctx); case 5: return QueriesGenerated.ifMacro_Condition_5041115067675810374(ctx); case 6: return QueriesGenerated.ifMacro_Condition_5041115067675810910(ctx); case 7: return QueriesGenerated.ifMacro_Condition_5041115067675811006(ctx); case 8: return QueriesGenerated.ifMacro_Condition_3131153648913150126(ctx); case 9: return QueriesGenerated.ifMacro_Condition_5041115067675811516(ctx); case 10: return QueriesGenerated.ifMacro_Condition_9164571165378485912(ctx); case 11: return QueriesGenerated.ifMacro_Condition_3131153648913159012(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("5041115067675810146", new QueriesGenerated.RTQ(0, "myEditor")); rtqMethods.put("5041115067675810205", new QueriesGenerated.RTQ(1, "PersistentConfiguration_Template")); rtqMethods.put("5041115067675810245", new QueriesGenerated.RTQ(2, "PersistentConfiguration_Template")); rtqMethods.put("5041115067675810107", new QueriesGenerated.RTQ(3, "PersistentConfiguration_Template")); rtqMethods.put("5041115067675810469", new QueriesGenerated.RTQ(4, "myTemplate")); rtqMethods.put("5041115067675810539", new QueriesGenerated.RTQ(5, "myTemplate")); rtqMethods.put("5041115067675810609", new QueriesGenerated.RTQ(6, "myPersistentProperty")); rtqMethods.put("5041115067675810628", new QueriesGenerated.RTQ(7, "myTemplate")); rtqMethods.put("5041115067675810678", new QueriesGenerated.RTQ(8, "myPersistentProperty")); rtqMethods.put("5041115067675810815", new QueriesGenerated.RTQ(9, "myTemplate")); rtqMethods.put("5041115067675810835", new QueriesGenerated.RTQ(10, "myTemplate")); rtqMethods.put("5041115067675810324", new QueriesGenerated.RTQ(11, "myPersistentProperty")); rtqMethods.put("5041115067675810336", new QueriesGenerated.RTQ(12, "myPersistentProperty")); rtqMethods.put("5041115067675810347", new QueriesGenerated.RTQ(13, "myPersistentProperty")); rtqMethods.put("5041115067675810387", new QueriesGenerated.RTQ(14, "myPersistentProperty")); rtqMethods.put("5041115067675810398", new QueriesGenerated.RTQ(15, "myPersistentProperty")); rtqMethods.put("5041115067675810942", new QueriesGenerated.RTQ(16, "myPersistentProperty")); rtqMethods.put("5041115067675811035", new QueriesGenerated.RTQ(17, null)); rtqMethods.put("5041115067675811048", new QueriesGenerated.RTQ(18, null)); rtqMethods.put("4342433276614908009", new QueriesGenerated.RTQ(19, "PersistentConfiguration_Template")); rtqMethods.put("4342433276614928678", new QueriesGenerated.RTQ(20, "field")); rtqMethods.put("4342433276614907993", new QueriesGenerated.RTQ(21, "PersistentConfiguration_Template")); rtqMethods.put("5041115067675811187", new QueriesGenerated.RTQ(22, "myEditor")); rtqMethods.put("5041115067675811178", new QueriesGenerated.RTQ(23, "editor")); rtqMethods.put("5041115067675811214", new QueriesGenerated.RTQ(24, "myField")); rtqMethods.put("5041115067675811205", new QueriesGenerated.RTQ(25, "field")); rtqMethods.put("5041115067675811288", new QueriesGenerated.RTQ(26, "myTemplate")); rtqMethods.put("5041115067675811306", new QueriesGenerated.RTQ(27, "PersistentConfigurationTemplateWeave")); rtqMethods.put("5041115067675811316", new QueriesGenerated.RTQ(28, "SettingsEditorEx")); rtqMethods.put("5041115067675811328", new QueriesGenerated.RTQ(29, "MyState")); rtqMethods.put("5041115067675811339", new QueriesGenerated.RTQ(30, "myConfiguration")); rtqMethods.put("5041115067675811374", new QueriesGenerated.RTQ(31, "myTemplate")); rtqMethods.put("5041115067675811421", new QueriesGenerated.RTQ(32, "name")); rtqMethods.put("5041115067675811430", new QueriesGenerated.RTQ(33, "myField")); rtqMethods.put("5041115067675811493", new QueriesGenerated.RTQ(34, null)); rtqMethods.put("5041115067675811557", new QueriesGenerated.RTQ(35, "applyTo")); rtqMethods.put("5041115067675811569", new QueriesGenerated.RTQ(36, null)); rtqMethods.put("5041115067675932687", new QueriesGenerated.RTQ(37, "setPersistentProperty")); rtqMethods.put("5041115067675939293", new QueriesGenerated.RTQ(38, "method")); rtqMethods.put("203908296139451945", new QueriesGenerated.RTQ(39, "IPersistentConfiguration")); rtqMethods.put("203908296139284728", new QueriesGenerated.RTQ(40, "IPersistentConfiguration")); } @NotNull @Override public ReferenceTargetQuery getReferenceTargetQuery(@NotNull QueryKey queryKey) { final String id = queryKey.getTemplateNode().getNodeId().toString(); if (!(rtqMethods.containsKey(id))) { return super.getReferenceTargetQuery(queryKey); } return rtqMethods.get(id); } 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_5041115067675810147(ctx); case 1: return QueriesGenerated.referenceMacro_GetReferent_5041115067675810206(ctx); case 2: return QueriesGenerated.referenceMacro_GetReferent_5041115067675810246(ctx); case 3: return QueriesGenerated.referenceMacro_GetReferent_5041115067675810108(ctx); case 4: return QueriesGenerated.referenceMacro_GetReferent_5041115067675810470(ctx); case 5: return QueriesGenerated.referenceMacro_GetReferent_5041115067675810540(ctx); case 6: return QueriesGenerated.referenceMacro_GetReferent_5041115067675810610(ctx); case 7: return QueriesGenerated.referenceMacro_GetReferent_5041115067675810629(ctx); case 8: return QueriesGenerated.referenceMacro_GetReferent_5041115067675810679(ctx); case 9: return QueriesGenerated.referenceMacro_GetReferent_5041115067675810816(ctx); case 10: return QueriesGenerated.referenceMacro_GetReferent_5041115067675810836(ctx); case 11: return QueriesGenerated.referenceMacro_GetReferent_5041115067675810325(ctx); case 12: return QueriesGenerated.referenceMacro_GetReferent_5041115067675810337(ctx); case 13: return QueriesGenerated.referenceMacro_GetReferent_5041115067675810348(ctx); case 14: return QueriesGenerated.referenceMacro_GetReferent_5041115067675810388(ctx); case 15: return QueriesGenerated.referenceMacro_GetReferent_5041115067675810399(ctx); case 16: return QueriesGenerated.referenceMacro_GetReferent_5041115067675810943(ctx); case 17: return QueriesGenerated.referenceMacro_GetReferent_5041115067675811036(ctx); case 18: return QueriesGenerated.referenceMacro_GetReferent_5041115067675811049(ctx); case 19: return QueriesGenerated.referenceMacro_GetReferent_4342433276614908010(ctx); case 20: return QueriesGenerated.referenceMacro_GetReferent_4342433276614928679(ctx); case 21: return QueriesGenerated.referenceMacro_GetReferent_4342433276614907994(ctx); case 22: return QueriesGenerated.referenceMacro_GetReferent_5041115067675811188(ctx); case 23: return QueriesGenerated.referenceMacro_GetReferent_5041115067675811179(ctx); case 24: return QueriesGenerated.referenceMacro_GetReferent_5041115067675811215(ctx); case 25: return QueriesGenerated.referenceMacro_GetReferent_5041115067675811206(ctx); case 26: return QueriesGenerated.referenceMacro_GetReferent_5041115067675811289(ctx); case 27: return QueriesGenerated.referenceMacro_GetReferent_5041115067675811307(ctx); case 28: return QueriesGenerated.referenceMacro_GetReferent_5041115067675811317(ctx); case 29: return QueriesGenerated.referenceMacro_GetReferent_5041115067675811329(ctx); case 30: return QueriesGenerated.referenceMacro_GetReferent_5041115067675811340(ctx); case 31: return QueriesGenerated.referenceMacro_GetReferent_5041115067675811375(ctx); case 32: return QueriesGenerated.referenceMacro_GetReferent_5041115067675811422(ctx); case 33: return QueriesGenerated.referenceMacro_GetReferent_5041115067675811431(ctx); case 34: return QueriesGenerated.referenceMacro_GetReferent_5041115067675811494(ctx); case 35: return QueriesGenerated.referenceMacro_GetReferent_5041115067675811558(ctx); case 36: return QueriesGenerated.referenceMacro_GetReferent_5041115067675811570(ctx); case 37: return QueriesGenerated.referenceMacro_GetReferent_5041115067675932688(ctx); case 38: return QueriesGenerated.referenceMacro_GetReferent_5041115067675939294(ctx); case 39: return QueriesGenerated.referenceMacro_GetReferent_203908296139451946(ctx); case 40: return QueriesGenerated.referenceMacro_GetReferent_203908296139284729(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_b0a0a78() { PersistenceFacade facade = PersistenceFacade.getInstance(); SNode quotedNode_1 = null; quotedNode_1 = SModelUtil_new.instantiateConceptDeclaration(MetaAdapterFactory.getConcept(MetaAdapterFactory.getLanguage(0xf3061a5392264cc5L, 0xa443f952ceaf5816L, "jetbrains.mps.baseLanguage"), 0x101de48bf9eL, "ClassifierType"), null, null, false); quotedNode_1.setReference(MetaAdapterFactory.getReferenceLink(0xf3061a5392264cc5L, 0xa443f952ceaf5816L, 0x101de48bf9eL, 0x101de490babL, "classifier"), SReference.create(MetaAdapterFactory.getReferenceLink(0xf3061a5392264cc5L, 0xa443f952ceaf5816L, 0x101de48bf9eL, 0x101de490babL, "classifier"), quotedNode_1, facade.createModelReference("6354ebe7-c22a-4a0f-ac54-50b52ab9b065/java:java.lang(JDK/)"), facade.createNodeId("~Cloneable"))); return quotedNode_1; } private static boolean eq_x583g4_a0a1a29(Object a, Object b) { return (a != null ? a.equals(b) : a == b); } }