package jetbrains.mps.build.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.build.util.FileSetUtil; import jetbrains.mps.lang.smodel.generator.smodelAdapter.SLinkOperations; import jetbrains.mps.smodel.adapter.structure.MetaAdapterFactory; import jetbrains.mps.lang.smodel.generator.smodelAdapter.SNodeOperations; import jetbrains.mps.internal.collections.runtime.ListSequence; import jetbrains.mps.internal.collections.runtime.IWhereFilter; import org.jetbrains.mps.openapi.model.SNode; import jetbrains.mps.build.behavior.BuildLayout_Node__BehaviorDescriptor; import jetbrains.mps.lang.smodel.generator.smodelAdapter.SPropertyOperations; import jetbrains.mps.build.behavior.BuildLayout_File__BehaviorDescriptor; import jetbrains.mps.generator.template.PropertyMacroContext; import jetbrains.mps.build.behavior.BuildLayout_Container__BehaviorDescriptor; import jetbrains.mps.build.util.Context; import jetbrains.mps.build.behavior.BuildLayout_NamedContainer__BehaviorDescriptor; import jetbrains.mps.internal.collections.runtime.Sequence; import jetbrains.mps.build.behavior.BuildLayout_JarManifest__BehaviorDescriptor; import jetbrains.mps.build.behavior.BuildLayout_CopyProcessor__BehaviorDescriptor; import jetbrains.mps.build.behavior.BuildString__BehaviorDescriptor; import jetbrains.mps.build.behavior.BuildLayout_EchoXml__BehaviorDescriptor; import jetbrains.mps.internal.collections.runtime.IterableUtils; import jetbrains.mps.internal.collections.runtime.ISelector; import jetbrains.mps.build.behavior.BuildLayout_EchoProperties__BehaviorDescriptor; import jetbrains.mps.lang.core.behavior.BaseConcept__BehaviorDescriptor; import jetbrains.mps.build.behavior.BuildSourcePath__BehaviorDescriptor; import jetbrains.mps.build.behavior.BuildVariableMacroInitValue__BehaviorDescriptor; import jetbrains.mps.build.behavior.BuildSource_JavaContentFolder__BehaviorDescriptor; import jetbrains.mps.build.behavior.BuildProject__BehaviorDescriptor; import jetbrains.mps.build.util.RelativePathHelper; import jetbrains.mps.build.util.MacroHelper; import jetbrains.mps.baseLanguage.tuples.runtime.Tuples; import jetbrains.mps.build.util.DependenciesHelper; import jetbrains.mps.build.behavior.BuildLayout_PathElement__BehaviorDescriptor; import jetbrains.mps.build.behavior.BuildSource_SingleFile__BehaviorDescriptor; import jetbrains.mps.build.behavior.BuildSource_SingleFolder__BehaviorDescriptor; import jetbrains.mps.generator.template.ReferenceMacroContext; import jetbrains.mps.generator.template.IfMacroContext; import jetbrains.mps.build.behavior.BuildLayout_ContainerAcceptingFileSet__BehaviorDescriptor; import java.util.List; import org.jetbrains.mps.openapi.language.SAbstractConcept; import jetbrains.mps.generator.template.SourceSubstituteMacroNodeContext; import jetbrains.mps.build.util.JavaModulesClosure; import jetbrains.mps.build.behavior.BuildSourceArchiveRelativePath__BehaviorDescriptor; import jetbrains.mps.generator.template.TemplateArgumentContext; import jetbrains.mps.generator.template.SourceSubstituteMacroNodesContext; import java.util.Map; import jetbrains.mps.lang.smodel.generator.smodelAdapter.SModelOperations; import java.util.Collections; import java.util.ArrayList; import jetbrains.mps.internal.collections.runtime.ITranslator2; import jetbrains.mps.internal.collections.runtime.MapSequence; import java.util.LinkedHashMap; import jetbrains.mps.build.behavior.IWorkflowParticipant__BehaviorDescriptor; import jetbrains.mps.lang.smodel.generator.smodelAdapter.SConceptOperations; import jetbrains.mps.build.generator.util.JavaExternalLibraryHelper; import jetbrains.mps.generator.template.MapSrcMacroPostProcContext; import jetbrains.mps.generator.template.MappingScriptContext; import jetbrains.mps.util.CopyFacetUtil; import jetbrains.mps.build.util.FetchDependenciesProcessor; import jetbrains.mps.internal.collections.runtime.IVisitor; import jetbrains.mps.generator.template.TemplateVarContext; import jetbrains.mps.build.util.ProjectDependency; import jetbrains.mps.util.Pair; import jetbrains.mps.baseLanguage.tuples.runtime.MultiTuple; 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.ScriptCodeBlock; import jetbrains.mps.generator.impl.query.SourceNodeQuery; import jetbrains.mps.generator.impl.query.QueryKeyImpl; import org.jetbrains.annotations.Nullable; import jetbrains.mps.generator.impl.query.SourceNodesQuery; import java.util.Collection; import jetbrains.mps.util.IterableUtil; import jetbrains.mps.generator.impl.query.PropertyValueQuery; import org.jetbrains.mps.openapi.language.SProperty; import jetbrains.mps.generator.impl.query.IfMacroCondition; import jetbrains.mps.generator.impl.query.InlineSwitchCaseCondition; import jetbrains.mps.generator.template.InlineSwitchCaseContext; import jetbrains.mps.generator.impl.query.ReferenceTargetQuery; import jetbrains.mps.generator.impl.query.VariableValueQuery; import jetbrains.mps.generator.impl.query.CallArgumentQuery; import jetbrains.mps.generator.impl.query.MapPostProcessor; import org.jetbrains.mps.openapi.persistence.PersistenceFacade; import jetbrains.mps.smodel.SModelUtil_new; @Generated public class QueriesGenerated extends QueryProviderBase { public QueriesGenerated() { super(1); } public static boolean baseMappingRule_Condition_5248329904288166450(final BaseMappingRuleContext _context) { return FileSetUtil.isExplicit(_context.getNode()); } public static boolean baseMappingRule_Condition_4701820937132270526(final BaseMappingRuleContext _context) { return FileSetUtil.isExplicit(_context.getNode()); } public static boolean baseMappingRule_Condition_5610619299013114604(final BaseMappingRuleContext _context) { return FileSetUtil.isExplicit(_context.getNode()); } public static boolean baseMappingRule_Condition_6921160174096663332(final BaseMappingRuleContext _context) { return (SLinkOperations.getTarget(_context.getNode(), MetaAdapterFactory.getContainmentLink(0x798100da4f0a421aL, 0xb99171f8c50ce5d2L, 0x668c6cfbafadd002L, 0x668c6cfbafadf0eaL, "defaultPath")) == null); } public static boolean baseMappingRule_Condition_244868996532694196(final BaseMappingRuleContext _context) { return (SLinkOperations.getTarget(_context.getNode(), MetaAdapterFactory.getContainmentLink(0x798100da4f0a421aL, 0xb99171f8c50ce5d2L, 0x3449288aa0d560e2L, 0x263c91972cd26288L, "initialValue")) == null) || SNodeOperations.isInstanceOf(SLinkOperations.getTarget(_context.getNode(), MetaAdapterFactory.getContainmentLink(0x798100da4f0a421aL, 0xb99171f8c50ce5d2L, 0x3449288aa0d560e2L, 0x263c91972cd26288L, "initialValue")), MetaAdapterFactory.getConcept(0x798100da4f0a421aL, 0xb99171f8c50ce5d2L, 0x263c91972cd26287L, "jetbrains.mps.build.structure.BuildVariableMacroInitWithString")); } public static boolean baseMappingRule_Condition_2591537044435952582(final BaseMappingRuleContext _context) { return SNodeOperations.isInstanceOf(SLinkOperations.getTarget(_context.getNode(), MetaAdapterFactory.getReferenceLink(0x798100da4f0a421aL, 0xb99171f8c50ce5d2L, 0x23f6fd361bdcfd24L, 0x23f6fd361bdcfd26L, "module")), MetaAdapterFactory.getConcept(0x798100da4f0a421aL, 0xb99171f8c50ce5d2L, 0x668c6cfbafacdc38L, "jetbrains.mps.build.structure.BuildSource_JavaModule")); } public static boolean baseMappingRule_Condition_1330375798088465804(final BaseMappingRuleContext _context) { return ListSequence.fromList(SLinkOperations.getChildren(_context.getNode(), MetaAdapterFactory.getContainmentLink(0x798100da4f0a421aL, 0xb99171f8c50ce5d2L, 0x7f76698a394d9ab2L, 0x7f76698a394e2d1eL, "handlers"))).all(new IWhereFilter<SNode>() { public boolean accept(SNode it) { return SNodeOperations.isInstanceOf(it, MetaAdapterFactory.getConcept(0x798100da4f0a421aL, 0xb99171f8c50ce5d2L, 0x127671bd5d12a2c2L, "jetbrains.mps.build.structure.BuildLayout_CopyProcessor")); } }); } public static boolean baseMappingRule_Condition_1330375798088685235(final BaseMappingRuleContext _context) { return ListSequence.fromList(SLinkOperations.getChildren(_context.getNode(), MetaAdapterFactory.getContainmentLink(0x798100da4f0a421aL, 0xb99171f8c50ce5d2L, 0x7f76698a394d9ab2L, 0x7f76698a394e2d1eL, "handlers"))).isNotEmpty(); } public static boolean baseMappingRule_Condition_1556400259614055524(final BaseMappingRuleContext _context) { return SNodeOperations.isInstanceOf(SLinkOperations.getTarget(_context.getNode(), MetaAdapterFactory.getReferenceLink(0x798100da4f0a421aL, 0xb99171f8c50ce5d2L, 0xbabdfbeee1350f2L, 0xbabdfbeee1350f4L, "target")), MetaAdapterFactory.getInterfaceConcept(0x798100da4f0a421aL, 0xb99171f8c50ce5d2L, 0x4140393b234482c3L, "jetbrains.mps.build.structure.BuildLayout_Container")) && (boolean) BuildLayout_Node__BehaviorDescriptor.isFolder_id1bWeed$oPYW.invoke(SLinkOperations.getTarget(_context.getNode(), MetaAdapterFactory.getReferenceLink(0x798100da4f0a421aL, 0xb99171f8c50ce5d2L, 0xbabdfbeee1350f2L, 0xbabdfbeee1350f4L, "target"))); } public static boolean baseMappingRule_Condition_2750015747481190656(final BaseMappingRuleContext _context) { return isNotEmptyString(SPropertyOperations.getString(_context.getNode(), MetaAdapterFactory.getProperty(0x798100da4f0a421aL, 0xb99171f8c50ce5d2L, 0x7ea63ceef6e8c0edL, 0x7ea63ceef6e8c32bL, "filemode"))) && (boolean) BuildLayout_File__BehaviorDescriptor.canHaveFilemode_id7UAfeVQUccL.invoke(_context.getNode()); } public static boolean baseMappingRule_Condition_2750015747481031594(final BaseMappingRuleContext _context) { return ListSequence.fromList(SLinkOperations.getChildren(_context.getNode(), MetaAdapterFactory.getContainmentLink(0x798100da4f0a421aL, 0xb99171f8c50ce5d2L, 0x7ea63ceef6e8c0edL, 0x7ea63ceef6e8c126L, "parameters"))).any(new IWhereFilter<SNode>() { public boolean accept(SNode it) { return SNodeOperations.isInstanceOf(it, MetaAdapterFactory.getConcept(0x798100da4f0a421aL, 0xb99171f8c50ce5d2L, 0x7f76698a394dcc33L, "jetbrains.mps.build.structure.BuildLayout_CopyHandler")); } }); } public static boolean baseMappingRule_Condition_2750015747481074523(final BaseMappingRuleContext _context) { return ListSequence.fromList(SLinkOperations.getChildren(_context.getNode(), MetaAdapterFactory.getContainmentLink(0x798100da4f0a421aL, 0xb99171f8c50ce5d2L, 0x262a04c08b56faffL, 0x262a04c08b56fb01L, "parameters"))).any(new IWhereFilter<SNode>() { public boolean accept(SNode it) { return SNodeOperations.isInstanceOf(it, MetaAdapterFactory.getConcept(0x798100da4f0a421aL, 0xb99171f8c50ce5d2L, 0x7f76698a394dcc33L, "jetbrains.mps.build.structure.BuildLayout_CopyHandler")); } }); } public static Object propertyMacro_GetPropertyValue_1117643560963267883(final PropertyMacroContext _context) { return (String) BuildLayout_Container__BehaviorDescriptor.getChildrenOutputDir_WithMacro_id450ejGzh8bb.invoke(_context.getNode(), Context.defaultContext(_context)); } public static Object propertyMacro_GetPropertyValue_1117643560963268263(final PropertyMacroContext _context) { return (String) BuildLayout_Container__BehaviorDescriptor.getPrepareSubTaskId_id450ejGzh8bD.invoke(_context.getNode()); } public static Object propertyMacro_GetPropertyValue_1117643560963364006(final PropertyMacroContext _context) { return (String) BuildLayout_Container__BehaviorDescriptor.getAssembleSubTaskId_id450ejGzh8bO.invoke(_context.getNode()); } public static Object propertyMacro_GetPropertyValue_1117643560963358439(final PropertyMacroContext _context) { return (String) BuildLayout_Container__BehaviorDescriptor.getChildrenOutputDir_WithMacro_id450ejGzh8bb.invoke(_context.getNode(), Context.defaultContext(_context)); } public static Object propertyMacro_GetPropertyValue_1117643560963358405(final PropertyMacroContext _context) { return (String) BuildLayout_Container__BehaviorDescriptor.getPrepareSubTaskId_id450ejGzh8bD.invoke(_context.getNode()); } public static Object propertyMacro_GetPropertyValue_1117643560963268231(final PropertyMacroContext _context) { return (String) BuildLayout_NamedContainer__BehaviorDescriptor.getOutputPath_WithMacro_idfzIHCHip1Q.invoke(_context.getNode(), Context.defaultContext(_context)); } public static Object propertyMacro_GetPropertyValue_6837653846148504888(final PropertyMacroContext _context) { SNode mf = Sequence.fromIterable(SNodeOperations.ofConcept(SLinkOperations.getChildren(_context.getNode(), MetaAdapterFactory.getContainmentLink(0x798100da4f0a421aL, 0xb99171f8c50ce5d2L, 0x4140393b234482c3L, 0x668c6cfbafac4c8eL, "children")), MetaAdapterFactory.getConcept(0x798100da4f0a421aL, 0xb99171f8c50ce5d2L, 0x115d3b22faf20f2eL, "jetbrains.mps.build.structure.BuildLayout_JarManifest"))).first(); return (String) BuildLayout_JarManifest__BehaviorDescriptor.getOutputPath_WithMacro_id5V$ev8kKIxP.invoke(mf, Context.defaultContext(_context)); } public static Object propertyMacro_GetPropertyValue_7801138212747394521(final PropertyMacroContext _context) { return (String) BuildLayout_Container__BehaviorDescriptor.getChildrenOutputDir_WithMacro_id450ejGzh8bb.invoke(_context.getNode(), Context.defaultContext(_context)); } public static Object propertyMacro_GetPropertyValue_7801138212747394625(final PropertyMacroContext _context) { return SPropertyOperations.getString(_context.getNode(), MetaAdapterFactory.getProperty(0x798100da4f0a421aL, 0xb99171f8c50ce5d2L, 0x6c4335df4e838e40L, 0x6c4335df4e838e44L, "filemode")); } public static Object propertyMacro_GetPropertyValue_7801138212747394765(final PropertyMacroContext _context) { return SPropertyOperations.getString(_context.getNode(), MetaAdapterFactory.getProperty(0x798100da4f0a421aL, 0xb99171f8c50ce5d2L, 0x6c4335df4e838e40L, 0x6c4335df4e838e45L, "dirmode")); } public static Object propertyMacro_GetPropertyValue_7801138212747420785(final PropertyMacroContext _context) { return ((String) _context.getVariable("var:prefix")); } public static Object propertyMacro_GetPropertyValue_1117643560963351294(final PropertyMacroContext _context) { return (String) BuildLayout_Container__BehaviorDescriptor.getChildrenOutputDir_WithMacro_id450ejGzh8bb.invoke(_context.getNode(), Context.defaultContext(_context)); } public static Object propertyMacro_GetPropertyValue_1117643560963268242(final PropertyMacroContext _context) { return (String) BuildLayout_Container__BehaviorDescriptor.getAssembleSubTaskId_id450ejGzh8bO.invoke(_context.getNode()); } public static Object propertyMacro_GetPropertyValue_1117643560963358510(final PropertyMacroContext _context) { return (String) BuildLayout_Container__BehaviorDescriptor.getChildrenOutputDir_WithMacro_id450ejGzh8bb.invoke(_context.getNode(), Context.defaultContext(_context)); } public static Object propertyMacro_GetPropertyValue_1117643560963358520(final PropertyMacroContext _context) { return (String) BuildLayout_Container__BehaviorDescriptor.getPrepareSubTaskId_id450ejGzh8bD.invoke(_context.getNode()); } public static Object propertyMacro_GetPropertyValue_1117643560963358535(final PropertyMacroContext _context) { return (String) BuildLayout_NamedContainer__BehaviorDescriptor.getOutputPath_WithMacro_idfzIHCHip1Q.invoke(_context.getNode(), Context.defaultContext(_context)); } public static Object propertyMacro_GetPropertyValue_7801138212747394825(final PropertyMacroContext _context) { return (String) BuildLayout_Container__BehaviorDescriptor.getChildrenOutputDir_WithMacro_id450ejGzh8bb.invoke(_context.getNode(), Context.defaultContext(_context)); } public static Object propertyMacro_GetPropertyValue_7801138212747394845(final PropertyMacroContext _context) { return SPropertyOperations.getString(_context.getNode(), MetaAdapterFactory.getProperty(0x798100da4f0a421aL, 0xb99171f8c50ce5d2L, 0x6c4335df4e838e40L, 0x6c4335df4e838e44L, "filemode")); } public static Object propertyMacro_GetPropertyValue_7801138212747394863(final PropertyMacroContext _context) { return SPropertyOperations.getString(_context.getNode(), MetaAdapterFactory.getProperty(0x798100da4f0a421aL, 0xb99171f8c50ce5d2L, 0x6c4335df4e838e40L, 0x6c4335df4e838e45L, "dirmode")); } public static Object propertyMacro_GetPropertyValue_7801138212747420743(final PropertyMacroContext _context) { return ((String) _context.getVariable("var:prefix")); } public static Object propertyMacro_GetPropertyValue_1117643560963358569(final PropertyMacroContext _context) { return (String) BuildLayout_Container__BehaviorDescriptor.getChildrenOutputDir_WithMacro_id450ejGzh8bb.invoke(_context.getNode(), Context.defaultContext(_context)); } public static Object propertyMacro_GetPropertyValue_1117643560963358598(final PropertyMacroContext _context) { return (String) BuildLayout_Container__BehaviorDescriptor.getAssembleSubTaskId_id450ejGzh8bO.invoke(_context.getNode()); } public static Object propertyMacro_GetPropertyValue_8577651205286952472(final PropertyMacroContext _context) { return (String) BuildLayout_Container__BehaviorDescriptor.getChildrenOutputDir_WithMacro_id450ejGzh8bb.invoke(_context.getNode(), Context.defaultContext(_context)); } public static Object propertyMacro_GetPropertyValue_8577651205286952501(final PropertyMacroContext _context) { return (String) BuildLayout_Container__BehaviorDescriptor.getPrepareSubTaskId_id450ejGzh8bD.invoke(_context.getNode()); } public static Object propertyMacro_GetPropertyValue_8577651205286952543(final PropertyMacroContext _context) { return (String) BuildLayout_NamedContainer__BehaviorDescriptor.getOutputPath_WithMacro_idfzIHCHip1Q.invoke(_context.getNode(), Context.defaultContext(_context)); } public static Object propertyMacro_GetPropertyValue_1979010778009295389(final PropertyMacroContext _context) { return SPropertyOperations.getString_def(_context.getNode(), MetaAdapterFactory.getProperty(0x798100da4f0a421aL, 0xb99171f8c50ce5d2L, 0x7709f0532a526203L, 0x1b76dbd13de88928L, "compression"), "none"); } public static Object propertyMacro_GetPropertyValue_7801138212747394903(final PropertyMacroContext _context) { return (String) BuildLayout_Container__BehaviorDescriptor.getChildrenOutputDir_WithMacro_id450ejGzh8bb.invoke(_context.getNode(), Context.defaultContext(_context)); } public static Object propertyMacro_GetPropertyValue_7801138212747394923(final PropertyMacroContext _context) { return SPropertyOperations.getString(_context.getNode(), MetaAdapterFactory.getProperty(0x798100da4f0a421aL, 0xb99171f8c50ce5d2L, 0x6c4335df4e838e40L, 0x6c4335df4e838e44L, "filemode")); } public static Object propertyMacro_GetPropertyValue_7801138212747394941(final PropertyMacroContext _context) { return SPropertyOperations.getString(_context.getNode(), MetaAdapterFactory.getProperty(0x798100da4f0a421aL, 0xb99171f8c50ce5d2L, 0x6c4335df4e838e40L, 0x6c4335df4e838e45L, "dirmode")); } public static Object propertyMacro_GetPropertyValue_7801138212747405865(final PropertyMacroContext _context) { return ((String) _context.getVariable("var:prefix")); } public static Object propertyMacro_GetPropertyValue_8577651205286952577(final PropertyMacroContext _context) { return (String) BuildLayout_Container__BehaviorDescriptor.getChildrenOutputDir_WithMacro_id450ejGzh8bb.invoke(_context.getNode(), Context.defaultContext(_context)); } public static Object propertyMacro_GetPropertyValue_8577651205286952606(final PropertyMacroContext _context) { return (String) BuildLayout_Container__BehaviorDescriptor.getAssembleSubTaskId_id450ejGzh8bO.invoke(_context.getNode()); } public static Object propertyMacro_GetPropertyValue_7801138212747391977(final PropertyMacroContext _context) { return (String) BuildLayout_Container__BehaviorDescriptor.getChildrenOutputDir_WithMacro_id450ejGzh8bb.invoke(_context.getNode(), Context.defaultContext(_context)); } public static Object propertyMacro_GetPropertyValue_7801138212747392029(final PropertyMacroContext _context) { return (String) BuildLayout_Container__BehaviorDescriptor.getPrepareSubTaskId_id450ejGzh8bD.invoke(_context.getNode()); } public static Object propertyMacro_GetPropertyValue_7801138212747392100(final PropertyMacroContext _context) { return (String) BuildLayout_Container__BehaviorDescriptor.getAssembleSubTaskId_id450ejGzh8bO.invoke(_context.getNode()); } public static Object propertyMacro_GetPropertyValue_2913098736709502287(final PropertyMacroContext _context) { return (String) BuildLayout_Container__BehaviorDescriptor.getPrepareSubTaskId_id450ejGzh8bD.invoke(_context.getNode()); } public static Object propertyMacro_GetPropertyValue_2913098736709502392(final PropertyMacroContext _context) { return (String) BuildLayout_Container__BehaviorDescriptor.getAssembleSubTaskId_id450ejGzh8bO.invoke(_context.getNode()); } public static Object propertyMacro_GetPropertyValue_5248329904288079307(final PropertyMacroContext _context) { if (!(SNodeOperations.isInstanceOf(SNodeOperations.getParent(_context.getNode()), MetaAdapterFactory.getInterfaceConcept(0x798100da4f0a421aL, 0xb99171f8c50ce5d2L, 0x4140393b234482c3L, "jetbrains.mps.build.structure.BuildLayout_Container")))) { _context.showErrorMessage(_context.getNode(), "parent should be layout container"); return "???"; } return (String) BuildLayout_Container__BehaviorDescriptor.getChildrenOutputDir_WithMacro_id450ejGzh8bb.invoke(SNodeOperations.cast(SNodeOperations.getParent(_context.getNode()), MetaAdapterFactory.getInterfaceConcept(0x798100da4f0a421aL, 0xb99171f8c50ce5d2L, 0x4140393b234482c3L, "jetbrains.mps.build.structure.BuildLayout_Container")), Context.defaultContext(_context)); } public static Object propertyMacro_GetPropertyValue_5248329904288131577(final PropertyMacroContext _context) { return "copy." + _context.getNode().getNodeId().toString(); } public static Object propertyMacro_GetPropertyValue_1330375798064504256(final PropertyMacroContext _context) { String result = ((String[]) _context.getVariable("var:lpath"))[0]; ((String[]) _context.getVariable("var:lpath"))[0] = ((String) _context.getVariable("var:tpath")); return result; } public static Object propertyMacro_GetPropertyValue_1330375798061623007(final PropertyMacroContext _context) { return ((String) _context.getVariable("var:tpath")); } public static Object propertyMacro_GetPropertyValue_7918752904806212853(final PropertyMacroContext _context) { return SPropertyOperations.getString(_context.getNode(), MetaAdapterFactory.getProperty(0x798100da4f0a421aL, 0xb99171f8c50ce5d2L, 0x508044c9892d3b5bL, 0x508044c9892df0baL, "value")); } public static Object propertyMacro_GetPropertyValue_7918752904806176130(final PropertyMacroContext _context) { return SPropertyOperations.getString(_context.getNode(), MetaAdapterFactory.getProperty(0x798100da4f0a421aL, 0xb99171f8c50ce5d2L, 0x508044c9892d3b5bL, 0x508044c9892df0b8L, "key")); } public static Object propertyMacro_GetPropertyValue_1330375798061013111(final PropertyMacroContext _context) { return (String) BuildLayout_CopyProcessor__BehaviorDescriptor.getTaskName_id19QsrPtc4wK.invoke(_context.getNode()); } public static Object propertyMacro_GetPropertyValue_1330375798064791207(final PropertyMacroContext _context) { return ((String[]) _context.getVariable("var:lpath"))[0]; } public static Object propertyMacro_GetPropertyValue_9184644532456968183(final PropertyMacroContext _context) { if (!(SNodeOperations.isInstanceOf(SNodeOperations.getParent(_context.getNode()), MetaAdapterFactory.getInterfaceConcept(0x798100da4f0a421aL, 0xb99171f8c50ce5d2L, 0x4140393b234482c3L, "jetbrains.mps.build.structure.BuildLayout_Container")))) { _context.showErrorMessage(_context.getNode(), "parent should be layout container"); return "???"; } return (String) BuildLayout_Container__BehaviorDescriptor.getChildrenOutputDir_WithMacro_id450ejGzh8bb.invoke(SNodeOperations.cast(SNodeOperations.getParent(_context.getNode()), MetaAdapterFactory.getInterfaceConcept(0x798100da4f0a421aL, 0xb99171f8c50ce5d2L, 0x4140393b234482c3L, "jetbrains.mps.build.structure.BuildLayout_Container")), Context.defaultContext(_context)); } public static Object propertyMacro_GetPropertyValue_9184644532456968281(final PropertyMacroContext _context) { return "copy." + _context.getNode().getNodeId().toString(); } public static Object propertyMacro_GetPropertyValue_9184644532456968460(final PropertyMacroContext _context) { return SPropertyOperations.getString(_context.getNode(), MetaAdapterFactory.getProperty(0x798100da4f0a421aL, 0xb99171f8c50ce5d2L, 0x7f76698a39527645L, 0x7f76698a39527647L, "key")); } public static Object propertyMacro_GetPropertyValue_9184644532456968492(final PropertyMacroContext _context) { return ((SLinkOperations.getTarget(_context.getNode(), MetaAdapterFactory.getContainmentLink(0x798100da4f0a421aL, 0xb99171f8c50ce5d2L, 0x7f76698a39527645L, 0x7f76698a39527648L, "value")) == null) ? "" : BuildString__BehaviorDescriptor.getText_id3NagsOfTioI.invoke(SLinkOperations.getTarget(_context.getNode(), MetaAdapterFactory.getContainmentLink(0x798100da4f0a421aL, 0xb99171f8c50ce5d2L, 0x7f76698a39527645L, 0x7f76698a39527648L, "value")), Context.defaultContext(_context).getMacros(_context.getNode()))); } public static Object propertyMacro_GetPropertyValue_9184644532457106546(final PropertyMacroContext _context) { return SPropertyOperations.getString(_context.getNode(), MetaAdapterFactory.getProperty(0x798100da4f0a421aL, 0xb99171f8c50ce5d2L, 0x7f76698a3956ec48L, 0x7f76698a3956ec49L, "pattern")); } public static Object propertyMacro_GetPropertyValue_9184644532457106555(final PropertyMacroContext _context) { return ((SLinkOperations.getTarget(_context.getNode(), MetaAdapterFactory.getContainmentLink(0x798100da4f0a421aL, 0xb99171f8c50ce5d2L, 0x7f76698a3956ec48L, 0x7f76698a3956ec4aL, "value")) == null) ? "" : BuildString__BehaviorDescriptor.getText_id3NagsOfTioI.invoke(SLinkOperations.getTarget(_context.getNode(), MetaAdapterFactory.getContainmentLink(0x798100da4f0a421aL, 0xb99171f8c50ce5d2L, 0x7f76698a3956ec48L, 0x7f76698a3956ec4aL, "value")), Context.defaultContext(_context).getMacros(_context.getNode()))); } public static Object propertyMacro_GetPropertyValue_9184644532457106586(final PropertyMacroContext _context) { return SPropertyOperations.getString(_context.getNode(), MetaAdapterFactory.getProperty(0x798100da4f0a421aL, 0xb99171f8c50ce5d2L, 0x7f76698a3956ec48L, 0x7f76698a3956ec4cL, "flags")); } public static Object propertyMacro_GetPropertyValue_4198392933254628144(final PropertyMacroContext _context) { return SPropertyOperations.getString_def(_context.getNode(), MetaAdapterFactory.getProperty(0x798100da4f0a421aL, 0xb99171f8c50ce5d2L, 0x3a43b020f623c9acL, 0x3a43b020f623c9b6L, "eol"), "local"); } public static Object propertyMacro_GetPropertyValue_3970102152660874527(final PropertyMacroContext _context) { return SPropertyOperations.getString(_context.getNode(), MetaAdapterFactory.getProperty(0x798100da4f0a421aL, 0xb99171f8c50ce5d2L, 0x3718a2df935ad4caL, 0x3718a2df935d750cL, "from")); } public static Object propertyMacro_GetPropertyValue_3970102152660874559(final PropertyMacroContext _context) { return (String) BuildString__BehaviorDescriptor.getText_id3NagsOfTioI.invoke(SLinkOperations.getTarget(_context.getNode(), MetaAdapterFactory.getContainmentLink(0x798100da4f0a421aL, 0xb99171f8c50ce5d2L, 0x3718a2df935ad4caL, 0x3718a2df935d750dL, "to")), Context.defaultContext(_context).getMacros(_context.getNode())); } public static Object propertyMacro_GetPropertyValue_3970102152660876483(final PropertyMacroContext _context) { return SPropertyOperations.getString(_context.getNode(), MetaAdapterFactory.getProperty(0x798100da4f0a421aL, 0xb99171f8c50ce5d2L, 0x3718a2df935d7c9fL, 0x3718a2df935d7ca0L, "pattern")).replaceAll("\\$", "\\$\\$"); } public static Object propertyMacro_GetPropertyValue_3970102152660876492(final PropertyMacroContext _context) { return SPropertyOperations.getString(_context.getNode(), MetaAdapterFactory.getProperty(0x798100da4f0a421aL, 0xb99171f8c50ce5d2L, 0x3718a2df935d7c9fL, 0x3718a2df935d7ca1L, "replace")).replaceAll("\\$", "\\$\\$"); } public static Object propertyMacro_GetPropertyValue_4643216374596142877(final PropertyMacroContext _context) { return (String) BuildLayout_EchoXml__BehaviorDescriptor.getOutputPath_WithMacro_id41K1b4v58vm.invoke(_context.getNode(), Context.defaultContext(_context)); } public static Object propertyMacro_GetPropertyValue_4643216374596143015(final PropertyMacroContext _context) { return "copy." + _context.getNode().getNodeId().toString(); } public static Object propertyMacro_GetPropertyValue_202934866059116852(final PropertyMacroContext _context) { return IterableUtils.join(ListSequence.fromList(SLinkOperations.getChildren(_context.getNode(), MetaAdapterFactory.getContainmentLink(0x798100da4f0a421aL, 0xb99171f8c50ce5d2L, 0x2d0f82f7bfda46aL, 0x2d0f82f7bfda47aL, "entries"))).select(new ISelector<SNode, String>() { public String select(SNode it) { return SPropertyOperations.getString(it, MetaAdapterFactory.getProperty(0x798100da4f0a421aL, 0xb99171f8c50ce5d2L, 0x2d0f82f7bfda477L, 0x2d0f82f7bfda478L, "key")) + "=" + BuildString__BehaviorDescriptor.getText_id3NagsOfTioI.invoke(SLinkOperations.getTarget(it, MetaAdapterFactory.getContainmentLink(0x798100da4f0a421aL, 0xb99171f8c50ce5d2L, 0x2d0f82f7bfda477L, 0x2d0f82f7bfda479L, "value")), Context.defaultContext(_context).getMacros(_context.getNode())); } }), "${line.separator}"); } public static Object propertyMacro_GetPropertyValue_202934866059116755(final PropertyMacroContext _context) { return (String) BuildLayout_EchoProperties__BehaviorDescriptor.getOutputPath_WithMacro_idbgY2XVZG2p.invoke(_context.getNode(), Context.defaultContext(_context)); } public static Object propertyMacro_GetPropertyValue_202934866059116833(final PropertyMacroContext _context) { return "copy." + _context.getNode().getNodeId().toString(); } public static Object propertyMacro_GetPropertyValue_6547494638219491804(final PropertyMacroContext _context) { return ((String) _context.getVariable("var:targetLocation")); } public static Object propertyMacro_GetPropertyValue_4701820937132270545(final PropertyMacroContext _context) { if (!(SNodeOperations.isInstanceOf(SNodeOperations.getParent(_context.getNode()), MetaAdapterFactory.getInterfaceConcept(0x798100da4f0a421aL, 0xb99171f8c50ce5d2L, 0x4140393b234482c3L, "jetbrains.mps.build.structure.BuildLayout_Container")))) { _context.showErrorMessage(_context.getNode(), "parent should be layout container"); return "???"; } String result = BuildLayout_Container__BehaviorDescriptor.getChildrenOutputDir_WithMacro_id450ejGzh8bb.invoke(SNodeOperations.cast(SNodeOperations.getParent(_context.getNode()), MetaAdapterFactory.getInterfaceConcept(0x798100da4f0a421aL, 0xb99171f8c50ce5d2L, 0x4140393b234482c3L, "jetbrains.mps.build.structure.BuildLayout_Container")), Context.defaultContext(_context)); if ((boolean) BuildLayout_Node__BehaviorDescriptor.isFolder_id1bWeed$oPYW.invoke(SLinkOperations.getTarget(_context.getNode(), MetaAdapterFactory.getReferenceLink(0x798100da4f0a421aL, 0xb99171f8c50ce5d2L, 0xbabdfbeee1350f2L, 0xbabdfbeee1350f4L, "target")))) { _context.showErrorMessage(_context.getNode(), "internal error: cannot handle folders `" + BaseConcept__BehaviorDescriptor.getPresentation_idhEwIMiw.invoke(SLinkOperations.getTarget(_context.getNode(), MetaAdapterFactory.getReferenceLink(0x798100da4f0a421aL, 0xb99171f8c50ce5d2L, 0xbabdfbeee1350f2L, 0xbabdfbeee1350f4L, "target"))) + "'"); } return result; } public static Object propertyMacro_GetPropertyValue_4701820937132270643(final PropertyMacroContext _context) { return "copy.artifacts." + _context.getNode().getNodeId().toString(); } public static Object propertyMacro_GetPropertyValue_5610619299013114623(final PropertyMacroContext _context) { if (!(SNodeOperations.isInstanceOf(SNodeOperations.getParent(_context.getNode()), MetaAdapterFactory.getInterfaceConcept(0x798100da4f0a421aL, 0xb99171f8c50ce5d2L, 0x4140393b234482c3L, "jetbrains.mps.build.structure.BuildLayout_Container")))) { _context.showErrorMessage(_context.getNode(), "parent should be layout container"); return "???"; } return (String) BuildLayout_Container__BehaviorDescriptor.getChildrenOutputDir_WithMacro_id450ejGzh8bb.invoke(SNodeOperations.cast(SNodeOperations.getParent(_context.getNode()), MetaAdapterFactory.getInterfaceConcept(0x798100da4f0a421aL, 0xb99171f8c50ce5d2L, 0x4140393b234482c3L, "jetbrains.mps.build.structure.BuildLayout_Container")), Context.defaultContext(_context)); } public static Object propertyMacro_GetPropertyValue_5610619299013114691(final PropertyMacroContext _context) { return ((String) _context.getVariable("var:targetLocation")); } public static Object propertyMacro_GetPropertyValue_5610619299013114851(final PropertyMacroContext _context) { return "copy.artifacts." + _context.getNode().getNodeId().toString(); } public static Object propertyMacro_GetPropertyValue_6921160174096729094(final PropertyMacroContext _context) { return SPropertyOperations.getString(_context.getNode(), MetaAdapterFactory.getProperty(0xceab519525ea4f22L, 0x9b92103b95ca8c0cL, 0x110396eaaa4L, 0x110396ec041L, "name")); } public static Object propertyMacro_GetPropertyValue_1117643560963307392(final PropertyMacroContext _context) { return (String) BuildSourcePath__BehaviorDescriptor.getAntPath_id7ro1ZztyOh5.invoke(SLinkOperations.getTarget(_context.getNode(), MetaAdapterFactory.getContainmentLink(0x798100da4f0a421aL, 0xb99171f8c50ce5d2L, 0x668c6cfbafadd002L, 0x668c6cfbafadf0eaL, "defaultPath")), Context.defaultContext(_context)); } public static Object propertyMacro_GetPropertyValue_1117643560963307395(final PropertyMacroContext _context) { return SPropertyOperations.getString(_context.getNode(), MetaAdapterFactory.getProperty(0xceab519525ea4f22L, 0x9b92103b95ca8c0cL, 0x110396eaaa4L, 0x110396ec041L, "name")); } public static Object propertyMacro_GetPropertyValue_244868996532694202(final PropertyMacroContext _context) { SNode stringValue = SNodeOperations.as(SLinkOperations.getTarget(_context.getNode(), MetaAdapterFactory.getContainmentLink(0x798100da4f0a421aL, 0xb99171f8c50ce5d2L, 0x3449288aa0d560e2L, 0x263c91972cd26288L, "initialValue")), MetaAdapterFactory.getConcept(0x798100da4f0a421aL, 0xb99171f8c50ce5d2L, 0x263c91972cd26287L, "jetbrains.mps.build.structure.BuildVariableMacroInitWithString")); if ((stringValue != null) && (SLinkOperations.getTarget(stringValue, MetaAdapterFactory.getContainmentLink(0x798100da4f0a421aL, 0xb99171f8c50ce5d2L, 0x263c91972cd26287L, 0x263c91972cd2628dL, "value")) != null)) { return BuildString__BehaviorDescriptor.getText_id3NagsOfTioI.invoke(SLinkOperations.getTarget(stringValue, MetaAdapterFactory.getContainmentLink(0x798100da4f0a421aL, 0xb99171f8c50ce5d2L, 0x263c91972cd26287L, 0x263c91972cd2628dL, "value")), Context.defaultContext(_context).getMacros(_context.getNode())); } return ""; } public static Object propertyMacro_GetPropertyValue_244868996532694236(final PropertyMacroContext _context) { return SPropertyOperations.getString(_context.getNode(), MetaAdapterFactory.getProperty(0xceab519525ea4f22L, 0x9b92103b95ca8c0cL, 0x110396eaaa4L, 0x110396ec041L, "name")); } public static Object propertyMacro_GetPropertyValue_244868996532694243(final PropertyMacroContext _context) { return (SLinkOperations.getTarget(_context.getNode(), MetaAdapterFactory.getContainmentLink(0x798100da4f0a421aL, 0xb99171f8c50ce5d2L, 0x3449288aa0d560e2L, 0x263c91972cd26288L, "initialValue")) == null); } public static Object propertyMacro_GetPropertyValue_244868996532694647(final PropertyMacroContext _context) { return (String) BuildVariableMacroInitValue__BehaviorDescriptor.getMacroName_idd_WKSiPASu.invoke(_context.getNode()); } public static Object propertyMacro_GetPropertyValue_244868996532694684(final PropertyMacroContext _context) { return SPropertyOperations.getString(_context.getNode(), MetaAdapterFactory.getProperty(0x798100da4f0a421aL, 0xb99171f8c50ce5d2L, 0x365f30e12d2c3e4L, 0x365f30e12d2c3f0L, "pattern")); } public static Object propertyMacro_GetPropertyValue_244868996532711387(final PropertyMacroContext _context) { return (String) BuildSourcePath__BehaviorDescriptor.getAntPath_id7ro1ZztyOh5.invoke(SLinkOperations.getTarget(_context.getNode(), MetaAdapterFactory.getContainmentLink(0x798100da4f0a421aL, 0xb99171f8c50ce5d2L, 0x365f30e12d43ad7L, 0x365f30e12d43ad8L, "fileName")), Context.defaultContext(_context)); } public static Object propertyMacro_GetPropertyValue_244868996532711449(final PropertyMacroContext _context) { return "loaded.for." + BuildVariableMacroInitValue__BehaviorDescriptor.getMacroName_idd_WKSiPASu.invoke(_context.getNode()); } public static Object propertyMacro_GetPropertyValue_244868996532694720(final PropertyMacroContext _context) { return (String) BuildVariableMacroInitValue__BehaviorDescriptor.getMacroName_idd_WKSiPASu.invoke(_context.getNode()); } public static Object propertyMacro_GetPropertyValue_244868996532711507(final PropertyMacroContext _context) { return "${loaded.for." + BuildVariableMacroInitValue__BehaviorDescriptor.getMacroName_idd_WKSiPASu.invoke(_context.getNode()) + "." + BuildVariableMacroInitValue__BehaviorDescriptor.getMacroName_idd_WKSiPASu.invoke(_context.getNode()) + "}"; } public static Object propertyMacro_GetPropertyValue_8404904817668835292(final PropertyMacroContext _context) { return (String) BuildVariableMacroInitValue__BehaviorDescriptor.getMacroName_idd_WKSiPASu.invoke(_context.getNode()); } public static Object propertyMacro_GetPropertyValue_8404904817668907533(final PropertyMacroContext _context) { return (String) BuildSourcePath__BehaviorDescriptor.getAntPath_id7ro1ZztyOh5.invoke(SLinkOperations.getTarget(_context.getNode(), MetaAdapterFactory.getContainmentLink(0x798100da4f0a421aL, 0xb99171f8c50ce5d2L, 0x74a438668c1b9d5aL, 0x74a438668c1d66d0L, "fileName")), Context.defaultContext(_context)); } public static Object propertyMacro_GetPropertyValue_733309334560065462(final PropertyMacroContext _context) { return (String) BuildSourcePath__BehaviorDescriptor.getAntPath_id7ro1ZztyOh5.invoke(_context.getNode(), Context.defaultContext(_context)); } public static Object propertyMacro_GetPropertyValue_1117643560963346388(final PropertyMacroContext _context) { return SPropertyOperations.getString(_context.getNode(), MetaAdapterFactory.getProperty(0xceab519525ea4f22L, 0x9b92103b95ca8c0cL, 0x110396eaaa4L, 0x110396ec041L, "name")); } public static Object propertyMacro_GetPropertyValue_1117643560963346427(final PropertyMacroContext _context) { return Context.defaultContext(_context).getTempPath(_context.getNode(), SPropertyOperations.getString(_context.getNode(), MetaAdapterFactory.getProperty(0xceab519525ea4f22L, 0x9b92103b95ca8c0cL, 0x110396eaaa4L, 0x110396ec041L, "name")), "java", "out"); } public static Object propertyMacro_GetPropertyValue_8055294676438890975(final PropertyMacroContext _context) { return SPropertyOperations.getString(_context.getNode(), MetaAdapterFactory.getProperty(0x798100da4f0a421aL, 0xb99171f8c50ce5d2L, 0x508044c9892875c0L, 0x508044c989287946L, "folderName")); } public static Object propertyMacro_GetPropertyValue_1659807394254872723(final PropertyMacroContext _context) { SNode options = ((SNode) _context.getVariable("var:javaOpts")); return (options != null ? SPropertyOperations.getBoolean(options, MetaAdapterFactory.getProperty(0x798100da4f0a421aL, 0xb99171f8c50ce5d2L, 0xcdff0e1a96739c2L, 0xcdff0e1a96739c5L, "generateDebugInfo")) : true); } public static Object propertyMacro_GetPropertyValue_1659807394254873294(final PropertyMacroContext _context) { SNode options = ((SNode) _context.getVariable("var:javaOpts")); return (options != null ? SPropertyOperations.getBoolean(options, MetaAdapterFactory.getProperty(0x798100da4f0a421aL, 0xb99171f8c50ce5d2L, 0xcdff0e1a96739c2L, 0xcdff0e1a96ccbeeL, "noWarnings")) : false); } public static Object propertyMacro_GetPropertyValue_1659807394254873348(final PropertyMacroContext _context) { SNode options = ((SNode) _context.getVariable("var:javaOpts")); return (options != null ? SPropertyOperations.getInteger(options, MetaAdapterFactory.getProperty(0x798100da4f0a421aL, 0xb99171f8c50ce5d2L, 0xcdff0e1a96739c2L, 0xcdff0e1a96ccbe3L, "heapSize")) : 0); } public static Object propertyMacro_GetPropertyValue_703815700951902259(final PropertyMacroContext _context) { SNode options = ((SNode) _context.getVariable("var:javaOpts")); return (options != null ? SPropertyOperations.getString(options, MetaAdapterFactory.getProperty(0x798100da4f0a421aL, 0xb99171f8c50ce5d2L, 0xcdff0e1a96739c2L, 0x1c936d31d311af95L, "compiler")) : null); } public static Object propertyMacro_GetPropertyValue_6998860900673151433(final PropertyMacroContext _context) { return SPropertyOperations.getString(((SNode) _context.getVariable("var:javaOpts")), MetaAdapterFactory.getProperty(0x798100da4f0a421aL, 0xb99171f8c50ce5d2L, 0xcdff0e1a96739c2L, 0x6120f2e858dfcfdcL, "javaLevel")); } public static Object propertyMacro_GetPropertyValue_6998860900673160748(final PropertyMacroContext _context) { return SPropertyOperations.getString(((SNode) _context.getVariable("var:javaOpts")), MetaAdapterFactory.getProperty(0x798100da4f0a421aL, 0xb99171f8c50ce5d2L, 0xcdff0e1a96739c2L, 0x6120f2e858dfcfdcL, "javaLevel")); } public static Object propertyMacro_GetPropertyValue_1476884141930961396(final PropertyMacroContext _context) { return SPropertyOperations.getString(((SNode) _context.getVariable("var:javaOpts")), MetaAdapterFactory.getProperty(0x798100da4f0a421aL, 0xb99171f8c50ce5d2L, 0xcdff0e1a96739c2L, 0x147ef24d5e249317L, "compilerOptions")); } public static Object propertyMacro_GetPropertyValue_4416461515995914323(final PropertyMacroContext _context) { SNode options = ((SNode) _context.getVariable("var:javaOpts")); return (options != null ? SPropertyOperations.getBoolean(options, MetaAdapterFactory.getProperty(0x798100da4f0a421aL, 0xb99171f8c50ce5d2L, 0xcdff0e1a96739c2L, 0x3d4a6c59711a0304L, "fork")) : true); } public static Object propertyMacro_GetPropertyValue_7926701909975671869(final PropertyMacroContext _context) { return (String) BuildSource_JavaContentFolder__BehaviorDescriptor.getAntPath_id24CrdeMZy0h.invoke(_context.getNode(), Context.defaultContext(_context)); } public static Object propertyMacro_GetPropertyValue_144710003695560915(final PropertyMacroContext _context) { return "java.library." + SPropertyOperations.getString(_context.getNode(), MetaAdapterFactory.getProperty(0xceab519525ea4f22L, 0x9b92103b95ca8c0cL, 0x110396eaaa4L, 0x110396ec041L, "name")); } public static Object propertyMacro_GetPropertyValue_5248329904288079406(final PropertyMacroContext _context) { return (String) BuildSourcePath__BehaviorDescriptor.getAntPath_id7ro1ZztyOh5.invoke(SLinkOperations.getTarget(_context.getNode(), MetaAdapterFactory.getContainmentLink(0x798100da4f0a421aL, 0xb99171f8c50ce5d2L, 0x48d5d03db92245a4L, 0x48d5d03db92245a6L, "dir")), Context.defaultContext(_context)); } public static Object propertyMacro_GetPropertyValue_7866279537988669079(final PropertyMacroContext _context) { return (String) BuildSourcePath__BehaviorDescriptor.getAntPath_id7ro1ZztyOh5.invoke(SLinkOperations.getTarget(_context.getNode(), MetaAdapterFactory.getContainmentLink(0x798100da4f0a421aL, 0xb99171f8c50ce5d2L, 0x6d2aa38ffdbd053fL, 0x6d2aa38ffdbd0542L, "dir")), Context.defaultContext(_context)); } public static Object propertyMacro_GetPropertyValue_5248329904288079452(final PropertyMacroContext _context) { return (String) BuildSourcePath__BehaviorDescriptor.getAntPath_id7ro1ZztyOh5.invoke(SLinkOperations.getTarget(_context.getNode(), MetaAdapterFactory.getContainmentLink(0x798100da4f0a421aL, 0xb99171f8c50ce5d2L, 0x48d5d03db9224596L, 0x48d5d03db922459aL, "path")), Context.defaultContext(_context)); } public static Object propertyMacro_GetPropertyValue_2303926226081012727(final PropertyMacroContext _context) { return (String) BuildSourcePath__BehaviorDescriptor.getAntPath_id7ro1ZztyOh5.invoke(SLinkOperations.getTarget(_context.getNode(), MetaAdapterFactory.getContainmentLink(0x798100da4f0a421aL, 0xb99171f8c50ce5d2L, 0x1ff930b22643b0ffL, 0x1ff930b22643b100L, "path")), Context.defaultContext(_context)); } public static Object propertyMacro_GetPropertyValue_3717132724152837101(final PropertyMacroContext _context) { return (String) BuildSourcePath__BehaviorDescriptor.getAntPath_id7ro1ZztyOh5.invoke(SLinkOperations.getTarget(_context.getNode(), MetaAdapterFactory.getContainmentLink(0x798100da4f0a421aL, 0xb99171f8c50ce5d2L, 0x11779a1dbcff551aL, 0x3395e884b61c23e2L, "path")), Context.defaultContext(_context)); } public static Object propertyMacro_GetPropertyValue_3717132724152837217(final PropertyMacroContext _context) { return (String) BuildSourcePath__BehaviorDescriptor.getAntPath_id7ro1ZztyOh5.invoke(SLinkOperations.getTarget(_context.getNode(), MetaAdapterFactory.getContainmentLink(0x798100da4f0a421aL, 0xb99171f8c50ce5d2L, 0x11779a1dbd021959L, 0x3395e884b61c2440L, "dir")), Context.defaultContext(_context)); } public static Object propertyMacro_GetPropertyValue_5248329904288082868(final PropertyMacroContext _context) { return SPropertyOperations.getString(_context.getNode(), MetaAdapterFactory.getProperty(0x798100da4f0a421aL, 0xb99171f8c50ce5d2L, 0x48d5d03db9262f9cL, 0x48d5d03db9262f9dL, "pattern")); } public static Object propertyMacro_GetPropertyValue_8654221991637384417(final PropertyMacroContext _context) { return SPropertyOperations.getString(_context.getNode(), MetaAdapterFactory.getProperty(0x798100da4f0a421aL, 0xb99171f8c50ce5d2L, 0x7819f90ca2eb7bf6L, 0x7819f90ca2eb7bf8L, "pattern")); } public static Object propertyMacro_GetPropertyValue_5248329904288082882(final PropertyMacroContext _context) { return SPropertyOperations.getString(_context.getNode(), MetaAdapterFactory.getProperty(0x798100da4f0a421aL, 0xb99171f8c50ce5d2L, 0x48d5d03db9262fa7L, 0x48d5d03db9262fa8L, "pattern")); } public static Object propertyMacro_GetPropertyValue_4701820937132337491(final PropertyMacroContext _context) { return "layout." + SPropertyOperations.getString(_context.getNode(), MetaAdapterFactory.getProperty(0xceab519525ea4f22L, 0x9b92103b95ca8c0cL, 0x110396eaaa4L, 0x110396ec041L, "name")); } public static Object propertyMacro_GetPropertyValue_6837653846148442221(final PropertyMacroContext _context) { return (String) BuildLayout_JarManifest__BehaviorDescriptor.getOutputPath_WithMacro_id5V$ev8kKIxP.invoke(_context.getNode(), Context.defaultContext(_context)); } public static Object propertyMacro_GetPropertyValue_6837653846148442060(final PropertyMacroContext _context) { return (String) BuildString__BehaviorDescriptor.getText_id3NagsOfTioI.invoke(SLinkOperations.getTarget(_context.getNode(), MetaAdapterFactory.getContainmentLink(0x798100da4f0a421aL, 0xb99171f8c50ce5d2L, 0x115d3b22faf20f30L, 0x115d3b22faf20f31L, "name")), Context.defaultContext(_context).getMacros(_context.getNode())); } public static Object propertyMacro_GetPropertyValue_6837653846148442076(final PropertyMacroContext _context) { return (String) BuildString__BehaviorDescriptor.getText_id3NagsOfTioI.invoke(SLinkOperations.getTarget(_context.getNode(), MetaAdapterFactory.getContainmentLink(0x798100da4f0a421aL, 0xb99171f8c50ce5d2L, 0x115d3b22faf20f30L, 0x115d3b22faf20f32L, "value")), Context.defaultContext(_context).getMacros(_context.getNode())); } public static Object propertyMacro_GetPropertyValue_6837653846148442102(final PropertyMacroContext _context) { return (String) BuildString__BehaviorDescriptor.getText_id3NagsOfTioI.invoke(SLinkOperations.getTarget(_context.getNode(), MetaAdapterFactory.getContainmentLink(0x798100da4f0a421aL, 0xb99171f8c50ce5d2L, 0x115d3b22faf20f30L, 0x115d3b22faf20f31L, "name")), Context.defaultContext(_context).getMacros(_context.getNode())); } public static Object propertyMacro_GetPropertyValue_6837653846148442118(final PropertyMacroContext _context) { return (String) BuildString__BehaviorDescriptor.getText_id3NagsOfTioI.invoke(SLinkOperations.getTarget(_context.getNode(), MetaAdapterFactory.getContainmentLink(0x798100da4f0a421aL, 0xb99171f8c50ce5d2L, 0x115d3b22faf20f30L, 0x115d3b22faf20f32L, "value")), Context.defaultContext(_context).getMacros(_context.getNode())); } public static Object propertyMacro_GetPropertyValue_6837653846148442142(final PropertyMacroContext _context) { return (String) BuildString__BehaviorDescriptor.getText_id3NagsOfTioI.invoke(SLinkOperations.getTarget(_context.getNode(), MetaAdapterFactory.getContainmentLink(0x798100da4f0a421aL, 0xb99171f8c50ce5d2L, 0x115d3b22faf47d7bL, 0x5ee439f214c0c758L, "name")), Context.defaultContext(_context).getMacros(_context.getNode())); } public static Object propertyMacro_GetPropertyValue_6837653846148442043(final PropertyMacroContext _context) { return _context.getTemplateValue() + "." + _context.getNode().getNodeId().toString(); } public static Object propertyMacro_GetPropertyValue_5368511706901764962(final PropertyMacroContext _context) { return "${build.dir}/tmp/" + SPropertyOperations.getString(_context.getNode(), MetaAdapterFactory.getProperty(0xceab519525ea4f22L, 0x9b92103b95ca8c0cL, 0x110396eaaa4L, 0x110396ec041L, "name")); } public static Object propertyMacro_GetPropertyValue_5368511706901764926(final PropertyMacroContext _context) { return "${build.dir}/artifacts/" + SPropertyOperations.getString(_context.getNode(), MetaAdapterFactory.getProperty(0xceab519525ea4f22L, 0x9b92103b95ca8c0cL, 0x110396eaaa4L, 0x110396ec041L, "name")); } public static Object propertyMacro_GetPropertyValue_4129895186893528655(final PropertyMacroContext _context) { return "artifacts." + SPropertyOperations.getString(SLinkOperations.getTarget(_context.getNode(), MetaAdapterFactory.getReferenceLink(0x798100da4f0a421aL, 0xb99171f8c50ce5d2L, 0x454b730dd908c220L, 0x4df58c6f18f84a24L, "script")), MetaAdapterFactory.getProperty(0xceab519525ea4f22L, 0x9b92103b95ca8c0cL, 0x110396eaaa4L, 0x110396ec041L, "name")); } public static Object propertyMacro_GetPropertyValue_4129895186893528776(final PropertyMacroContext _context) { if ((SLinkOperations.getTarget(_context.getNode(), MetaAdapterFactory.getContainmentLink(0x798100da4f0a421aL, 0xb99171f8c50ce5d2L, 0x454b730dd908c220L, 0x395055ca96617d32L, "artifacts")) != null)) { return BuildSourcePath__BehaviorDescriptor.getAntPath_id7ro1ZztyOh5.invoke(SLinkOperations.getTarget(_context.getNode(), MetaAdapterFactory.getContainmentLink(0x798100da4f0a421aL, 0xb99171f8c50ce5d2L, 0x454b730dd908c220L, 0x395055ca96617d32L, "artifacts")), Context.defaultContext(_context)); } if (((String) _context.getVariable("var:basePath")) == null) { return "."; } SNode script = SLinkOperations.getTarget(_context.getNode(), MetaAdapterFactory.getReferenceLink(0x798100da4f0a421aL, 0xb99171f8c50ce5d2L, 0x454b730dd908c220L, 0x4df58c6f18f84a24L, "script")); String filePath = BuildProject__BehaviorDescriptor.getBasePath_id4jjtc7WZOyG.invoke(script, Context.defaultContext(_context)); if (filePath == null) { _context.showErrorMessage(script, "no base path for required script " + SPropertyOperations.getString(script, MetaAdapterFactory.getProperty(0xceab519525ea4f22L, 0x9b92103b95ca8c0cL, 0x110396eaaa4L, 0x110396ec041L, "name"))); return "."; } try { String relative = new RelativePathHelper(((String) _context.getVariable("var:basePath"))).makeRelative(filePath); if ((relative == null || relative.length() == 0)) { return "${build.dir}/artifacts/" + SPropertyOperations.getString(script, MetaAdapterFactory.getProperty(0xceab519525ea4f22L, 0x9b92103b95ca8c0cL, 0x110396eaaa4L, 0x110396ec041L, "name")); } if (!(relative.endsWith("/"))) { relative += "/"; } // XXX 'build' here traces back to import of common library, which // defines location macro build.dir = build. I don't like this sort of implicit knowledge. return relative + "build/artifacts/" + SPropertyOperations.getString(script, MetaAdapterFactory.getProperty(0xceab519525ea4f22L, 0x9b92103b95ca8c0cL, 0x110396eaaa4L, 0x110396ec041L, "name")); } catch (RelativePathHelper.PathException ex) { _context.showErrorMessage(_context.getNode(), "cannot calculate relative path: " + ex.getMessage()); return "."; } } public static Object propertyMacro_GetPropertyValue_7181125477683419235(final PropertyMacroContext _context) { return "artifacts." + SPropertyOperations.getString(SLinkOperations.getTarget(_context.getNode(), MetaAdapterFactory.getReferenceLink(0x798100da4f0a421aL, 0xb99171f8c50ce5d2L, 0x63a87b9320d3d0a4L, 0x63a87b9320d3d0a7L, "layout")), MetaAdapterFactory.getProperty(0xceab519525ea4f22L, 0x9b92103b95ca8c0cL, 0x110396eaaa4L, 0x110396ec041L, "name")); } public static Object propertyMacro_GetPropertyValue_7181125477683419247(final PropertyMacroContext _context) { return BuildSourcePath__BehaviorDescriptor.getAntPath_id7ro1ZztyOh5.invoke(SLinkOperations.getTarget(_context.getNode(), MetaAdapterFactory.getContainmentLink(0x798100da4f0a421aL, 0xb99171f8c50ce5d2L, 0x63a87b9320d3d0a4L, 0x63a87b9320d3d0a6L, "artifacts")), Context.defaultContext(_context)); } public static Object propertyMacro_GetPropertyValue_6520682027041002227(final PropertyMacroContext _context) { return "${artifacts." + SPropertyOperations.getString(SLinkOperations.getTarget(SNodeOperations.cast(_context.getNode(), MetaAdapterFactory.getConcept(0x798100da4f0a421aL, 0xb99171f8c50ce5d2L, 0x454b730dd908c220L, "jetbrains.mps.build.structure.BuildProjectDependency")), MetaAdapterFactory.getReferenceLink(0x798100da4f0a421aL, 0xb99171f8c50ce5d2L, 0x454b730dd908c220L, 0x4df58c6f18f84a24L, "script")), MetaAdapterFactory.getProperty(0xceab519525ea4f22L, 0x9b92103b95ca8c0cL, 0x110396eaaa4L, 0x110396ec041L, "name")) + "}/build.properties"; } public static Object propertyMacro_GetPropertyValue_6520682027041002310(final PropertyMacroContext _context) { return ((MacroHelper) _context.getVariable("var:macroHelper")).getPrefix(_context.getNode()); } public static Object propertyMacro_GetPropertyValue_6520682027040940551(final PropertyMacroContext _context) { return ((MacroHelper) _context.getVariable("var:macroHelper")).getName(_context.getNode()); } public static Object propertyMacro_GetPropertyValue_6520682027041001064(final PropertyMacroContext _context) { return "${" + ((MacroHelper) _context.getVariable("var:macroHelper")).getImportName(_context.getNode()) + "}"; } public static Object propertyMacro_GetPropertyValue_9126048691954996125(final PropertyMacroContext _context) { return (String) BuildLayout_Container__BehaviorDescriptor.getChildrenOutputDir_WithMacro_id450ejGzh8bb.invoke(SLinkOperations.getTarget(_context.getNode(), MetaAdapterFactory.getContainmentLink(0x798100da4f0a421aL, 0xb99171f8c50ce5d2L, 0x4df58c6f18f84a13L, 0x4df58c6f18f84a1cL, "layout")), Context.defaultContext(_context)); } public static Object propertyMacro_GetPropertyValue_9126048691954994112(final PropertyMacroContext _context) { return (String) BuildLayout_Container__BehaviorDescriptor.getPrepareSubTaskId_id450ejGzh8bD.invoke(SLinkOperations.getTarget(_context.getNode(), MetaAdapterFactory.getContainmentLink(0x798100da4f0a421aL, 0xb99171f8c50ce5d2L, 0x4df58c6f18f84a13L, 0x4df58c6f18f84a1cL, "layout"))); } public static Object propertyMacro_GetPropertyValue_5662391463398094397(final PropertyMacroContext _context) { return "${build.layout}/build.properties"; } public static Object propertyMacro_GetPropertyValue_5662391463398078669(final PropertyMacroContext _context) { return IterableUtils.join(Sequence.fromIterable(((Iterable<SNode>) ((MacroHelper) _context.getVariable("var:macroHelper")).getMacrosToExport())).select(new ISelector<SNode, String>() { public String select(SNode it) { return ((MacroHelper) _context.getVariable("var:macroHelper")).getExportName(it) + "=${" + ((MacroHelper) _context.getVariable("var:macroHelper")).getName(it) + "}"; } }), "${line.separator}"); } public static Object propertyMacro_GetPropertyValue_6520682027041196886(final PropertyMacroContext _context) { return SPropertyOperations.getString(_context.getNode(), MetaAdapterFactory.getProperty(0x798100da4f0a421aL, 0xb99171f8c50ce5d2L, 0x5830b38e16a0164cL, 0x5830b38e16a017bdL, "path")); } public static Object propertyMacro_GetPropertyValue_3595702787188242919(final PropertyMacroContext _context) { return SPropertyOperations.getString(_context.getNode(), MetaAdapterFactory.getProperty(0xceab519525ea4f22L, 0x9b92103b95ca8c0cL, 0x110396eaaa4L, 0x110396ec041L, "name")); } public static Object propertyMacro_GetPropertyValue_5096397858823409284(final PropertyMacroContext _context) { return "${build.tmp}"; } public static Object propertyMacro_GetPropertyValue_5178006408628664059(final PropertyMacroContext _context) { return (String) BuildProject__BehaviorDescriptor.getBasePathRelativeToScriptsPath_id4vrYmjR0nBP.invoke(_context.getNode(), Context.defaultContext(_context)); } public static Object propertyMacro_GetPropertyValue_1117643560963351184(final PropertyMacroContext _context) { return Context.defaultContext(_context).getTempPath(SLinkOperations.getTarget(_context.getNode(), MetaAdapterFactory.getReferenceLink(0x798100da4f0a421aL, 0xb99171f8c50ce5d2L, 0x23f6fd361bdcfd24L, 0x23f6fd361bdcfd26L, "module")), SPropertyOperations.getString(SLinkOperations.getTarget(_context.getNode(), MetaAdapterFactory.getReferenceLink(0x798100da4f0a421aL, 0xb99171f8c50ce5d2L, 0x23f6fd361bdcfd24L, 0x23f6fd361bdcfd26L, "module")), MetaAdapterFactory.getProperty(0xceab519525ea4f22L, 0x9b92103b95ca8c0cL, 0x110396eaaa4L, 0x110396ec041L, "name")), "java", "out"); } public static Object propertyMacro_GetPropertyValue_1330375798088592600(final PropertyMacroContext _context) { return (String) BuildLayout_CopyProcessor__BehaviorDescriptor.getTempFolder_id19QsrPvjYS$.invoke(SNodeOperations.cast(ListSequence.fromList(SLinkOperations.getChildren(_context.getNode(), MetaAdapterFactory.getContainmentLink(0x798100da4f0a421aL, 0xb99171f8c50ce5d2L, 0x7f76698a394d9ab2L, 0x7f76698a394e2d1eL, "handlers"))).last(), MetaAdapterFactory.getConcept(0x798100da4f0a421aL, 0xb99171f8c50ce5d2L, 0x127671bd5d12a2c2L, "jetbrains.mps.build.structure.BuildLayout_CopyProcessor")), _context); } public static Object propertyMacro_GetPropertyValue_1330375798099682997(final PropertyMacroContext _context) { return ((Tuples._4<String, String, String, String>) _context.getVariable("var:archive"))._1(); } public static Object propertyMacro_GetPropertyValue_1330375798099683030(final PropertyMacroContext _context) { return ((Tuples._4<String, String, String, String>) _context.getVariable("var:archive"))._3(); } public static Object propertyMacro_GetPropertyValue_1330375798099683052(final PropertyMacroContext _context) { return ((Tuples._4<String, String, String, String>) _context.getVariable("var:archive"))._2(); } public static Object propertyMacro_GetPropertyValue_1330375798099612902(final PropertyMacroContext _context) { return ((Tuples._4<String, String, String, String>) _context.getVariable("var:archive"))._0(); } public static Object propertyMacro_GetPropertyValue_5610619299013114890(final PropertyMacroContext _context) { return ((String) _context.getVariable("var:targetLocation")); } public static Object propertyMacro_GetPropertyValue_5610619299013114897(final PropertyMacroContext _context) { if (!((boolean) BuildLayout_Node__BehaviorDescriptor.isFile_id1bWeed$oPZ2.invoke(SLinkOperations.getTarget(_context.getNode(), MetaAdapterFactory.getReferenceLink(0x798100da4f0a421aL, 0xb99171f8c50ce5d2L, 0xbabdfbeee1350f2L, 0xbabdfbeee1350f4L, "target"))))) { _context.showErrorMessage(_context.getNode(), "cannot import abstract element, should be file or folder"); } return "file"; } public static Object propertyMacro_GetPropertyValue_6408167411310656493(final PropertyMacroContext _context) { return ((Tuples._4<String, String, String, String>) _context.getVariable("var:archive"))._1(); } public static Object propertyMacro_GetPropertyValue_7801138212747257296(final PropertyMacroContext _context) { return ((Tuples._4<String, String, String, String>) _context.getVariable("var:archive"))._3(); } public static Object propertyMacro_GetPropertyValue_7801138212747257318(final PropertyMacroContext _context) { return ((Tuples._4<String, String, String, String>) _context.getVariable("var:archive"))._2(); } public static Object propertyMacro_GetPropertyValue_6408167411310656514(final PropertyMacroContext _context) { return ((Tuples._4<String, String, String, String>) _context.getVariable("var:archive"))._0(); } public static Object propertyMacro_GetPropertyValue_5610619299013115002(final PropertyMacroContext _context) { return ((String) _context.getVariable("var:targetLocation")); } public static Object propertyMacro_GetPropertyValue_6408167411310656471(final PropertyMacroContext _context) { return ((Tuples._4<String, String, String, String>) _context.getVariable("var:archive"))._1(); } public static Object propertyMacro_GetPropertyValue_7801138212747257252(final PropertyMacroContext _context) { return ((Tuples._4<String, String, String, String>) _context.getVariable("var:archive"))._3(); } public static Object propertyMacro_GetPropertyValue_7801138212747257274(final PropertyMacroContext _context) { return ((Tuples._4<String, String, String, String>) _context.getVariable("var:archive"))._2(); } public static Object propertyMacro_GetPropertyValue_6408167411310656570(final PropertyMacroContext _context) { return ((Tuples._4<String, String, String, String>) _context.getVariable("var:archive"))._0(); } public static Object propertyMacro_GetPropertyValue_6408167411310621645(final PropertyMacroContext _context) { return (String) BuildSourcePath__BehaviorDescriptor.getAntPath_id7ro1ZztyOh5.invoke(SLinkOperations.getTarget(_context.getNode(), MetaAdapterFactory.getContainmentLink(0x798100da4f0a421aL, 0xb99171f8c50ce5d2L, 0x48d5d03db92245a4L, 0x48d5d03db92245a6L, "dir")), Context.defaultContext(_context)); } public static Object propertyMacro_GetPropertyValue_6408167411310656150(final PropertyMacroContext _context) { return ((Tuples._4<String, String, String, String>) _context.getVariable("var:archive"))._1(); } public static Object propertyMacro_GetPropertyValue_7801138212747257072(final PropertyMacroContext _context) { return ((Tuples._4<String, String, String, String>) _context.getVariable("var:archive"))._3(); } public static Object propertyMacro_GetPropertyValue_7801138212747257129(final PropertyMacroContext _context) { return ((Tuples._4<String, String, String, String>) _context.getVariable("var:archive"))._2(); } public static Object propertyMacro_GetPropertyValue_6408167411310655109(final PropertyMacroContext _context) { return ((Tuples._4<String, String, String, String>) _context.getVariable("var:archive"))._0(); } public static Object propertyMacro_GetPropertyValue_6408167411310621703(final PropertyMacroContext _context) { return (String) BuildSourcePath__BehaviorDescriptor.getAntPath_id7ro1ZztyOh5.invoke(SLinkOperations.getTarget(_context.getNode(), MetaAdapterFactory.getContainmentLink(0x798100da4f0a421aL, 0xb99171f8c50ce5d2L, 0x48d5d03db9224596L, 0x48d5d03db922459aL, "path")), Context.defaultContext(_context)); } public static Object propertyMacro_GetPropertyValue_6408167411310656275(final PropertyMacroContext _context) { return ((Tuples._3<String, String, String>) _context.getVariable("var:archive"))._1(); } public static Object propertyMacro_GetPropertyValue_7801138212747257208(final PropertyMacroContext _context) { return ((Tuples._3<String, String, String>) _context.getVariable("var:archive"))._2(); } public static Object propertyMacro_GetPropertyValue_6408167411310656264(final PropertyMacroContext _context) { return ((Tuples._3<String, String, String>) _context.getVariable("var:archive"))._0(); } public static Object propertyMacro_GetPropertyValue_4821808014881207505(final PropertyMacroContext _context) { SNode project = SNodeOperations.getNodeAncestor(_context.getNode(), MetaAdapterFactory.getConcept(0x798100da4f0a421aL, 0xb99171f8c50ce5d2L, 0x4df58c6f18f84a13L, "jetbrains.mps.build.structure.BuildProject"), false, false); if (project == null) { _context.showErrorMessage(_context.getNode(), "no context project defined"); return "???"; } DependenciesHelper helper = new DependenciesHelper(_context, project); SNode layoutNode = helper.getArtifact(((SNode) _context.getVariable("dependency"))); if (layoutNode == null) { _context.showErrorMessage(_context.getNode(), "java module dependency '" + SPropertyOperations.getString(((SNode) _context.getVariable("dependency")), MetaAdapterFactory.getProperty(0xceab519525ea4f22L, 0x9b92103b95ca8c0cL, 0x110396eaaa4L, 0x110396ec041L, "name")) + "' was not found in the layout"); return "???"; } // it's the only use of helper.getOriginalNode outside of j.m.build.util package, and is somewhat legal, // as we still expect artifactId to come from original model // (though do the translation ourselves in DH.getArtifact()) // Just don't want to deal with this code right now, need to return to artifactId concept anyway. String val = BuildLayout_PathElement__BehaviorDescriptor.location_id6b4RkXS8sT2.invoke(layoutNode, helper, helper.getOriginalNode(((SNode) _context.getVariable("dependency")))); if (val == null) { _context.showErrorMessage(_context.getNode(), "no location found for the java module dependency '" + SPropertyOperations.getString(((SNode) _context.getVariable("dependency")), MetaAdapterFactory.getProperty(0xceab519525ea4f22L, 0x9b92103b95ca8c0cL, 0x110396eaaa4L, 0x110396ec041L, "name")) + "'"); return "???"; } return val; } public static Object propertyMacro_GetPropertyValue_8169228734285529581(final PropertyMacroContext _context) { if (SNodeOperations.getContainingRoot(((SNode) _context.getVariable("jar"))) == SNodeOperations.getContainingRoot(_context.getNode())) { return BuildSourcePath__BehaviorDescriptor.getAntPath_id7ro1ZztyOh5.invoke(SLinkOperations.getTarget(((SNode) _context.getVariable("jar")), MetaAdapterFactory.getContainmentLink(0x798100da4f0a421aL, 0xb99171f8c50ce5d2L, 0x11779a1dbcff551aL, 0x3395e884b61c23e2L, "path")), Context.defaultContext(_context)); } SNode project = SNodeOperations.getNodeAncestor(_context.getNode(), MetaAdapterFactory.getConcept(0x798100da4f0a421aL, 0xb99171f8c50ce5d2L, 0x4df58c6f18f84a13L, "jetbrains.mps.build.structure.BuildProject"), false, false); if (project == null) { _context.showErrorMessage(_context.getNode(), "no context project defined"); return "???"; } DependenciesHelper helper = new DependenciesHelper(_context, project); SNode layoutNode = helper.getArtifact(SLinkOperations.getTarget(((SNode) _context.getVariable("jar")), MetaAdapterFactory.getContainmentLink(0x798100da4f0a421aL, 0xb99171f8c50ce5d2L, 0x11779a1dbcff551aL, 0x3395e884b61c23e2L, "path"))); if (layoutNode == null) { _context.showErrorMessage(_context.getNode(), "file " + BuildSourcePath__BehaviorDescriptor.getRelativePath_id4Kip2_918YF.invoke(SLinkOperations.getTarget(((SNode) _context.getVariable("jar")), MetaAdapterFactory.getContainmentLink(0x798100da4f0a421aL, 0xb99171f8c50ce5d2L, 0x11779a1dbcff551aL, 0x3395e884b61c23e2L, "path"))) + " was not found in the layout"); return "???"; } String val = helper.getLocation(layoutNode); if (val == null) { _context.showErrorMessage(_context.getNode(), "no location for jar " + BuildSourcePath__BehaviorDescriptor.getRelativePath_id4Kip2_918YF.invoke(SLinkOperations.getTarget(((SNode) _context.getVariable("jar")), MetaAdapterFactory.getContainmentLink(0x798100da4f0a421aL, 0xb99171f8c50ce5d2L, 0x11779a1dbcff551aL, 0x3395e884b61c23e2L, "path")))); return "???"; } return val; } public static Object propertyMacro_GetPropertyValue_6859736767834590113(final PropertyMacroContext _context) { // XXX in fact, targetFile is not necessarily BuildSource_SingleFile. It could be // BuildLayout_Copy at generation time due to syntax sugar(?) processing in aliases MC. SNode targetFile = ((SNode) _context.getVariable("jar")); SNode project = SNodeOperations.getNodeAncestor(_context.getNode(), MetaAdapterFactory.getConcept(0x798100da4f0a421aL, 0xb99171f8c50ce5d2L, 0x4df58c6f18f84a13L, "jetbrains.mps.build.structure.BuildProject"), false, false); if (project == null) { _context.showErrorMessage(_context.getNode(), "no context project defined"); return "???"; } DependenciesHelper helper = new DependenciesHelper(_context, project); SNode layoutNode; if (SNodeOperations.isInstanceOf(targetFile, MetaAdapterFactory.getConcept(0x798100da4f0a421aL, 0xb99171f8c50ce5d2L, 0x668c6cfbafac4c85L, "jetbrains.mps.build.structure.BuildLayout_Node"))) { layoutNode = SNodeOperations.as(targetFile, MetaAdapterFactory.getConcept(0x798100da4f0a421aL, 0xb99171f8c50ce5d2L, 0x668c6cfbafac4c85L, "jetbrains.mps.build.structure.BuildLayout_Node")); } else { SNode sfile = SNodeOperations.as(targetFile, MetaAdapterFactory.getConcept(0x798100da4f0a421aL, 0xb99171f8c50ce5d2L, 0x48d5d03db9224596L, "jetbrains.mps.build.structure.BuildInputSingleFile")); layoutNode = helper.getArtifact((sfile != null ? SLinkOperations.getTarget(sfile, MetaAdapterFactory.getContainmentLink(0x798100da4f0a421aL, 0xb99171f8c50ce5d2L, 0x48d5d03db9224596L, 0x48d5d03db922459aL, "path")) : targetFile)); if (layoutNode == null) { _context.showErrorMessage(_context.getNode(), "file " + BuildSource_SingleFile__BehaviorDescriptor.getApproximateName_id4RsV8qJDnFm.invoke(targetFile) + " was not found in the layout"); return "???"; } } String val = helper.getLocation(layoutNode); if (val == null) { _context.showErrorMessage(_context.getNode(), "no location for jar " + BuildSource_SingleFile__BehaviorDescriptor.getApproximateName_id4RsV8qJDnFm.invoke(targetFile)); return "???"; } return val; } public static Object propertyMacro_GetPropertyValue_5610619299014531951(final PropertyMacroContext _context) { SNode targetFolder = ((SNode) _context.getVariable("jarFolder")); SNode project = SNodeOperations.getNodeAncestor(_context.getNode(), MetaAdapterFactory.getConcept(0x798100da4f0a421aL, 0xb99171f8c50ce5d2L, 0x4df58c6f18f84a13L, "jetbrains.mps.build.structure.BuildProject"), false, false); if (project == null) { _context.showErrorMessage(_context.getNode(), "no context project defined"); return "???"; } DependenciesHelper helper = new DependenciesHelper(_context, project); SNode layoutNode; if (SNodeOperations.isInstanceOf(targetFolder, MetaAdapterFactory.getConcept(0x798100da4f0a421aL, 0xb99171f8c50ce5d2L, 0x668c6cfbafabcf0cL, "jetbrains.mps.build.structure.BuildLayout_AbstractContainer"))) { layoutNode = SNodeOperations.as(targetFolder, MetaAdapterFactory.getConcept(0x798100da4f0a421aL, 0xb99171f8c50ce5d2L, 0x668c6cfbafabcf0cL, "jetbrains.mps.build.structure.BuildLayout_AbstractContainer")); } else { SNode sfolder = SNodeOperations.as(targetFolder, MetaAdapterFactory.getConcept(0x798100da4f0a421aL, 0xb99171f8c50ce5d2L, 0x1ff930b22643b0ffL, "jetbrains.mps.build.structure.BuildInputSingleFolder")); layoutNode = helper.getArtifact((sfolder != null ? SLinkOperations.getTarget(sfolder, MetaAdapterFactory.getContainmentLink(0x798100da4f0a421aL, 0xb99171f8c50ce5d2L, 0x1ff930b22643b0ffL, 0x1ff930b22643b100L, "path")) : targetFolder)); if (layoutNode == null) { _context.showErrorMessage(_context.getNode(), "folder " + BuildSource_SingleFolder__BehaviorDescriptor.getApproximateName_id4RsV8qJH_Br.invoke(targetFolder) + " was not found in the layout"); return "???"; } } String val = helper.getContentLocation(layoutNode); if (val == null) { _context.showErrorMessage(_context.getNode(), "no content location for " + BuildSource_SingleFolder__BehaviorDescriptor.getApproximateName_id4RsV8qJH_Br.invoke(targetFolder)); return "???"; } return val; } public static Object propertyMacro_GetPropertyValue_1556400259614055522(final PropertyMacroContext _context) { SNode project = SNodeOperations.getNodeAncestor(_context.getNode(), MetaAdapterFactory.getConcept(0x798100da4f0a421aL, 0xb99171f8c50ce5d2L, 0x4df58c6f18f84a13L, "jetbrains.mps.build.structure.BuildProject"), false, false); if (project == null) { _context.showErrorMessage(_context.getNode(), "no context project defined"); return ""; } DependenciesHelper helper = new DependenciesHelper(_context, project); String val = helper.getLocation(SLinkOperations.getTarget(_context.getNode(), MetaAdapterFactory.getReferenceLink(0x798100da4f0a421aL, 0xb99171f8c50ce5d2L, 0xbabdfbeee1350f2L, 0xbabdfbeee1350f4L, "target"))); if (val == null) { _context.showErrorMessage(_context.getNode(), "no location for " + BaseConcept__BehaviorDescriptor.getPresentation_idhEwIMiw.invoke(SLinkOperations.getTarget(_context.getNode(), MetaAdapterFactory.getReferenceLink(0x798100da4f0a421aL, 0xb99171f8c50ce5d2L, 0xbabdfbeee1350f2L, 0xbabdfbeee1350f4L, "target")))); return ""; } int lastSlash = val.lastIndexOf('/'); if (lastSlash == -1) { _context.showErrorMessage(_context.getNode(), "no slash in imported folder name `" + val + "'"); return ""; } return val.substring(lastSlash + 1); } public static Object propertyMacro_GetPropertyValue_2750015747481191462(final PropertyMacroContext _context) { return SPropertyOperations.getString(_context.getNode(), MetaAdapterFactory.getProperty(0x798100da4f0a421aL, 0xb99171f8c50ce5d2L, 0x7ea63ceef6e8c0edL, 0x7ea63ceef6e8c32bL, "filemode")); } public static Object propertyMacro_GetPropertyValue_342830306171239730(final PropertyMacroContext _context) { SNode targetFolder = ((SNode) _context.getVariable("folder")); SNode project = SNodeOperations.getNodeAncestor(_context.getNode(), MetaAdapterFactory.getConcept(0x798100da4f0a421aL, 0xb99171f8c50ce5d2L, 0x4df58c6f18f84a13L, "jetbrains.mps.build.structure.BuildProject"), false, false); if (project == null) { _context.showErrorMessage(_context.getNode(), "no context project defined"); return "???"; } DependenciesHelper helper = new DependenciesHelper(_context, project); SNode layoutNode; if (SNodeOperations.isInstanceOf(targetFolder, MetaAdapterFactory.getConcept(0x798100da4f0a421aL, 0xb99171f8c50ce5d2L, 0x668c6cfbafabcf0cL, "jetbrains.mps.build.structure.BuildLayout_AbstractContainer"))) { layoutNode = SNodeOperations.as(targetFolder, MetaAdapterFactory.getConcept(0x798100da4f0a421aL, 0xb99171f8c50ce5d2L, 0x668c6cfbafabcf0cL, "jetbrains.mps.build.structure.BuildLayout_AbstractContainer")); } else { SNode sfolder = SNodeOperations.as(targetFolder, MetaAdapterFactory.getConcept(0x798100da4f0a421aL, 0xb99171f8c50ce5d2L, 0x1ff930b22643b0ffL, "jetbrains.mps.build.structure.BuildInputSingleFolder")); layoutNode = helper.getArtifact((sfolder != null ? SLinkOperations.getTarget(sfolder, MetaAdapterFactory.getContainmentLink(0x798100da4f0a421aL, 0xb99171f8c50ce5d2L, 0x1ff930b22643b0ffL, 0x1ff930b22643b100L, "path")) : targetFolder)); if (layoutNode == null) { _context.showErrorMessage(_context.getNode(), "folder " + BuildSource_SingleFolder__BehaviorDescriptor.getApproximateName_id4RsV8qJH_Br.invoke(targetFolder) + " was not found in the layout"); return "???"; } } String val = helper.getContentLocation(layoutNode); if (val == null) { _context.showErrorMessage(_context.getNode(), "no content location for " + BuildSource_SingleFolder__BehaviorDescriptor.getApproximateName_id4RsV8qJH_Br.invoke(targetFolder)); return "???"; } return val + "/" + ((String) _context.getVariable("suffix")); } public static Object propertyMacro_GetPropertyValue_6083230236994856263(final PropertyMacroContext _context) { return _context.createUniqueName(_context.getTemplateValue(), null); } public static Object propertyMacro_GetPropertyValue_6083230236994856535(final PropertyMacroContext _context) { return _context.createUniqueName(_context.getTemplateValue(), null); } public static Object referenceMacro_GetReferent_1117643560963363815(final ReferenceMacroContext _context) { return (String) BuildLayout_Container__BehaviorDescriptor.getPrepareSubTaskId_id450ejGzh8bD.invoke(SNodeOperations.cast(SNodeOperations.getParent(_context.getNode()), MetaAdapterFactory.getInterfaceConcept(0x798100da4f0a421aL, 0xb99171f8c50ce5d2L, 0x4140393b234482c3L, "jetbrains.mps.build.structure.BuildLayout_Container"))); } public static Object referenceMacro_GetReferent_1117643560963363967(final ReferenceMacroContext _context) { return (String) BuildLayout_Container__BehaviorDescriptor.getAssembleSubTaskId_id450ejGzh8bO.invoke(SNodeOperations.cast(SNodeOperations.getParent(_context.getNode()), MetaAdapterFactory.getInterfaceConcept(0x798100da4f0a421aL, 0xb99171f8c50ce5d2L, 0x4140393b234482c3L, "jetbrains.mps.build.structure.BuildLayout_Container"))); } public static Object referenceMacro_GetReferent_1117643560963360514(final ReferenceMacroContext _context) { return (String) BuildLayout_Container__BehaviorDescriptor.getPrepareSubTaskId_id450ejGzh8bD.invoke(SNodeOperations.cast(SNodeOperations.getParent(_context.getNode()), MetaAdapterFactory.getInterfaceConcept(0x798100da4f0a421aL, 0xb99171f8c50ce5d2L, 0x4140393b234482c3L, "jetbrains.mps.build.structure.BuildLayout_Container"))); } public static Object referenceMacro_GetReferent_1117643560963363928(final ReferenceMacroContext _context) { return (String) BuildLayout_Container__BehaviorDescriptor.getAssembleSubTaskId_id450ejGzh8bO.invoke(SNodeOperations.cast(SNodeOperations.getParent(_context.getNode()), MetaAdapterFactory.getInterfaceConcept(0x798100da4f0a421aL, 0xb99171f8c50ce5d2L, 0x4140393b234482c3L, "jetbrains.mps.build.structure.BuildLayout_Container"))); } public static Object referenceMacro_GetReferent_1117643560963363847(final ReferenceMacroContext _context) { return (String) BuildLayout_Container__BehaviorDescriptor.getPrepareSubTaskId_id450ejGzh8bD.invoke(SNodeOperations.cast(SNodeOperations.getParent(_context.getNode()), MetaAdapterFactory.getInterfaceConcept(0x798100da4f0a421aL, 0xb99171f8c50ce5d2L, 0x4140393b234482c3L, "jetbrains.mps.build.structure.BuildLayout_Container"))); } public static Object referenceMacro_GetReferent_1117643560963363898(final ReferenceMacroContext _context) { return (String) BuildLayout_Container__BehaviorDescriptor.getAssembleSubTaskId_id450ejGzh8bO.invoke(SNodeOperations.cast(SNodeOperations.getParent(_context.getNode()), MetaAdapterFactory.getInterfaceConcept(0x798100da4f0a421aL, 0xb99171f8c50ce5d2L, 0x4140393b234482c3L, "jetbrains.mps.build.structure.BuildLayout_Container"))); } public static Object referenceMacro_GetReferent_8577651205286952528(final ReferenceMacroContext _context) { return (String) BuildLayout_Container__BehaviorDescriptor.getPrepareSubTaskId_id450ejGzh8bD.invoke(SNodeOperations.cast(SNodeOperations.getParent(_context.getNode()), MetaAdapterFactory.getInterfaceConcept(0x798100da4f0a421aL, 0xb99171f8c50ce5d2L, 0x4140393b234482c3L, "jetbrains.mps.build.structure.BuildLayout_Container"))); } public static Object referenceMacro_GetReferent_8577651205286952635(final ReferenceMacroContext _context) { return (String) BuildLayout_Container__BehaviorDescriptor.getAssembleSubTaskId_id450ejGzh8bO.invoke(SNodeOperations.cast(SNodeOperations.getParent(_context.getNode()), MetaAdapterFactory.getInterfaceConcept(0x798100da4f0a421aL, 0xb99171f8c50ce5d2L, 0x4140393b234482c3L, "jetbrains.mps.build.structure.BuildLayout_Container"))); } public static Object referenceMacro_GetReferent_7801138212747392057(final ReferenceMacroContext _context) { return (String) BuildLayout_Container__BehaviorDescriptor.getPrepareSubTaskId_id450ejGzh8bD.invoke(SNodeOperations.cast(SNodeOperations.getParent(_context.getNode()), MetaAdapterFactory.getInterfaceConcept(0x798100da4f0a421aL, 0xb99171f8c50ce5d2L, 0x4140393b234482c3L, "jetbrains.mps.build.structure.BuildLayout_Container"))); } public static Object referenceMacro_GetReferent_7801138212747392071(final ReferenceMacroContext _context) { return (String) BuildLayout_Container__BehaviorDescriptor.getAssembleSubTaskId_id450ejGzh8bO.invoke(SNodeOperations.cast(SNodeOperations.getParent(_context.getNode()), MetaAdapterFactory.getInterfaceConcept(0x798100da4f0a421aL, 0xb99171f8c50ce5d2L, 0x4140393b234482c3L, "jetbrains.mps.build.structure.BuildLayout_Container"))); } public static Object referenceMacro_GetReferent_2913098736709502314(final ReferenceMacroContext _context) { return (String) BuildLayout_Container__BehaviorDescriptor.getPrepareSubTaskId_id450ejGzh8bD.invoke(SNodeOperations.cast(SNodeOperations.getParent(_context.getNode()), MetaAdapterFactory.getInterfaceConcept(0x798100da4f0a421aL, 0xb99171f8c50ce5d2L, 0x4140393b234482c3L, "jetbrains.mps.build.structure.BuildLayout_Container"))); } public static Object referenceMacro_GetReferent_2913098736709502421(final ReferenceMacroContext _context) { return (String) BuildLayout_Container__BehaviorDescriptor.getAssembleSubTaskId_id450ejGzh8bO.invoke(SNodeOperations.cast(SNodeOperations.getParent(_context.getNode()), MetaAdapterFactory.getInterfaceConcept(0x798100da4f0a421aL, 0xb99171f8c50ce5d2L, 0x4140393b234482c3L, "jetbrains.mps.build.structure.BuildLayout_Container"))); } public static Object referenceMacro_GetReferent_5248329904288129346(final ReferenceMacroContext _context) { return (String) BuildLayout_Container__BehaviorDescriptor.getPrepareSubTaskId_id450ejGzh8bD.invoke(SNodeOperations.cast(SNodeOperations.getParent(_context.getNode()), MetaAdapterFactory.getInterfaceConcept(0x798100da4f0a421aL, 0xb99171f8c50ce5d2L, 0x4140393b234482c3L, "jetbrains.mps.build.structure.BuildLayout_Container"))); } public static Object referenceMacro_GetReferent_5248329904288129316(final ReferenceMacroContext _context) { return (String) BuildLayout_Container__BehaviorDescriptor.getAssembleSubTaskId_id450ejGzh8bO.invoke(SNodeOperations.cast(SNodeOperations.getParent(_context.getNode()), MetaAdapterFactory.getInterfaceConcept(0x798100da4f0a421aL, 0xb99171f8c50ce5d2L, 0x4140393b234482c3L, "jetbrains.mps.build.structure.BuildLayout_Container"))); } public static Object referenceMacro_GetReferent_9184644532456968241(final ReferenceMacroContext _context) { return (String) BuildLayout_Container__BehaviorDescriptor.getPrepareSubTaskId_id450ejGzh8bD.invoke(SNodeOperations.cast(SNodeOperations.getParent(_context.getNode()), MetaAdapterFactory.getInterfaceConcept(0x798100da4f0a421aL, 0xb99171f8c50ce5d2L, 0x4140393b234482c3L, "jetbrains.mps.build.structure.BuildLayout_Container"))); } public static Object referenceMacro_GetReferent_9184644532456968271(final ReferenceMacroContext _context) { return (String) BuildLayout_Container__BehaviorDescriptor.getAssembleSubTaskId_id450ejGzh8bO.invoke(SNodeOperations.cast(SNodeOperations.getParent(_context.getNode()), MetaAdapterFactory.getInterfaceConcept(0x798100da4f0a421aL, 0xb99171f8c50ce5d2L, 0x4140393b234482c3L, "jetbrains.mps.build.structure.BuildLayout_Container"))); } public static Object referenceMacro_GetReferent_4643216374596142975(final ReferenceMacroContext _context) { return (String) BuildLayout_Container__BehaviorDescriptor.getPrepareSubTaskId_id450ejGzh8bD.invoke(SNodeOperations.cast(SNodeOperations.getParent(_context.getNode()), MetaAdapterFactory.getInterfaceConcept(0x798100da4f0a421aL, 0xb99171f8c50ce5d2L, 0x4140393b234482c3L, "jetbrains.mps.build.structure.BuildLayout_Container"))); } public static Object referenceMacro_GetReferent_4643216374596143005(final ReferenceMacroContext _context) { return (String) BuildLayout_Container__BehaviorDescriptor.getAssembleSubTaskId_id450ejGzh8bO.invoke(SNodeOperations.cast(SNodeOperations.getParent(_context.getNode()), MetaAdapterFactory.getInterfaceConcept(0x798100da4f0a421aL, 0xb99171f8c50ce5d2L, 0x4140393b234482c3L, "jetbrains.mps.build.structure.BuildLayout_Container"))); } public static Object referenceMacro_GetReferent_202934866059116793(final ReferenceMacroContext _context) { return (String) BuildLayout_Container__BehaviorDescriptor.getPrepareSubTaskId_id450ejGzh8bD.invoke(SNodeOperations.cast(SNodeOperations.getParent(_context.getNode()), MetaAdapterFactory.getInterfaceConcept(0x798100da4f0a421aL, 0xb99171f8c50ce5d2L, 0x4140393b234482c3L, "jetbrains.mps.build.structure.BuildLayout_Container"))); } public static Object referenceMacro_GetReferent_202934866059116823(final ReferenceMacroContext _context) { return (String) BuildLayout_Container__BehaviorDescriptor.getAssembleSubTaskId_id450ejGzh8bO.invoke(SNodeOperations.cast(SNodeOperations.getParent(_context.getNode()), MetaAdapterFactory.getInterfaceConcept(0x798100da4f0a421aL, 0xb99171f8c50ce5d2L, 0x4140393b234482c3L, "jetbrains.mps.build.structure.BuildLayout_Container"))); } public static Object referenceMacro_GetReferent_4701820937132270603(final ReferenceMacroContext _context) { return (String) BuildLayout_Container__BehaviorDescriptor.getPrepareSubTaskId_id450ejGzh8bD.invoke(SNodeOperations.cast(SNodeOperations.getParent(_context.getNode()), MetaAdapterFactory.getInterfaceConcept(0x798100da4f0a421aL, 0xb99171f8c50ce5d2L, 0x4140393b234482c3L, "jetbrains.mps.build.structure.BuildLayout_Container"))); } public static Object referenceMacro_GetReferent_4701820937132270633(final ReferenceMacroContext _context) { return (String) BuildLayout_Container__BehaviorDescriptor.getAssembleSubTaskId_id450ejGzh8bO.invoke(SNodeOperations.cast(SNodeOperations.getParent(_context.getNode()), MetaAdapterFactory.getInterfaceConcept(0x798100da4f0a421aL, 0xb99171f8c50ce5d2L, 0x4140393b234482c3L, "jetbrains.mps.build.structure.BuildLayout_Container"))); } public static Object referenceMacro_GetReferent_5610619299013114811(final ReferenceMacroContext _context) { return (String) BuildLayout_Container__BehaviorDescriptor.getPrepareSubTaskId_id450ejGzh8bD.invoke(SNodeOperations.cast(SNodeOperations.getParent(_context.getNode()), MetaAdapterFactory.getInterfaceConcept(0x798100da4f0a421aL, 0xb99171f8c50ce5d2L, 0x4140393b234482c3L, "jetbrains.mps.build.structure.BuildLayout_Container"))); } public static Object referenceMacro_GetReferent_5610619299013114841(final ReferenceMacroContext _context) { return (String) BuildLayout_Container__BehaviorDescriptor.getAssembleSubTaskId_id450ejGzh8bO.invoke(SNodeOperations.cast(SNodeOperations.getParent(_context.getNode()), MetaAdapterFactory.getInterfaceConcept(0x798100da4f0a421aL, 0xb99171f8c50ce5d2L, 0x4140393b234482c3L, "jetbrains.mps.build.structure.BuildLayout_Container"))); } public static Object referenceMacro_GetReferent_6837653846148442003(final ReferenceMacroContext _context) { return (String) BuildLayout_Container__BehaviorDescriptor.getPrepareSubTaskId_id450ejGzh8bD.invoke(SNodeOperations.cast(SNodeOperations.getParent(_context.getNode()), MetaAdapterFactory.getInterfaceConcept(0x798100da4f0a421aL, 0xb99171f8c50ce5d2L, 0x4140393b234482c3L, "jetbrains.mps.build.structure.BuildLayout_Container"))); } public static Object referenceMacro_GetReferent_6837653846148442033(final ReferenceMacroContext _context) { return (String) BuildLayout_Container__BehaviorDescriptor.getAssembleSubTaskId_id450ejGzh8bO.invoke(SNodeOperations.cast(SNodeOperations.getParent(_context.getNode()), MetaAdapterFactory.getInterfaceConcept(0x798100da4f0a421aL, 0xb99171f8c50ce5d2L, 0x4140393b234482c3L, "jetbrains.mps.build.structure.BuildLayout_Container"))); } public static Object referenceMacro_GetReferent_6854204111265839188(final ReferenceMacroContext _context) { return SLinkOperations.getTarget(_context.getNode(), MetaAdapterFactory.getReferenceLink(0x798100da4f0a421aL, 0xb99171f8c50ce5d2L, 0x5f1f0652f6049405L, 0x5f1f0652f6049406L, "for")); } public static Object referenceMacro_GetReferent_144710003695561045(final ReferenceMacroContext _context) { return _context.getOutputNodeByInputNodeAndMappingLabel(((SNode) _context.getVariable("library")), "javalibrary"); } public static Object referenceMacro_GetReferent_4821808014881207365(final ReferenceMacroContext _context) { return _context.getOutputNodeByInputNodeAndMappingLabel(((SNode) _context.getVariable("dependency")), "javamodule"); } public static Object referenceMacro_GetReferent_8847838005406041707(final ReferenceMacroContext _context) { return SNodeOperations.cast(SLinkOperations.getTarget(_context.getNode(), MetaAdapterFactory.getReferenceLink(0x798100da4f0a421aL, 0xb99171f8c50ce5d2L, 0xbabdfbeee1350f2L, 0xbabdfbeee1350f4L, "target")), MetaAdapterFactory.getInterfaceConcept(0x798100da4f0a421aL, 0xb99171f8c50ce5d2L, 0x4140393b234482c3L, "jetbrains.mps.build.structure.BuildLayout_Container")); } public static Object referenceMacro_GetReferent_6083230236994919155(final ReferenceMacroContext _context) { return _context.getOutputNodeByInputNodeAndMappingLabel(_context.getNode(), "buildSourceArchiveRelativePath"); } public static boolean ifMacro_Condition_6408167411310933885(final IfMacroContext _context) { SNode parent = SNodeOperations.getParent(_context.getNode()); while (SNodeOperations.isInstanceOf(parent, MetaAdapterFactory.getConcept(0x798100da4f0a421aL, 0xb99171f8c50ce5d2L, 0x668c6cfbafac4c78L, "jetbrains.mps.build.structure.BuildLayout_Folder")) || SNodeOperations.isInstanceOf(parent, MetaAdapterFactory.getConcept(0x798100da4f0a421aL, 0xb99171f8c50ce5d2L, 0x6c4335df4e838e40L, "jetbrains.mps.build.structure.BuildLayout_Filemode"))) { parent = SNodeOperations.getParent(parent); } if (SNodeOperations.isInstanceOf(parent, MetaAdapterFactory.getInterfaceConcept(0x798100da4f0a421aL, 0xb99171f8c50ce5d2L, 0x48d5d03db927f229L, "jetbrains.mps.build.structure.BuildLayout_ContainerAcceptingFileSet")) && (boolean) BuildLayout_ContainerAcceptingFileSet__BehaviorDescriptor.hasPrefixAttribute_id5zIo$W4pFU0.invoke(SNodeOperations.cast(parent, MetaAdapterFactory.getInterfaceConcept(0x798100da4f0a421aL, 0xb99171f8c50ce5d2L, 0x48d5d03db927f229L, "jetbrains.mps.build.structure.BuildLayout_ContainerAcceptingFileSet")))) { return FileSetUtil.hasExplicitFilesets(_context.getNode()); } return true; } public static boolean ifMacro_Condition_1117643560963363812(final IfMacroContext _context) { return SNodeOperations.isInstanceOf(SNodeOperations.getParent(_context.getNode()), MetaAdapterFactory.getInterfaceConcept(0x798100da4f0a421aL, 0xb99171f8c50ce5d2L, 0x4140393b234482c3L, "jetbrains.mps.build.structure.BuildLayout_Container")) && BuildLayout_Container__BehaviorDescriptor.getPrepareSubTaskId_id450ejGzh8bD.invoke(SNodeOperations.cast(SNodeOperations.getParent(_context.getNode()), MetaAdapterFactory.getInterfaceConcept(0x798100da4f0a421aL, 0xb99171f8c50ce5d2L, 0x4140393b234482c3L, "jetbrains.mps.build.structure.BuildLayout_Container"))) != null; } public static boolean ifMacro_Condition_1117643560963363971(final IfMacroContext _context) { return SNodeOperations.isInstanceOf(SNodeOperations.getParent(_context.getNode()), MetaAdapterFactory.getInterfaceConcept(0x798100da4f0a421aL, 0xb99171f8c50ce5d2L, 0x4140393b234482c3L, "jetbrains.mps.build.structure.BuildLayout_Container")) && BuildLayout_Container__BehaviorDescriptor.getAssembleSubTaskId_id450ejGzh8bO.invoke(SNodeOperations.cast(SNodeOperations.getParent(_context.getNode()), MetaAdapterFactory.getInterfaceConcept(0x798100da4f0a421aL, 0xb99171f8c50ce5d2L, 0x4140393b234482c3L, "jetbrains.mps.build.structure.BuildLayout_Container"))) != null; } public static boolean ifMacro_Condition_1117643560963369195(final IfMacroContext _context) { return FileSetUtil.hasExplicitFilesets(_context.getNode()); } public static boolean ifMacro_Condition_1117643560963359504(final IfMacroContext _context) { return SNodeOperations.isInstanceOf(SNodeOperations.getParent(_context.getNode()), MetaAdapterFactory.getInterfaceConcept(0x798100da4f0a421aL, 0xb99171f8c50ce5d2L, 0x4140393b234482c3L, "jetbrains.mps.build.structure.BuildLayout_Container")) && BuildLayout_Container__BehaviorDescriptor.getPrepareSubTaskId_id450ejGzh8bD.invoke(SNodeOperations.cast(SNodeOperations.getParent(_context.getNode()), MetaAdapterFactory.getInterfaceConcept(0x798100da4f0a421aL, 0xb99171f8c50ce5d2L, 0x4140393b234482c3L, "jetbrains.mps.build.structure.BuildLayout_Container"))) != null; } public static boolean ifMacro_Condition_6837653846148504892(final IfMacroContext _context) { return Sequence.fromIterable(SNodeOperations.ofConcept(SLinkOperations.getChildren(_context.getNode(), MetaAdapterFactory.getContainmentLink(0x798100da4f0a421aL, 0xb99171f8c50ce5d2L, 0x4140393b234482c3L, 0x668c6cfbafac4c8eL, "children")), MetaAdapterFactory.getConcept(0x798100da4f0a421aL, 0xb99171f8c50ce5d2L, 0x115d3b22faf20f2eL, "jetbrains.mps.build.structure.BuildLayout_JarManifest"))).isNotEmpty(); } public static boolean ifMacro_Condition_7801138212747394539(final IfMacroContext _context) { return isNotEmptyString(SPropertyOperations.getString(_context.getNode(), MetaAdapterFactory.getProperty(0x798100da4f0a421aL, 0xb99171f8c50ce5d2L, 0x6c4335df4e838e40L, 0x6c4335df4e838e44L, "filemode"))); } public static boolean ifMacro_Condition_7801138212747394681(final IfMacroContext _context) { return isNotEmptyString(SPropertyOperations.getString(_context.getNode(), MetaAdapterFactory.getProperty(0x798100da4f0a421aL, 0xb99171f8c50ce5d2L, 0x6c4335df4e838e40L, 0x6c4335df4e838e45L, "dirmode"))); } public static boolean ifMacro_Condition_7801138212747420804(final IfMacroContext _context) { return isNotEmptyString(((String) _context.getVariable("var:prefix"))); } public static boolean ifMacro_Condition_1117643560963351259(final IfMacroContext _context) { return FileSetUtil.hasExplicitFilesets(_context.getNode()); } public static boolean ifMacro_Condition_1117643560963363924(final IfMacroContext _context) { return SNodeOperations.isInstanceOf(SNodeOperations.getParent(_context.getNode()), MetaAdapterFactory.getInterfaceConcept(0x798100da4f0a421aL, 0xb99171f8c50ce5d2L, 0x4140393b234482c3L, "jetbrains.mps.build.structure.BuildLayout_Container")) && BuildLayout_Container__BehaviorDescriptor.getAssembleSubTaskId_id450ejGzh8bO.invoke(SNodeOperations.cast(SNodeOperations.getParent(_context.getNode()), MetaAdapterFactory.getInterfaceConcept(0x798100da4f0a421aL, 0xb99171f8c50ce5d2L, 0x4140393b234482c3L, "jetbrains.mps.build.structure.BuildLayout_Container"))) != null; } public static boolean ifMacro_Condition_1117643560963369175(final IfMacroContext _context) { return FileSetUtil.hasExplicitFilesets(_context.getNode()); } public static boolean ifMacro_Condition_1117643560963363844(final IfMacroContext _context) { return SNodeOperations.isInstanceOf(SNodeOperations.getParent(_context.getNode()), MetaAdapterFactory.getInterfaceConcept(0x798100da4f0a421aL, 0xb99171f8c50ce5d2L, 0x4140393b234482c3L, "jetbrains.mps.build.structure.BuildLayout_Container")) && BuildLayout_Container__BehaviorDescriptor.getPrepareSubTaskId_id450ejGzh8bD.invoke(SNodeOperations.cast(SNodeOperations.getParent(_context.getNode()), MetaAdapterFactory.getInterfaceConcept(0x798100da4f0a421aL, 0xb99171f8c50ce5d2L, 0x4140393b234482c3L, "jetbrains.mps.build.structure.BuildLayout_Container"))) != null; } public static boolean ifMacro_Condition_7801138212747394835(final IfMacroContext _context) { return isNotEmptyString(SPropertyOperations.getString(_context.getNode(), MetaAdapterFactory.getProperty(0x798100da4f0a421aL, 0xb99171f8c50ce5d2L, 0x6c4335df4e838e40L, 0x6c4335df4e838e44L, "filemode"))); } public static boolean ifMacro_Condition_7801138212747394853(final IfMacroContext _context) { return isNotEmptyString(SPropertyOperations.getString(_context.getNode(), MetaAdapterFactory.getProperty(0x798100da4f0a421aL, 0xb99171f8c50ce5d2L, 0x6c4335df4e838e40L, 0x6c4335df4e838e45L, "dirmode"))); } public static boolean ifMacro_Condition_7801138212747420762(final IfMacroContext _context) { return isNotEmptyString(((String) _context.getVariable("var:prefix"))); } public static boolean ifMacro_Condition_1117643560963358578(final IfMacroContext _context) { return FileSetUtil.hasExplicitFilesets(_context.getNode()); } public static boolean ifMacro_Condition_1117643560963363876(final IfMacroContext _context) { return SNodeOperations.isInstanceOf(SNodeOperations.getParent(_context.getNode()), MetaAdapterFactory.getInterfaceConcept(0x798100da4f0a421aL, 0xb99171f8c50ce5d2L, 0x4140393b234482c3L, "jetbrains.mps.build.structure.BuildLayout_Container")) && BuildLayout_Container__BehaviorDescriptor.getAssembleSubTaskId_id450ejGzh8bO.invoke(SNodeOperations.cast(SNodeOperations.getParent(_context.getNode()), MetaAdapterFactory.getInterfaceConcept(0x798100da4f0a421aL, 0xb99171f8c50ce5d2L, 0x4140393b234482c3L, "jetbrains.mps.build.structure.BuildLayout_Container"))) != null; } public static boolean ifMacro_Condition_8577651205286952481(final IfMacroContext _context) { return FileSetUtil.hasExplicitFilesets(_context.getNode()); } public static boolean ifMacro_Condition_8577651205286952509(final IfMacroContext _context) { return SNodeOperations.isInstanceOf(SNodeOperations.getParent(_context.getNode()), MetaAdapterFactory.getInterfaceConcept(0x798100da4f0a421aL, 0xb99171f8c50ce5d2L, 0x4140393b234482c3L, "jetbrains.mps.build.structure.BuildLayout_Container")) && BuildLayout_Container__BehaviorDescriptor.getPrepareSubTaskId_id450ejGzh8bD.invoke(SNodeOperations.cast(SNodeOperations.getParent(_context.getNode()), MetaAdapterFactory.getInterfaceConcept(0x798100da4f0a421aL, 0xb99171f8c50ce5d2L, 0x4140393b234482c3L, "jetbrains.mps.build.structure.BuildLayout_Container"))) != null; } public static boolean ifMacro_Condition_1979010778009294646(final IfMacroContext _context) { return !(SPropertyOperations.hasValue(_context.getNode(), MetaAdapterFactory.getProperty(0x798100da4f0a421aL, 0xb99171f8c50ce5d2L, 0x7709f0532a526203L, 0x1b76dbd13de88928L, "compression"), "none", "none")); } public static boolean ifMacro_Condition_7801138212747394913(final IfMacroContext _context) { return isNotEmptyString(SPropertyOperations.getString(_context.getNode(), MetaAdapterFactory.getProperty(0x798100da4f0a421aL, 0xb99171f8c50ce5d2L, 0x6c4335df4e838e40L, 0x6c4335df4e838e44L, "filemode"))); } public static boolean ifMacro_Condition_7801138212747394931(final IfMacroContext _context) { return isNotEmptyString(SPropertyOperations.getString(_context.getNode(), MetaAdapterFactory.getProperty(0x798100da4f0a421aL, 0xb99171f8c50ce5d2L, 0x6c4335df4e838e40L, 0x6c4335df4e838e45L, "dirmode"))); } public static boolean ifMacro_Condition_7801138212747420622(final IfMacroContext _context) { return isNotEmptyString(((String) _context.getVariable("var:prefix"))); } public static boolean ifMacro_Condition_8577651205286952586(final IfMacroContext _context) { return FileSetUtil.hasExplicitFilesets(_context.getNode()); } public static boolean ifMacro_Condition_8577651205286952616(final IfMacroContext _context) { return SNodeOperations.isInstanceOf(SNodeOperations.getParent(_context.getNode()), MetaAdapterFactory.getInterfaceConcept(0x798100da4f0a421aL, 0xb99171f8c50ce5d2L, 0x4140393b234482c3L, "jetbrains.mps.build.structure.BuildLayout_Container")) && BuildLayout_Container__BehaviorDescriptor.getAssembleSubTaskId_id450ejGzh8bO.invoke(SNodeOperations.cast(SNodeOperations.getParent(_context.getNode()), MetaAdapterFactory.getInterfaceConcept(0x798100da4f0a421aL, 0xb99171f8c50ce5d2L, 0x4140393b234482c3L, "jetbrains.mps.build.structure.BuildLayout_Container"))) != null; } public static boolean ifMacro_Condition_7801138212747391986(final IfMacroContext _context) { SNode parent = SNodeOperations.getParent(_context.getNode()); boolean hasPrefix = false; while (SNodeOperations.isInstanceOf(parent, MetaAdapterFactory.getConcept(0x798100da4f0a421aL, 0xb99171f8c50ce5d2L, 0x668c6cfbafac4c78L, "jetbrains.mps.build.structure.BuildLayout_Folder")) || SNodeOperations.isInstanceOf(parent, MetaAdapterFactory.getConcept(0x798100da4f0a421aL, 0xb99171f8c50ce5d2L, 0x6c4335df4e838e40L, "jetbrains.mps.build.structure.BuildLayout_Filemode"))) { if (SNodeOperations.isInstanceOf(parent, MetaAdapterFactory.getConcept(0x798100da4f0a421aL, 0xb99171f8c50ce5d2L, 0x668c6cfbafac4c78L, "jetbrains.mps.build.structure.BuildLayout_Folder"))) { hasPrefix = true; } parent = SNodeOperations.getParent(parent); } if (SNodeOperations.isInstanceOf(parent, MetaAdapterFactory.getInterfaceConcept(0x798100da4f0a421aL, 0xb99171f8c50ce5d2L, 0x48d5d03db927f229L, "jetbrains.mps.build.structure.BuildLayout_ContainerAcceptingFileSet")) && (boolean) BuildLayout_ContainerAcceptingFileSet__BehaviorDescriptor.hasFileModeAttribute_id5zIo$W4pFU5.invoke(SNodeOperations.cast(parent, MetaAdapterFactory.getInterfaceConcept(0x798100da4f0a421aL, 0xb99171f8c50ce5d2L, 0x48d5d03db927f229L, "jetbrains.mps.build.structure.BuildLayout_ContainerAcceptingFileSet"))) && (!(hasPrefix) || (boolean) BuildLayout_ContainerAcceptingFileSet__BehaviorDescriptor.hasPrefixAttribute_id5zIo$W4pFU0.invoke(SNodeOperations.cast(parent, MetaAdapterFactory.getInterfaceConcept(0x798100da4f0a421aL, 0xb99171f8c50ce5d2L, 0x48d5d03db927f229L, "jetbrains.mps.build.structure.BuildLayout_ContainerAcceptingFileSet"))))) { return FileSetUtil.hasExplicitFilesets(_context.getNode()); } return false; } public static boolean ifMacro_Condition_7801138212747392038(final IfMacroContext _context) { return SNodeOperations.isInstanceOf(SNodeOperations.getParent(_context.getNode()), MetaAdapterFactory.getInterfaceConcept(0x798100da4f0a421aL, 0xb99171f8c50ce5d2L, 0x4140393b234482c3L, "jetbrains.mps.build.structure.BuildLayout_Container")) && BuildLayout_Container__BehaviorDescriptor.getPrepareSubTaskId_id450ejGzh8bD.invoke(SNodeOperations.cast(SNodeOperations.getParent(_context.getNode()), MetaAdapterFactory.getInterfaceConcept(0x798100da4f0a421aL, 0xb99171f8c50ce5d2L, 0x4140393b234482c3L, "jetbrains.mps.build.structure.BuildLayout_Container"))) != null; } public static boolean ifMacro_Condition_7801138212747392081(final IfMacroContext _context) { return SNodeOperations.isInstanceOf(SNodeOperations.getParent(_context.getNode()), MetaAdapterFactory.getInterfaceConcept(0x798100da4f0a421aL, 0xb99171f8c50ce5d2L, 0x4140393b234482c3L, "jetbrains.mps.build.structure.BuildLayout_Container")) && BuildLayout_Container__BehaviorDescriptor.getAssembleSubTaskId_id450ejGzh8bO.invoke(SNodeOperations.cast(SNodeOperations.getParent(_context.getNode()), MetaAdapterFactory.getInterfaceConcept(0x798100da4f0a421aL, 0xb99171f8c50ce5d2L, 0x4140393b234482c3L, "jetbrains.mps.build.structure.BuildLayout_Container"))) != null; } public static boolean ifMacro_Condition_2913098736709502295(final IfMacroContext _context) { return SNodeOperations.isInstanceOf(SNodeOperations.getParent(_context.getNode()), MetaAdapterFactory.getInterfaceConcept(0x798100da4f0a421aL, 0xb99171f8c50ce5d2L, 0x4140393b234482c3L, "jetbrains.mps.build.structure.BuildLayout_Container")) && BuildLayout_Container__BehaviorDescriptor.getPrepareSubTaskId_id450ejGzh8bD.invoke(SNodeOperations.cast(SNodeOperations.getParent(_context.getNode()), MetaAdapterFactory.getInterfaceConcept(0x798100da4f0a421aL, 0xb99171f8c50ce5d2L, 0x4140393b234482c3L, "jetbrains.mps.build.structure.BuildLayout_Container"))) != null; } public static boolean ifMacro_Condition_2913098736709502402(final IfMacroContext _context) { return SNodeOperations.isInstanceOf(SNodeOperations.getParent(_context.getNode()), MetaAdapterFactory.getInterfaceConcept(0x798100da4f0a421aL, 0xb99171f8c50ce5d2L, 0x4140393b234482c3L, "jetbrains.mps.build.structure.BuildLayout_Container")) && BuildLayout_Container__BehaviorDescriptor.getAssembleSubTaskId_id450ejGzh8bO.invoke(SNodeOperations.cast(SNodeOperations.getParent(_context.getNode()), MetaAdapterFactory.getInterfaceConcept(0x798100da4f0a421aL, 0xb99171f8c50ce5d2L, 0x4140393b234482c3L, "jetbrains.mps.build.structure.BuildLayout_Container"))) != null; } public static boolean ifMacro_Condition_5248329904288129327(final IfMacroContext _context) { return SNodeOperations.isInstanceOf(SNodeOperations.getParent(_context.getNode()), MetaAdapterFactory.getInterfaceConcept(0x798100da4f0a421aL, 0xb99171f8c50ce5d2L, 0x4140393b234482c3L, "jetbrains.mps.build.structure.BuildLayout_Container")) && BuildLayout_Container__BehaviorDescriptor.getPrepareSubTaskId_id450ejGzh8bD.invoke(SNodeOperations.cast(SNodeOperations.getParent(_context.getNode()), MetaAdapterFactory.getInterfaceConcept(0x798100da4f0a421aL, 0xb99171f8c50ce5d2L, 0x4140393b234482c3L, "jetbrains.mps.build.structure.BuildLayout_Container"))) != null; } public static boolean ifMacro_Condition_5248329904288129297(final IfMacroContext _context) { return SNodeOperations.isInstanceOf(SNodeOperations.getParent(_context.getNode()), MetaAdapterFactory.getInterfaceConcept(0x798100da4f0a421aL, 0xb99171f8c50ce5d2L, 0x4140393b234482c3L, "jetbrains.mps.build.structure.BuildLayout_Container")) && BuildLayout_Container__BehaviorDescriptor.getAssembleSubTaskId_id450ejGzh8bO.invoke(SNodeOperations.cast(SNodeOperations.getParent(_context.getNode()), MetaAdapterFactory.getInterfaceConcept(0x798100da4f0a421aL, 0xb99171f8c50ce5d2L, 0x4140393b234482c3L, "jetbrains.mps.build.structure.BuildLayout_Container"))) != null; } public static boolean ifMacro_Condition_1330375798064449865(final IfMacroContext _context) { return ((String[]) _context.getVariable("var:lpath"))[0] != null; } public static boolean ifMacro_Condition_1330375798085921076(final IfMacroContext _context) { return FileSetUtil.isExplicit(_context.getNode()); } public static boolean ifMacro_Condition_1330375798064791172(final IfMacroContext _context) { return ((String[]) _context.getVariable("var:lpath"))[0] != null; } public static boolean ifMacro_Condition_9184644532456968297(final IfMacroContext _context) { return Sequence.fromIterable(SNodeOperations.ofConcept(SLinkOperations.getChildren(_context.getNode(), MetaAdapterFactory.getContainmentLink(0x798100da4f0a421aL, 0xb99171f8c50ce5d2L, 0x7f76698a394d9ab2L, 0x7f76698a394e2d1eL, "handlers")), MetaAdapterFactory.getConcept(0x798100da4f0a421aL, 0xb99171f8c50ce5d2L, 0x7f76698a39527643L, "jetbrains.mps.build.structure.BuildLayout_CopyFilter"))).isNotEmpty(); } public static boolean ifMacro_Condition_6977615362525734794(final IfMacroContext _context) { return Sequence.fromIterable(SNodeOperations.ofConcept(SLinkOperations.getChildren(_context.getNode(), MetaAdapterFactory.getContainmentLink(0x798100da4f0a421aL, 0xb99171f8c50ce5d2L, 0x7f76698a394d9ab2L, 0x7f76698a394e2d1eL, "handlers")), MetaAdapterFactory.getConcept(0x798100da4f0a421aL, 0xb99171f8c50ce5d2L, 0x60d5783406a77552L, "jetbrains.mps.build.structure.BuildLayout_CopyMapper"))).count() > 1; } public static boolean ifMacro_Condition_9184644532456968222(final IfMacroContext _context) { return SNodeOperations.isInstanceOf(SNodeOperations.getParent(_context.getNode()), MetaAdapterFactory.getInterfaceConcept(0x798100da4f0a421aL, 0xb99171f8c50ce5d2L, 0x4140393b234482c3L, "jetbrains.mps.build.structure.BuildLayout_Container")) && BuildLayout_Container__BehaviorDescriptor.getPrepareSubTaskId_id450ejGzh8bD.invoke(SNodeOperations.cast(SNodeOperations.getParent(_context.getNode()), MetaAdapterFactory.getInterfaceConcept(0x798100da4f0a421aL, 0xb99171f8c50ce5d2L, 0x4140393b234482c3L, "jetbrains.mps.build.structure.BuildLayout_Container"))) != null; } public static boolean ifMacro_Condition_9184644532456968252(final IfMacroContext _context) { return SNodeOperations.isInstanceOf(SNodeOperations.getParent(_context.getNode()), MetaAdapterFactory.getInterfaceConcept(0x798100da4f0a421aL, 0xb99171f8c50ce5d2L, 0x4140393b234482c3L, "jetbrains.mps.build.structure.BuildLayout_Container")) && BuildLayout_Container__BehaviorDescriptor.getAssembleSubTaskId_id450ejGzh8bO.invoke(SNodeOperations.cast(SNodeOperations.getParent(_context.getNode()), MetaAdapterFactory.getInterfaceConcept(0x798100da4f0a421aL, 0xb99171f8c50ce5d2L, 0x4140393b234482c3L, "jetbrains.mps.build.structure.BuildLayout_Container"))) != null; } public static boolean ifMacro_Condition_4198392933254627394(final IfMacroContext _context) { return !(SPropertyOperations.hasValue(_context.getNode(), MetaAdapterFactory.getProperty(0x798100da4f0a421aL, 0xb99171f8c50ce5d2L, 0x3a43b020f623c9acL, 0x3a43b020f623c9b6L, "eol"), "local", "local")); } public static boolean ifMacro_Condition_4198392933254627361(final IfMacroContext _context) { return SPropertyOperations.getBoolean(_context.getNode(), MetaAdapterFactory.getProperty(0x798100da4f0a421aL, 0xb99171f8c50ce5d2L, 0x3a43b020f623c9acL, 0x3a43b020f625d95cL, "removeEOF")); } public static boolean ifMacro_Condition_4643216374596142956(final IfMacroContext _context) { return SNodeOperations.isInstanceOf(SNodeOperations.getParent(_context.getNode()), MetaAdapterFactory.getInterfaceConcept(0x798100da4f0a421aL, 0xb99171f8c50ce5d2L, 0x4140393b234482c3L, "jetbrains.mps.build.structure.BuildLayout_Container")) && BuildLayout_Container__BehaviorDescriptor.getPrepareSubTaskId_id450ejGzh8bD.invoke(SNodeOperations.cast(SNodeOperations.getParent(_context.getNode()), MetaAdapterFactory.getInterfaceConcept(0x798100da4f0a421aL, 0xb99171f8c50ce5d2L, 0x4140393b234482c3L, "jetbrains.mps.build.structure.BuildLayout_Container"))) != null; } public static boolean ifMacro_Condition_4643216374596142986(final IfMacroContext _context) { return SNodeOperations.isInstanceOf(SNodeOperations.getParent(_context.getNode()), MetaAdapterFactory.getInterfaceConcept(0x798100da4f0a421aL, 0xb99171f8c50ce5d2L, 0x4140393b234482c3L, "jetbrains.mps.build.structure.BuildLayout_Container")) && BuildLayout_Container__BehaviorDescriptor.getAssembleSubTaskId_id450ejGzh8bO.invoke(SNodeOperations.cast(SNodeOperations.getParent(_context.getNode()), MetaAdapterFactory.getInterfaceConcept(0x798100da4f0a421aL, 0xb99171f8c50ce5d2L, 0x4140393b234482c3L, "jetbrains.mps.build.structure.BuildLayout_Container"))) != null; } public static boolean ifMacro_Condition_202934866059116774(final IfMacroContext _context) { return SNodeOperations.isInstanceOf(SNodeOperations.getParent(_context.getNode()), MetaAdapterFactory.getInterfaceConcept(0x798100da4f0a421aL, 0xb99171f8c50ce5d2L, 0x4140393b234482c3L, "jetbrains.mps.build.structure.BuildLayout_Container")) && BuildLayout_Container__BehaviorDescriptor.getPrepareSubTaskId_id450ejGzh8bD.invoke(SNodeOperations.cast(SNodeOperations.getParent(_context.getNode()), MetaAdapterFactory.getInterfaceConcept(0x798100da4f0a421aL, 0xb99171f8c50ce5d2L, 0x4140393b234482c3L, "jetbrains.mps.build.structure.BuildLayout_Container"))) != null; } public static boolean ifMacro_Condition_202934866059116804(final IfMacroContext _context) { return SNodeOperations.isInstanceOf(SNodeOperations.getParent(_context.getNode()), MetaAdapterFactory.getInterfaceConcept(0x798100da4f0a421aL, 0xb99171f8c50ce5d2L, 0x4140393b234482c3L, "jetbrains.mps.build.structure.BuildLayout_Container")) && BuildLayout_Container__BehaviorDescriptor.getAssembleSubTaskId_id450ejGzh8bO.invoke(SNodeOperations.cast(SNodeOperations.getParent(_context.getNode()), MetaAdapterFactory.getInterfaceConcept(0x798100da4f0a421aL, 0xb99171f8c50ce5d2L, 0x4140393b234482c3L, "jetbrains.mps.build.structure.BuildLayout_Container"))) != null; } public static boolean ifMacro_Condition_4701820937132270584(final IfMacroContext _context) { return SNodeOperations.isInstanceOf(SNodeOperations.getParent(_context.getNode()), MetaAdapterFactory.getInterfaceConcept(0x798100da4f0a421aL, 0xb99171f8c50ce5d2L, 0x4140393b234482c3L, "jetbrains.mps.build.structure.BuildLayout_Container")) && BuildLayout_Container__BehaviorDescriptor.getPrepareSubTaskId_id450ejGzh8bD.invoke(SNodeOperations.cast(SNodeOperations.getParent(_context.getNode()), MetaAdapterFactory.getInterfaceConcept(0x798100da4f0a421aL, 0xb99171f8c50ce5d2L, 0x4140393b234482c3L, "jetbrains.mps.build.structure.BuildLayout_Container"))) != null; } public static boolean ifMacro_Condition_4701820937132270614(final IfMacroContext _context) { return SNodeOperations.isInstanceOf(SNodeOperations.getParent(_context.getNode()), MetaAdapterFactory.getInterfaceConcept(0x798100da4f0a421aL, 0xb99171f8c50ce5d2L, 0x4140393b234482c3L, "jetbrains.mps.build.structure.BuildLayout_Container")) && BuildLayout_Container__BehaviorDescriptor.getAssembleSubTaskId_id450ejGzh8bO.invoke(SNodeOperations.cast(SNodeOperations.getParent(_context.getNode()), MetaAdapterFactory.getInterfaceConcept(0x798100da4f0a421aL, 0xb99171f8c50ce5d2L, 0x4140393b234482c3L, "jetbrains.mps.build.structure.BuildLayout_Container"))) != null; } public static boolean ifMacro_Condition_5610619299013114792(final IfMacroContext _context) { return SNodeOperations.isInstanceOf(SNodeOperations.getParent(_context.getNode()), MetaAdapterFactory.getInterfaceConcept(0x798100da4f0a421aL, 0xb99171f8c50ce5d2L, 0x4140393b234482c3L, "jetbrains.mps.build.structure.BuildLayout_Container")) && BuildLayout_Container__BehaviorDescriptor.getPrepareSubTaskId_id450ejGzh8bD.invoke(SNodeOperations.cast(SNodeOperations.getParent(_context.getNode()), MetaAdapterFactory.getInterfaceConcept(0x798100da4f0a421aL, 0xb99171f8c50ce5d2L, 0x4140393b234482c3L, "jetbrains.mps.build.structure.BuildLayout_Container"))) != null; } public static boolean ifMacro_Condition_5610619299013114822(final IfMacroContext _context) { return SNodeOperations.isInstanceOf(SNodeOperations.getParent(_context.getNode()), MetaAdapterFactory.getInterfaceConcept(0x798100da4f0a421aL, 0xb99171f8c50ce5d2L, 0x4140393b234482c3L, "jetbrains.mps.build.structure.BuildLayout_Container")) && BuildLayout_Container__BehaviorDescriptor.getAssembleSubTaskId_id450ejGzh8bO.invoke(SNodeOperations.cast(SNodeOperations.getParent(_context.getNode()), MetaAdapterFactory.getInterfaceConcept(0x798100da4f0a421aL, 0xb99171f8c50ce5d2L, 0x4140393b234482c3L, "jetbrains.mps.build.structure.BuildLayout_Container"))) != null; } public static boolean ifMacro_Condition_6520682027041189779(final IfMacroContext _context) { return new DependenciesHelper(_context, SNodeOperations.getNodeAncestor(_context.getNode(), MetaAdapterFactory.getConcept(0x798100da4f0a421aL, 0xb99171f8c50ce5d2L, 0x4df58c6f18f84a13L, "jetbrains.mps.build.structure.BuildProject"), false, false)).requiresFetch(_context.getOriginalCopiedInputNode(_context.getNode())); } public static boolean ifMacro_Condition_8055294676438891194(final IfMacroContext _context) { return ListSequence.fromList(SLinkOperations.getChildren(((SNode) _context.getVariable("var:javaOpts")), MetaAdapterFactory.getContainmentLink(0x798100da4f0a421aL, 0xb99171f8c50ce5d2L, 0xcdff0e1a96739c2L, 0xcdff0e1a96739c7L, "resourceSelectors"))).isEmpty(); } public static boolean ifMacro_Condition_8055294676438890260(final IfMacroContext _context) { return ((SNode) _context.getVariable("var:javaOpts")) != null; } public static boolean ifMacro_Condition_6837653846148441984(final IfMacroContext _context) { return SNodeOperations.isInstanceOf(SNodeOperations.getParent(_context.getNode()), MetaAdapterFactory.getInterfaceConcept(0x798100da4f0a421aL, 0xb99171f8c50ce5d2L, 0x4140393b234482c3L, "jetbrains.mps.build.structure.BuildLayout_Container")) && BuildLayout_Container__BehaviorDescriptor.getPrepareSubTaskId_id450ejGzh8bD.invoke(SNodeOperations.cast(SNodeOperations.getParent(_context.getNode()), MetaAdapterFactory.getInterfaceConcept(0x798100da4f0a421aL, 0xb99171f8c50ce5d2L, 0x4140393b234482c3L, "jetbrains.mps.build.structure.BuildLayout_Container"))) != null; } public static boolean ifMacro_Condition_6837653846148442014(final IfMacroContext _context) { return SNodeOperations.isInstanceOf(SNodeOperations.getParent(_context.getNode()), MetaAdapterFactory.getInterfaceConcept(0x798100da4f0a421aL, 0xb99171f8c50ce5d2L, 0x4140393b234482c3L, "jetbrains.mps.build.structure.BuildLayout_Container")) && BuildLayout_Container__BehaviorDescriptor.getAssembleSubTaskId_id450ejGzh8bO.invoke(SNodeOperations.cast(SNodeOperations.getParent(_context.getNode()), MetaAdapterFactory.getInterfaceConcept(0x798100da4f0a421aL, 0xb99171f8c50ce5d2L, 0x4140393b234482c3L, "jetbrains.mps.build.structure.BuildLayout_Container"))) != null; } public static boolean ifMacro_Condition_9126048691954996134(final IfMacroContext _context) { if (SNodeOperations.isInstanceOf(ListSequence.fromList(SLinkOperations.getChildren(SLinkOperations.getTarget(_context.getNode(), MetaAdapterFactory.getContainmentLink(0x798100da4f0a421aL, 0xb99171f8c50ce5d2L, 0x4df58c6f18f84a13L, 0x4df58c6f18f84a1cL, "layout")), MetaAdapterFactory.getContainmentLink(0x798100da4f0a421aL, 0xb99171f8c50ce5d2L, 0x4140393b234482c3L, 0x668c6cfbafac4c8eL, "children"))).first(), MetaAdapterFactory.getConcept(0x798100da4f0a421aL, 0xb99171f8c50ce5d2L, 0x668c6cfbafac4c78L, "jetbrains.mps.build.structure.BuildLayout_Folder"))) { return false; } return true; } public static boolean ifMacro_Condition_6520682027040886838(final IfMacroContext _context) { Iterable<SNode> s = (Iterable<SNode>) ((MacroHelper) _context.getVariable("var:macroHelper")).getMacrosToExport(); return Sequence.fromIterable(s).isNotEmpty(); } public static boolean ifMacro_Condition_6520682027041156330(final IfMacroContext _context) { return new DependenciesHelper(_context, _context.getNode()).requiresFetch(_context.getOriginalCopiedInputNode(SLinkOperations.getTarget(_context.getNode(), MetaAdapterFactory.getContainmentLink(0x798100da4f0a421aL, 0xb99171f8c50ce5d2L, 0x4df58c6f18f84a13L, 0x4df58c6f18f84a1cL, "layout")))); } public static boolean ifMacro_Condition_6520682027041201801(final IfMacroContext _context) { return ListSequence.fromList(((List<SNode>) _context.getVariable("var:dependency"))).isNotEmpty(); } public static boolean ifMacro_Condition_6408167411310620878(final IfMacroContext _context) { _context.showErrorMessage(_context.getNode(), "cannot reduce fileset, unknown concept: " + _context.getNode().getConcept().getQualifiedName()); return false; } public static boolean ifMacro_Condition_1330375798099683006(final IfMacroContext _context) { return isNotEmptyString(((Tuples._4<String, String, String, String>) _context.getVariable("var:archive"))._1()); } public static boolean ifMacro_Condition_1330375798099683018(final IfMacroContext _context) { return ((Tuples._4<String, String, String, String>) _context.getVariable("var:archive"))._3() != null; } public static boolean ifMacro_Condition_1330375798099683040(final IfMacroContext _context) { return ((Tuples._4<String, String, String, String>) _context.getVariable("var:archive"))._2() != null; } public static boolean ifMacro_Condition_6408167411310656502(final IfMacroContext _context) { return isNotEmptyString(((Tuples._4<String, String, String, String>) _context.getVariable("var:archive"))._1()); } public static boolean ifMacro_Condition_7801138212747257284(final IfMacroContext _context) { return ((Tuples._4<String, String, String, String>) _context.getVariable("var:archive"))._3() != null; } public static boolean ifMacro_Condition_7801138212747257306(final IfMacroContext _context) { return ((Tuples._4<String, String, String, String>) _context.getVariable("var:archive"))._2() != null; } public static boolean ifMacro_Condition_6408167411310656480(final IfMacroContext _context) { return isNotEmptyString(((Tuples._4<String, String, String, String>) _context.getVariable("var:archive"))._1()); } public static boolean ifMacro_Condition_7801138212747257240(final IfMacroContext _context) { return ((Tuples._4<String, String, String, String>) _context.getVariable("var:archive"))._3() != null; } public static boolean ifMacro_Condition_7801138212747257262(final IfMacroContext _context) { return ((Tuples._4<String, String, String, String>) _context.getVariable("var:archive"))._2() != null; } public static boolean ifMacro_Condition_6408167411310656070(final IfMacroContext _context) { return isNotEmptyString(((Tuples._4<String, String, String, String>) _context.getVariable("var:archive"))._1()); } public static boolean ifMacro_Condition_7801138212747256991(final IfMacroContext _context) { return ((Tuples._4<String, String, String, String>) _context.getVariable("var:archive"))._3() != null; } public static boolean ifMacro_Condition_7801138212747256885(final IfMacroContext _context) { return ((Tuples._4<String, String, String, String>) _context.getVariable("var:archive"))._2() != null; } public static boolean ifMacro_Condition_6408167411310656284(final IfMacroContext _context) { return isNotEmptyString(((Tuples._3<String, String, String>) _context.getVariable("var:archive"))._1()); } public static boolean ifMacro_Condition_7801138212747257196(final IfMacroContext _context) { return ((Tuples._3<String, String, String>) _context.getVariable("var:archive"))._2() != null; } public static boolean ifMacro_Condition_5979287180587467645(final IfMacroContext _context) { return SNodeOperations.getContainingRoot(_context.getNode()) != SNodeOperations.getContainingRoot(((SNode) _context.getVariable("library"))); } public static boolean ifMacro_Condition_4821808014881207369(final IfMacroContext _context) { return SNodeOperations.getContainingRoot(_context.getNode()) == SNodeOperations.getContainingRoot(((SNode) _context.getVariable("dependency"))); } public static boolean ifMacro_Condition_2059522355690541838(final IfMacroContext _context) { return SPropertyOperations.getBoolean(_context.getNode(), MetaAdapterFactory.getProperty(0x798100da4f0a421aL, 0xb99171f8c50ce5d2L, 0x4ddcec86afb65af8L, 0x1c94e4abb1e90814L, "includeRecursively")); } public static boolean ifMacro_Condition_2750015747481191497(final IfMacroContext _context) { return ListSequence.fromList(SLinkOperations.getChildren(_context.getNode(), MetaAdapterFactory.getContainmentLink(0x798100da4f0a421aL, 0xb99171f8c50ce5d2L, 0x7ea63ceef6e8c0edL, 0x7ea63ceef6e8c126L, "parameters"))).any(new IWhereFilter<SNode>() { public boolean accept(SNode it) { return SNodeOperations.isInstanceOf(it, MetaAdapterFactory.getConcept(0x798100da4f0a421aL, 0xb99171f8c50ce5d2L, 0x7f76698a394dcc33L, "jetbrains.mps.build.structure.BuildLayout_CopyHandler")); } }); } public static boolean ifMacro_Condition_6083230236994856300(final IfMacroContext _context) { return ListSequence.fromList(SNodeOperations.getNodeDescendants(_context.getNode(), MetaAdapterFactory.getConcept(0x798100da4f0a421aL, 0xb99171f8c50ce5d2L, 0x233d92f9e348d768L, "jetbrains.mps.build.structure.BuildSourceArchiveRelativePath"), false, new SAbstractConcept[]{})).isNotEmpty(); } public static SNode sourceNodeQuery_5248329904288175557(final SourceSubstituteMacroNodeContext _context) { return SLinkOperations.getTarget(_context.getNode(), MetaAdapterFactory.getContainmentLink(0x798100da4f0a421aL, 0xb99171f8c50ce5d2L, 0x7f76698a394d9b91L, 0x48d5d03db92339baL, "fileset")); } public static SNode sourceNodeQuery_1330375798060994699(final SourceSubstituteMacroNodeContext _context) { ((String[]) _context.getVariable("var:lpath"))[0] = ((String) _context.getVariable("var:tpath")); return SLinkOperations.getTarget(SNodeOperations.cast(SNodeOperations.getParent(_context.getNode()), MetaAdapterFactory.getConcept(0x798100da4f0a421aL, 0xb99171f8c50ce5d2L, 0x7f76698a394d9ab2L, "jetbrains.mps.build.structure.BuildLayout_CustomCopy")), MetaAdapterFactory.getContainmentLink(0x798100da4f0a421aL, 0xb99171f8c50ce5d2L, 0x7f76698a394d9b91L, 0x48d5d03db92339baL, "fileset")); } public static SNode sourceNodeQuery_1330375798064791185(final SourceSubstituteMacroNodeContext _context) { return SLinkOperations.getTarget(_context.getNode(), MetaAdapterFactory.getContainmentLink(0x798100da4f0a421aL, 0xb99171f8c50ce5d2L, 0x7f76698a394d9b91L, 0x48d5d03db92339baL, "fileset")); } public static SNode sourceNodeQuery_4643216374596142907(final SourceSubstituteMacroNodeContext _context) { return SLinkOperations.getTarget(_context.getNode(), MetaAdapterFactory.getContainmentLink(0x798100da4f0a421aL, 0xb99171f8c50ce5d2L, 0x6a3e160a3eff6a94L, 0x6a3e160a3eff6ab7L, "element")); } public static SNode sourceNodeQuery_244868996532694255(final SourceSubstituteMacroNodeContext _context) { return SLinkOperations.getTarget(_context.getNode(), MetaAdapterFactory.getContainmentLink(0x798100da4f0a421aL, 0xb99171f8c50ce5d2L, 0x3449288aa0d560e2L, 0x263c91972cd26288L, "initialValue")); } public static SNode sourceNodeQuery_4821808014881265837(final SourceSubstituteMacroNodeContext _context) { return ((JavaModulesClosure) _context.getVariable("var:depsClosure")).getInitial(); } public static SNode sourceNodeQuery_8169228734285529873(final SourceSubstituteMacroNodeContext _context) { return ((JavaModulesClosure) _context.getVariable("var:depsClosure")).getInitial(); } public static SNode sourceNodeQuery_6859736767834590341(final SourceSubstituteMacroNodeContext _context) { return ((JavaModulesClosure) _context.getVariable("var:depsClosure")).getInitial(); } public static SNode sourceNodeQuery_5680938682773841408(final SourceSubstituteMacroNodeContext _context) { return ((JavaModulesClosure) _context.getVariable("var:depsClosure")).getInitial(); } public static SNode sourceNodeQuery_144710003695560994(final SourceSubstituteMacroNodeContext _context) { return ((JavaModulesClosure) _context.getVariable("var:depsClosure")).getInitial(); } public static SNode sourceNodeQuery_1500819558096269424(final SourceSubstituteMacroNodeContext _context) { return SLinkOperations.getTarget(_context.getNode(), MetaAdapterFactory.getContainmentLink(0x798100da4f0a421aL, 0xb99171f8c50ce5d2L, 0x14d3fb6fb8480882L, 0x14d3fb6fb8480883L, "resset")); } public static SNode sourceNodeQuery_144710003695667202(final SourceSubstituteMacroNodeContext _context) { return SLinkOperations.getTarget(_context.getNode(), MetaAdapterFactory.getContainmentLink(0x798100da4f0a421aL, 0xb99171f8c50ce5d2L, 0x3395e884b61d4cbbL, 0x3395e884b61d4cbdL, "classpath")); } public static SNode sourceNodeQuery_8056730377013464320(final SourceSubstituteMacroNodeContext _context) { return SLinkOperations.getTarget(_context.getNode(), MetaAdapterFactory.getContainmentLink(0x798100da4f0a421aL, 0xb99171f8c50ce5d2L, 0x6fcf41976cfa6175L, 0x6e014d63c0847621L, "classpath")); } public static SNode sourceNodeQuery_3717132724153138073(final SourceSubstituteMacroNodeContext _context) { return SLinkOperations.getTarget(_context.getNode(), MetaAdapterFactory.getContainmentLink(0x798100da4f0a421aL, 0xb99171f8c50ce5d2L, 0x3395e884b61fe867L, 0x3395e884b61fe869L, "jars")); } public static SNode sourceNodeQuery_6408167411310621712(final SourceSubstituteMacroNodeContext _context) { return SLinkOperations.getTarget(_context.getNode(), MetaAdapterFactory.getContainmentLink(0x798100da4f0a421aL, 0xb99171f8c50ce5d2L, 0x7f76698a394d9b91L, 0x48d5d03db92339baL, "fileset")); } public static SNode sourceNodeQuery_1330375798088316886(final SourceSubstituteMacroNodeContext _context) { return SLinkOperations.getTarget(_context.getNode(), MetaAdapterFactory.getContainmentLink(0x798100da4f0a421aL, 0xb99171f8c50ce5d2L, 0x7f76698a394d9b91L, 0x48d5d03db92339baL, "fileset")); } public static SNode sourceNodeQuery_2750015747481191517(final SourceSubstituteMacroNodeContext _context) { return SLinkOperations.getTarget(_context.getNode(), MetaAdapterFactory.getContainmentLink(0x798100da4f0a421aL, 0xb99171f8c50ce5d2L, 0x7ea63ceef6e8c0edL, 0x7ea63ceef6e8c11aL, "path")); } public static SNode sourceNodeQuery_2750015747481207051(final SourceSubstituteMacroNodeContext _context) { return SLinkOperations.getTarget(_context.getNode(), MetaAdapterFactory.getContainmentLink(0x798100da4f0a421aL, 0xb99171f8c50ce5d2L, 0x7ea63ceef6e8c0edL, 0x7ea63ceef6e8c11aL, "path")); } public static SNode sourceNodeQuery_2750015747481063363(final SourceSubstituteMacroNodeContext _context) { return SLinkOperations.getTarget(_context.getNode(), MetaAdapterFactory.getContainmentLink(0x798100da4f0a421aL, 0xb99171f8c50ce5d2L, 0x7ea63ceef6e8c0edL, 0x7ea63ceef6e8c11aL, "path")); } public static SNode sourceNodeQuery_2750015747481063407(final SourceSubstituteMacroNodeContext _context) { return SLinkOperations.getTarget(_context.getNode(), MetaAdapterFactory.getContainmentLink(0x798100da4f0a421aL, 0xb99171f8c50ce5d2L, 0x7ea63ceef6e8c0edL, 0x7ea63ceef6e8c11aL, "path")); } public static SNode sourceNodeQuery_2750015747481074564(final SourceSubstituteMacroNodeContext _context) { return SLinkOperations.getTarget(_context.getNode(), MetaAdapterFactory.getContainmentLink(0x798100da4f0a421aL, 0xb99171f8c50ce5d2L, 0x262a04c08b56faffL, 0x262a04c08b56fb00L, "path")); } public static SNode sourceNodeQuery_2750015747481074596(final SourceSubstituteMacroNodeContext _context) { return SLinkOperations.getTarget(_context.getNode(), MetaAdapterFactory.getContainmentLink(0x798100da4f0a421aL, 0xb99171f8c50ce5d2L, 0x262a04c08b56faffL, 0x262a04c08b56fb00L, "path")); } public static SNode sourceNodeQuery_6083230236994856499(final SourceSubstituteMacroNodeContext _context) { return (SNode) BuildSourceArchiveRelativePath__BehaviorDescriptor.getUnpackTask_id7N6lJotWaNm.invoke(_context.getNode(), Context.defaultContext(_context)); } public static SNode sourceNodeQuery_6083230236994856570(final SourceSubstituteMacroNodeContext _context) { return (SNode) BuildSourceArchiveRelativePath__BehaviorDescriptor.getUnpackTask_id7N6lJotWaNm.invoke(_context.getNode(), Context.defaultContext(_context)); } public static Object templateArgumentQuery_4821808014881251890(final TemplateArgumentContext _context) { return SLinkOperations.getTarget(_context.getNode(), MetaAdapterFactory.getReferenceLink(0x798100da4f0a421aL, 0xb99171f8c50ce5d2L, 0x44e5dd192e7c0c18L, 0x44e5dd192e7c0c19L, "targetModule")); } public static Object templateArgumentQuery_8169228734285529871(final TemplateArgumentContext _context) { return SLinkOperations.getTarget(_context.getNode(), MetaAdapterFactory.getReferenceLink(0x798100da4f0a421aL, 0xb99171f8c50ce5d2L, 0x44e5dd192e7c0de4L, 0x44e5dd192e7c0de5L, "targetJar")); } public static Object templateArgumentQuery_6859736767834590331(final TemplateArgumentContext _context) { return SLinkOperations.getTarget(_context.getNode(), MetaAdapterFactory.getReferenceLink(0x798100da4f0a421aL, 0xb99171f8c50ce5d2L, 0x44e5dd192e7c0d4aL, 0x44e5dd192e7c0d4bL, "targetFile")); } public static Object templateArgumentQuery_5680938682773841398(final TemplateArgumentContext _context) { return SLinkOperations.getTarget(_context.getNode(), MetaAdapterFactory.getReferenceLink(0x798100da4f0a421aL, 0xb99171f8c50ce5d2L, 0x508044c9892402f6L, 0x508044c9892402f7L, "targetFolder")); } public static Object templateArgumentQuery_5680938682773841635(final TemplateArgumentContext _context) { return SPropertyOperations.getString(_context.getNode(), MetaAdapterFactory.getProperty(0x798100da4f0a421aL, 0xb99171f8c50ce5d2L, 0x508044c9892402f6L, 0x508044c9892587e8L, "suffix")); } public static Object templateArgumentQuery_144710003695561027(final TemplateArgumentContext _context) { return SLinkOperations.getTarget(_context.getNode(), MetaAdapterFactory.getReferenceLink(0x798100da4f0a421aL, 0xb99171f8c50ce5d2L, 0x44e5dd192e7c0e6fL, 0x44e5dd192e7c0e70L, "targetLibrary")); } public static Object templateArgumentQuery_5610619299014495886(final TemplateArgumentContext _context) { return SLinkOperations.getTarget(SLinkOperations.getTarget(_context.getNode(), MetaAdapterFactory.getContainmentLink(0x798100da4f0a421aL, 0xb99171f8c50ce5d2L, 0x4ddcec86afb50da7L, 0x4ddcec86afb50da8L, "extJar")), MetaAdapterFactory.getReferenceLink(0x798100da4f0a421aL, 0xb99171f8c50ce5d2L, 0x4ddcec86afb2f64cL, 0x4ddcec86afb2f64dL, "jar")); } public static Object templateArgumentQuery_5610619299014531918(final TemplateArgumentContext _context) { return SLinkOperations.getTarget(SLinkOperations.getTarget(_context.getNode(), MetaAdapterFactory.getContainmentLink(0x798100da4f0a421aL, 0xb99171f8c50ce5d2L, 0x4ddcec86afb65af8L, 0x4ddcec86afb65afaL, "extFolder")), MetaAdapterFactory.getReferenceLink(0x798100da4f0a421aL, 0xb99171f8c50ce5d2L, 0x4ddcec86afb65a3fL, 0x4ddcec86afb65a40L, "folder")); } public static Object templateArgumentQuery_4821808014881175200(final TemplateArgumentContext _context) { return SLinkOperations.getTarget(_context.getNode(), MetaAdapterFactory.getReferenceLink(0x798100da4f0a421aL, 0xb99171f8c50ce5d2L, 0x454b730dd9079dceL, 0x454b730dd9079dcfL, "library")); } public static Object templateArgumentQuery_4821808014881207698(final TemplateArgumentContext _context) { return SLinkOperations.getTarget(_context.getNode(), MetaAdapterFactory.getReferenceLink(0x798100da4f0a421aL, 0xb99171f8c50ce5d2L, 0x263ae7d4319896a7L, 0x263ae7d4319896aaL, "module")); } public static Object templateArgumentQuery_8169228734285538428(final TemplateArgumentContext _context) { return SLinkOperations.getTarget(_context.getNode(), MetaAdapterFactory.getContainmentLink(0x798100da4f0a421aL, 0xb99171f8c50ce5d2L, 0x3395e884b6185c40L, 0x3395e884b6185c41L, "jar")); } public static Object templateArgumentQuery_5610619299014362371(final TemplateArgumentContext _context) { return SLinkOperations.getTarget(SLinkOperations.getTarget(_context.getNode(), MetaAdapterFactory.getContainmentLink(0x798100da4f0a421aL, 0xb99171f8c50ce5d2L, 0x5f32ae3ef3770dd4L, 0x4ddcec86afb2f72aL, "extJar")), MetaAdapterFactory.getReferenceLink(0x798100da4f0a421aL, 0xb99171f8c50ce5d2L, 0x4ddcec86afb2f64cL, 0x4ddcec86afb2f64dL, "jar")); } public static Object templateArgumentQuery_342830306171239712(final TemplateArgumentContext _context) { return SLinkOperations.getTarget(SLinkOperations.getTarget(_context.getNode(), MetaAdapterFactory.getContainmentLink(0x798100da4f0a421aL, 0xb99171f8c50ce5d2L, 0x4c1fa58d992addeL, 0x4c1fa58d9932901L, "extFolder")), MetaAdapterFactory.getReferenceLink(0x798100da4f0a421aL, 0xb99171f8c50ce5d2L, 0x4ddcec86afb65a3fL, 0x4ddcec86afb65a40L, "folder")); } public static Object templateArgumentQuery_342830306171239922(final TemplateArgumentContext _context) { return SPropertyOperations.getString(_context.getNode(), MetaAdapterFactory.getProperty(0x798100da4f0a421aL, 0xb99171f8c50ce5d2L, 0x4c1fa58d992addeL, 0x4c1fa58d9933cacL, "suffix")); } public static Iterable<SNode> sourceNodesQuery_1117643560963351248(final SourceSubstituteMacroNodesContext _context) { return FileSetUtil.getImplicitFilesets(_context.getNode()); } public static Iterable<SNode> sourceNodesQuery_7801138212747391938(final SourceSubstituteMacroNodesContext _context) { return FileSetUtil.getExplicitFilemodeRoots(_context.getNode()); } public static Iterable<SNode> sourceNodesQuery_1117643560963358547(final SourceSubstituteMacroNodesContext _context) { return FileSetUtil.getImplicitFilesets(_context.getNode()); } public static Iterable<SNode> sourceNodesQuery_7801138212747394870(final SourceSubstituteMacroNodesContext _context) { return FileSetUtil.getExplicitFilemodeRoots(_context.getNode()); } public static Iterable<SNode> sourceNodesQuery_8577651205286952555(final SourceSubstituteMacroNodesContext _context) { return FileSetUtil.getImplicitFilesets(_context.getNode()); } public static Iterable<SNode> sourceNodesQuery_7801138212747394948(final SourceSubstituteMacroNodesContext _context) { return FileSetUtil.getExplicitFilemodeRoots(_context.getNode()); } public static Iterable<SNode> sourceNodesQuery_1330375798060357185(final SourceSubstituteMacroNodesContext _context) { return SNodeOperations.ofConcept(SLinkOperations.getChildren(_context.getNode(), MetaAdapterFactory.getContainmentLink(0x798100da4f0a421aL, 0xb99171f8c50ce5d2L, 0x7f76698a394d9ab2L, 0x7f76698a394e2d1eL, "handlers")), MetaAdapterFactory.getConcept(0x798100da4f0a421aL, 0xb99171f8c50ce5d2L, 0x127671bd5d12a2c2L, "jetbrains.mps.build.structure.BuildLayout_CopyProcessor")); } public static Iterable<SNode> sourceNodesQuery_7918752904805774009(final SourceSubstituteMacroNodesContext _context) { return Sequence.fromIterable(((Iterable<Map.Entry<String, String>>) BuildLayout_CopyProcessor__BehaviorDescriptor.getTaskArguments_id6R_3WZ31H2E.invoke(_context.getNode()).entrySet())).select(new ISelector<Map.Entry<String, String>, SNode>() { public SNode select(Map.Entry<String, String> it) { SNode loopnode = SModelOperations.createNewNode(_context.getOutputModel(), null, MetaAdapterFactory.getConcept(0x798100da4f0a421aL, 0xb99171f8c50ce5d2L, 0x508044c9892d3b5bL, "jetbrains.mps.build.structure.GeneratorInternal_Mapping")); SPropertyOperations.set(loopnode, MetaAdapterFactory.getProperty(0x798100da4f0a421aL, 0xb99171f8c50ce5d2L, 0x508044c9892d3b5bL, 0x508044c9892df0b8L, "key"), it.getKey()); SPropertyOperations.set(loopnode, MetaAdapterFactory.getProperty(0x798100da4f0a421aL, 0xb99171f8c50ce5d2L, 0x508044c9892d3b5bL, 0x508044c9892df0baL, "value"), it.getValue()); return loopnode; } }); } public static Iterable<SNode> sourceNodesQuery_9184644532456968384(final SourceSubstituteMacroNodesContext _context) { return SNodeOperations.ofConcept(SLinkOperations.getChildren(_context.getNode(), MetaAdapterFactory.getContainmentLink(0x798100da4f0a421aL, 0xb99171f8c50ce5d2L, 0x7f76698a394d9ab2L, 0x7f76698a394e2d1eL, "handlers")), MetaAdapterFactory.getConcept(0x798100da4f0a421aL, 0xb99171f8c50ce5d2L, 0x7f76698a39527643L, "jetbrains.mps.build.structure.BuildLayout_CopyFilter")); } public static Iterable<SNode> sourceNodesQuery_6977615362525734877(final SourceSubstituteMacroNodesContext _context) { return SNodeOperations.ofConcept(SLinkOperations.getChildren(_context.getNode(), MetaAdapterFactory.getContainmentLink(0x798100da4f0a421aL, 0xb99171f8c50ce5d2L, 0x7f76698a394d9ab2L, 0x7f76698a394e2d1eL, "handlers")), MetaAdapterFactory.getConcept(0x798100da4f0a421aL, 0xb99171f8c50ce5d2L, 0x60d5783406a77552L, "jetbrains.mps.build.structure.BuildLayout_CopyMapper")); } public static Iterable<SNode> sourceNodesQuery_6977615362525734897(final SourceSubstituteMacroNodesContext _context) { List<SNode> list = Sequence.fromIterable(SNodeOperations.ofConcept(SLinkOperations.getChildren(_context.getNode(), MetaAdapterFactory.getContainmentLink(0x798100da4f0a421aL, 0xb99171f8c50ce5d2L, 0x7f76698a394d9ab2L, 0x7f76698a394e2d1eL, "handlers")), MetaAdapterFactory.getConcept(0x798100da4f0a421aL, 0xb99171f8c50ce5d2L, 0x60d5783406a77552L, "jetbrains.mps.build.structure.BuildLayout_CopyMapper"))).toListSequence(); return (ListSequence.fromList(list).count() == 1 ? list : Collections.<SNode>emptyList()); } public static Iterable<SNode> sourceNodesQuery_6789562173791600095(final SourceSubstituteMacroNodesContext _context) { return ListSequence.fromList(SLinkOperations.getChildren(_context.getNode(), MetaAdapterFactory.getContainmentLink(0x798100da4f0a421aL, 0xb99171f8c50ce5d2L, 0x4ddcec86af9fdb53L, 0x5e395ed30d43f65aL, "selectors"))).where(new IWhereFilter<SNode>() { public boolean accept(SNode it) { return !(SNodeOperations.isInstanceOf(it, MetaAdapterFactory.getInterfaceConcept(0x798100da4f0a421aL, 0xb99171f8c50ce5d2L, 0x7819f90ca2eb7c4bL, "jetbrains.mps.build.structure.BuildFileSelectorInAttribute"))); } }); } public static Iterable<SNode> sourceNodesQuery_6789562173791600116(final SourceSubstituteMacroNodesContext _context) { return ListSequence.fromList(SLinkOperations.getChildren(_context.getNode(), MetaAdapterFactory.getContainmentLink(0x798100da4f0a421aL, 0xb99171f8c50ce5d2L, 0x4ddcec86af9fdb53L, 0x5e395ed30d43f65aL, "selectors"))).where(new IWhereFilter<SNode>() { public boolean accept(SNode it) { return SNodeOperations.isInstanceOf(it, MetaAdapterFactory.getInterfaceConcept(0x798100da4f0a421aL, 0xb99171f8c50ce5d2L, 0x7819f90ca2eb7c4bL, "jetbrains.mps.build.structure.BuildFileSelectorInAttribute")); } }); } public static Iterable<SNode> sourceNodesQuery_733309334559664212(final SourceSubstituteMacroNodesContext _context) { return SLinkOperations.collect(SLinkOperations.collect(SNodeOperations.ofConcept(SLinkOperations.getChildren(_context.getNode(), MetaAdapterFactory.getContainmentLink(0x798100da4f0a421aL, 0xb99171f8c50ce5d2L, 0x668c6cfbafacdc38L, 0x668c6cfbafacdc62L, "sources")), MetaAdapterFactory.getConcept(0x798100da4f0a421aL, 0xb99171f8c50ce5d2L, 0x14d3fb6fb8480882L, "jetbrains.mps.build.structure.BuildSource_JavaFiles")), MetaAdapterFactory.getContainmentLink(0x798100da4f0a421aL, 0xb99171f8c50ce5d2L, 0x14d3fb6fb8480882L, 0x14d3fb6fb8480883L, "resset")), MetaAdapterFactory.getContainmentLink(0x798100da4f0a421aL, 0xb99171f8c50ce5d2L, 0x1ff930b22643b0ffL, 0x1ff930b22643b100L, "path")); } public static Iterable<SNode> sourceNodesQuery_7926701909975671841(final SourceSubstituteMacroNodesContext _context) { return SLinkOperations.getChildren(_context.getNode(), MetaAdapterFactory.getContainmentLink(0x798100da4f0a421aL, 0xb99171f8c50ce5d2L, 0x668c6cfbafacdc38L, 0x668c6cfbafacdc62L, "sources")); } public static Iterable<SNode> sourceNodesQuery_5979287180587467230(final SourceSubstituteMacroNodesContext _context) { List<SNode> result = new ArrayList<SNode>(); for (SNode module : ((JavaModulesClosure) _context.getVariable("var:depsClosure")).getModules()) { SNode loopnode = SModelOperations.createNewNode(_context.getOutputModel(), null, MetaAdapterFactory.getConcept(0x798100da4f0a421aL, 0xb99171f8c50ce5d2L, 0x44e5dd192e7c0c18L, "jetbrains.mps.build.structure.GeneratorInternal_BuildSource_JavaModule")); SLinkOperations.setTarget(loopnode, MetaAdapterFactory.getReferenceLink(0x798100da4f0a421aL, 0xb99171f8c50ce5d2L, 0x44e5dd192e7c0c18L, 0x44e5dd192e7c0c19L, "targetModule"), module); ListSequence.fromList(result).addElement(loopnode); } return result; } public static Iterable<SNode> sourceNodesQuery_8169228734285529277(final SourceSubstituteMacroNodesContext _context) { List<SNode> result = new ArrayList<SNode>(); for (SNode jar : ((JavaModulesClosure) _context.getVariable("var:depsClosure")).getJars()) { SNode loopnode = SModelOperations.createNewNode(_context.getOutputModel(), null, MetaAdapterFactory.getConcept(0x798100da4f0a421aL, 0xb99171f8c50ce5d2L, 0x44e5dd192e7c0de4L, "jetbrains.mps.build.structure.GeneratorInternal_BuildSource_JavaJar")); SLinkOperations.setTarget(loopnode, MetaAdapterFactory.getReferenceLink(0x798100da4f0a421aL, 0xb99171f8c50ce5d2L, 0x44e5dd192e7c0de4L, 0x44e5dd192e7c0de5L, "targetJar"), jar); ListSequence.fromList(result).addElement(loopnode); } return result; } public static Iterable<SNode> sourceNodesQuery_6859736767834590289(final SourceSubstituteMacroNodesContext _context) { List<SNode> result = new ArrayList<SNode>(); for (SNode jar : ((JavaModulesClosure) _context.getVariable("var:depsClosure")).getExternalJars()) { SNode loopnode = SModelOperations.createNewNode(_context.getOutputModel(), null, MetaAdapterFactory.getConcept(0x798100da4f0a421aL, 0xb99171f8c50ce5d2L, 0x44e5dd192e7c0d4aL, "jetbrains.mps.build.structure.GeneratorInternal_BuildSource_SingleFile")); SLinkOperations.setTarget(loopnode, MetaAdapterFactory.getReferenceLink(0x798100da4f0a421aL, 0xb99171f8c50ce5d2L, 0x44e5dd192e7c0d4aL, 0x44e5dd192e7c0d4bL, "targetFile"), jar); ListSequence.fromList(result).addElement(loopnode); } return result; } public static Iterable<SNode> sourceNodesQuery_5680938682773841356(final SourceSubstituteMacroNodesContext _context) { List<SNode> result = new ArrayList<SNode>(); for (Tuples._2<SNode, String> jarInFolder : ((JavaModulesClosure) _context.getVariable("var:depsClosure")).getExternalJarsInFolder()) { SNode loopnode = SModelOperations.createNewNode(_context.getOutputModel(), null, MetaAdapterFactory.getConcept(0x798100da4f0a421aL, 0xb99171f8c50ce5d2L, 0x508044c9892402f6L, "jetbrains.mps.build.structure.GeneratorInternal_BuildSource_JarFolder")); SLinkOperations.setTarget(loopnode, MetaAdapterFactory.getReferenceLink(0x798100da4f0a421aL, 0xb99171f8c50ce5d2L, 0x508044c9892402f6L, 0x508044c9892402f7L, "targetFolder"), jarInFolder._0()); SPropertyOperations.set(loopnode, MetaAdapterFactory.getProperty(0x798100da4f0a421aL, 0xb99171f8c50ce5d2L, 0x508044c9892402f6L, 0x508044c9892587e8L, "suffix"), jarInFolder._1()); ListSequence.fromList(result).addElement(loopnode); } return result; } public static Iterable<SNode> sourceNodesQuery_144710003695560909(final SourceSubstituteMacroNodesContext _context) { List<SNode> result = new ArrayList<SNode>(); for (SNode library : ((JavaModulesClosure) _context.getVariable("var:depsClosure")).getLibraries()) { SNode loopnode = SModelOperations.createNewNode(_context.getOutputModel(), null, MetaAdapterFactory.getConcept(0x798100da4f0a421aL, 0xb99171f8c50ce5d2L, 0x44e5dd192e7c0e6fL, "jetbrains.mps.build.structure.GeneratorInternal_BuildSource_JavaLibrary")); SLinkOperations.setTarget(loopnode, MetaAdapterFactory.getReferenceLink(0x798100da4f0a421aL, 0xb99171f8c50ce5d2L, 0x44e5dd192e7c0e6fL, 0x44e5dd192e7c0e70L, "targetLibrary"), library); ListSequence.fromList(result).addElement(loopnode); } return result; } public static Iterable<SNode> sourceNodesQuery_6647099934207033969(final SourceSubstituteMacroNodesContext _context) { return ListSequence.fromList(SLinkOperations.getChildren(_context.getNode(), MetaAdapterFactory.getContainmentLink(0x798100da4f0a421aL, 0xb99171f8c50ce5d2L, 0x668c6cfbafacdc38L, 0x263ae7d4319896abL, "dependencies"))).where(new IWhereFilter<SNode>() { public boolean accept(SNode it) { return !(SNodeOperations.isInstanceOf(it, MetaAdapterFactory.getConcept(0x798100da4f0a421aL, 0xb99171f8c50ce5d2L, 0x454b730dd9079dceL, "jetbrains.mps.build.structure.BuildSource_JavaDependencyLibrary"))) && !(SNodeOperations.isInstanceOf(it, MetaAdapterFactory.getConcept(0x798100da4f0a421aL, 0xb99171f8c50ce5d2L, 0x263ae7d4319896a7L, "jetbrains.mps.build.structure.BuildSource_JavaDependencyModule"))) && !(SNodeOperations.isInstanceOf(it, MetaAdapterFactory.getConcept(0x798100da4f0a421aL, 0xb99171f8c50ce5d2L, 0x3395e884b6185c40L, "jetbrains.mps.build.structure.BuildSource_JavaDependencyJar"))) && !(SNodeOperations.isInstanceOf(it, MetaAdapterFactory.getConcept(0x798100da4f0a421aL, 0xb99171f8c50ce5d2L, 0x5f32ae3ef3770dd4L, "jetbrains.mps.build.structure.BuildSource_JavaDependencyExternalJar"))); } }); } public static Iterable<SNode> sourceNodesQuery_1659807394254753603(final SourceSubstituteMacroNodesContext _context) { return SLinkOperations.collect(SNodeOperations.ofConcept(SLinkOperations.getChildren(_context.getNode(), MetaAdapterFactory.getContainmentLink(0x798100da4f0a421aL, 0xb99171f8c50ce5d2L, 0x668c6cfbafacdc38L, 0x668c6cfbafacdc62L, "sources")), MetaAdapterFactory.getConcept(0x798100da4f0a421aL, 0xb99171f8c50ce5d2L, 0x1708d207f21e006dL, "jetbrains.mps.build.structure.BuildSource_JavaResources")), MetaAdapterFactory.getContainmentLink(0x798100da4f0a421aL, 0xb99171f8c50ce5d2L, 0x1708d207f21e006dL, 0x1708d207f21e0070L, "fileset")); } public static Iterable<SNode> sourceNodesQuery_8055294676438890950(final SourceSubstituteMacroNodesContext _context) { return SNodeOperations.ofConcept(SLinkOperations.getChildren(((SNode) _context.getVariable("var:javaOpts")), MetaAdapterFactory.getContainmentLink(0x798100da4f0a421aL, 0xb99171f8c50ce5d2L, 0xcdff0e1a96739c2L, 0xcdff0e1a96739c7L, "resourceSelectors")), MetaAdapterFactory.getInterfaceConcept(0x798100da4f0a421aL, 0xb99171f8c50ce5d2L, 0x7819f90ca2eb7c4bL, "jetbrains.mps.build.structure.BuildFileSelectorInAttribute")); } public static Iterable<SNode> sourceNodesQuery_8055294676438890049(final SourceSubstituteMacroNodesContext _context) { Iterable<String> folders = Sequence.fromIterable(SNodeOperations.ofConcept(SLinkOperations.getChildren(_context.getNode(), MetaAdapterFactory.getContainmentLink(0x798100da4f0a421aL, 0xb99171f8c50ce5d2L, 0x668c6cfbafacdc38L, 0x668c6cfbafacdc62L, "sources")), MetaAdapterFactory.getConcept(0x798100da4f0a421aL, 0xb99171f8c50ce5d2L, 0x14d3fb6fb8480882L, "jetbrains.mps.build.structure.BuildSource_JavaFiles"))).select(new ISelector<SNode, String>() { public String select(SNode it) { return (String) BuildSourcePath__BehaviorDescriptor.getAntPath_id7ro1ZztyOh5.invoke(SLinkOperations.getTarget(SLinkOperations.getTarget(it, MetaAdapterFactory.getContainmentLink(0x798100da4f0a421aL, 0xb99171f8c50ce5d2L, 0x14d3fb6fb8480882L, 0x14d3fb6fb8480883L, "resset")), MetaAdapterFactory.getContainmentLink(0x798100da4f0a421aL, 0xb99171f8c50ce5d2L, 0x1ff930b22643b0ffL, 0x1ff930b22643b100L, "path")), Context.defaultContext(_context)); } }); folders = Sequence.fromIterable(folders).concat(Sequence.fromIterable(SNodeOperations.ofConcept(SLinkOperations.getChildren(_context.getNode(), MetaAdapterFactory.getContainmentLink(0x798100da4f0a421aL, 0xb99171f8c50ce5d2L, 0x668c6cfbafacdc38L, 0x668c6cfbafacdc62L, "sources")), MetaAdapterFactory.getConcept(0x798100da4f0a421aL, 0xb99171f8c50ce5d2L, 0x668c6cfbafacdc52L, "jetbrains.mps.build.structure.BuildSource_JavaContentRoot"))).translate(new ITranslator2<SNode, String>() { public Iterable<String> translate(SNode it) { final String relativePath = BuildSourcePath__BehaviorDescriptor.getAntPath_id7ro1ZztyOh5.invoke(SLinkOperations.getTarget(it, MetaAdapterFactory.getContainmentLink(0x798100da4f0a421aL, 0xb99171f8c50ce5d2L, 0x668c6cfbafacdc52L, 0x668c6cfbafacdc53L, "basePath")), Context.defaultContext(_context)); return ListSequence.fromList(SLinkOperations.getChildren(it, MetaAdapterFactory.getContainmentLink(0x798100da4f0a421aL, 0xb99171f8c50ce5d2L, 0x668c6cfbafacdc52L, 0x263ae7d4319546cdL, "folders"))).where(new IWhereFilter<SNode>() { public boolean accept(SNode ifolder) { return SPropertyOperations.hasValue(ifolder, MetaAdapterFactory.getProperty(0x798100da4f0a421aL, 0xb99171f8c50ce5d2L, 0x263ae7d4319546c6L, 0x48d5d03db92974fbL, "kind"), "source", null) || SPropertyOperations.hasValue(ifolder, MetaAdapterFactory.getProperty(0x798100da4f0a421aL, 0xb99171f8c50ce5d2L, 0x263ae7d4319546c6L, 0x48d5d03db92974fbL, "kind"), "test", null); } }).select(new ISelector<SNode, String>() { public String select(SNode ifolder) { return relativePath + "/" + SPropertyOperations.getString(ifolder, MetaAdapterFactory.getProperty(0x798100da4f0a421aL, 0xb99171f8c50ce5d2L, 0x263ae7d4319546c6L, 0x263ae7d4319546c7L, "relativePath")); } }); } })); List<SNode> result = new ArrayList<SNode>(); for (String fname : folders) { SNode loopnode = SModelOperations.createNewNode(_context.getOutputModel(), null, MetaAdapterFactory.getConcept(0x798100da4f0a421aL, 0xb99171f8c50ce5d2L, 0x508044c9892875c0L, "jetbrains.mps.build.structure.GeneratorInternal_BuildSource_Folder")); SPropertyOperations.set(loopnode, MetaAdapterFactory.getProperty(0x798100da4f0a421aL, 0xb99171f8c50ce5d2L, 0x508044c9892875c0L, 0x508044c989287946L, "folderName"), fname); ListSequence.fromList(result).addElement(loopnode); } return result; } public static Iterable<SNode> sourceNodesQuery_8055294676438891186(final SourceSubstituteMacroNodesContext _context) { return ListSequence.fromList(SLinkOperations.getChildren(((SNode) _context.getVariable("var:javaOpts")), MetaAdapterFactory.getContainmentLink(0x798100da4f0a421aL, 0xb99171f8c50ce5d2L, 0xcdff0e1a96739c2L, 0xcdff0e1a96739c7L, "resourceSelectors"))).where(new IWhereFilter<SNode>() { public boolean accept(SNode it) { return !(SNodeOperations.isInstanceOf(it, MetaAdapterFactory.getInterfaceConcept(0x798100da4f0a421aL, 0xb99171f8c50ce5d2L, 0x7819f90ca2eb7c4bL, "jetbrains.mps.build.structure.BuildFileSelectorInAttribute"))); } }); } public static Iterable<SNode> sourceNodesQuery_7926701909975671863(final SourceSubstituteMacroNodesContext _context) { return ListSequence.fromList(SLinkOperations.getChildren(_context.getNode(), MetaAdapterFactory.getContainmentLink(0x798100da4f0a421aL, 0xb99171f8c50ce5d2L, 0x668c6cfbafacdc52L, 0x263ae7d4319546cdL, "folders"))).where(new IWhereFilter<SNode>() { public boolean accept(SNode it) { return SPropertyOperations.hasValue(it, MetaAdapterFactory.getProperty(0x798100da4f0a421aL, 0xb99171f8c50ce5d2L, 0x263ae7d4319546c6L, 0x48d5d03db92974fbL, "kind"), "source", null) || SPropertyOperations.hasValue(it, MetaAdapterFactory.getProperty(0x798100da4f0a421aL, 0xb99171f8c50ce5d2L, 0x263ae7d4319546c6L, 0x48d5d03db92974fbL, "kind"), "test", null); } }); } public static Iterable<SNode> sourceNodesQuery_144710003695560923(final SourceSubstituteMacroNodesContext _context) { return SLinkOperations.getChildren(_context.getNode(), MetaAdapterFactory.getContainmentLink(0x798100da4f0a421aL, 0xb99171f8c50ce5d2L, 0x540febaa6144b873L, 0x540febaa6144e311L, "elements")); } public static Iterable<SNode> sourceNodesQuery_8654221991637384265(final SourceSubstituteMacroNodesContext _context) { return SNodeOperations.ofConcept(SLinkOperations.getChildren(_context.getNode(), MetaAdapterFactory.getContainmentLink(0x798100da4f0a421aL, 0xb99171f8c50ce5d2L, 0x48d5d03db92245a4L, 0x48d5d03db92245f7L, "selectors")), MetaAdapterFactory.getInterfaceConcept(0x798100da4f0a421aL, 0xb99171f8c50ce5d2L, 0x7819f90ca2eb7c4bL, "jetbrains.mps.build.structure.BuildFileSelectorInAttribute")); } public static Iterable<SNode> sourceNodesQuery_5248329904288079434(final SourceSubstituteMacroNodesContext _context) { return ListSequence.fromList(SLinkOperations.getChildren(_context.getNode(), MetaAdapterFactory.getContainmentLink(0x798100da4f0a421aL, 0xb99171f8c50ce5d2L, 0x48d5d03db92245a4L, 0x48d5d03db92245f7L, "selectors"))).where(new IWhereFilter<SNode>() { public boolean accept(SNode it) { return !(SNodeOperations.isInstanceOf(it, MetaAdapterFactory.getInterfaceConcept(0x798100da4f0a421aL, 0xb99171f8c50ce5d2L, 0x7819f90ca2eb7c4bL, "jetbrains.mps.build.structure.BuildFileSelectorInAttribute"))); } }); } public static Iterable<SNode> sourceNodesQuery_8654221991637384349(final SourceSubstituteMacroNodesContext _context) { return SNodeOperations.ofConcept(SLinkOperations.getChildren(_context.getNode(), MetaAdapterFactory.getContainmentLink(0x798100da4f0a421aL, 0xb99171f8c50ce5d2L, 0x6d2aa38ffdbd053fL, 0x6d2aa38ffdbd0543L, "selectors")), MetaAdapterFactory.getInterfaceConcept(0x798100da4f0a421aL, 0xb99171f8c50ce5d2L, 0x7819f90ca2eb7c4bL, "jetbrains.mps.build.structure.BuildFileSelectorInAttribute")); } public static Iterable<SNode> sourceNodesQuery_7866279537988669091(final SourceSubstituteMacroNodesContext _context) { return ListSequence.fromList(SLinkOperations.getChildren(_context.getNode(), MetaAdapterFactory.getContainmentLink(0x798100da4f0a421aL, 0xb99171f8c50ce5d2L, 0x6d2aa38ffdbd053fL, 0x6d2aa38ffdbd0543L, "selectors"))).where(new IWhereFilter<SNode>() { public boolean accept(SNode it) { return !(SNodeOperations.isInstanceOf(it, MetaAdapterFactory.getInterfaceConcept(0x798100da4f0a421aL, 0xb99171f8c50ce5d2L, 0x7819f90ca2eb7c4bL, "jetbrains.mps.build.structure.BuildFileSelectorInAttribute"))); } }); } public static Iterable<SNode> sourceNodesQuery_4701820937132337458(final SourceSubstituteMacroNodesContext _context) { return SLinkOperations.getChildren(_context.getNode(), MetaAdapterFactory.getContainmentLink(0x798100da4f0a421aL, 0xb99171f8c50ce5d2L, 0x4140393b23438dabL, 0x4140393b23438dacL, "parts")); } public static Iterable<SNode> sourceNodesQuery_4701820937132337542(final SourceSubstituteMacroNodesContext _context) { return SNodeOperations.getNodeDescendants(_context.getNode(), MetaAdapterFactory.getConcept(0x798100da4f0a421aL, 0xb99171f8c50ce5d2L, 0x668c6cfbafac4c85L, "jetbrains.mps.build.structure.BuildLayout_Node"), false, new SAbstractConcept[]{}); } public static Iterable<SNode> sourceNodesQuery_6837653846148442091(final SourceSubstituteMacroNodesContext _context) { return (Iterable<SNode>) BuildLayout_JarManifest__BehaviorDescriptor.getAttributes_id7ro1Zzt_na1.invoke(_context.getNode()); } public static Iterable<SNode> sourceNodesQuery_6837653846148442133(final SourceSubstituteMacroNodesContext _context) { return SLinkOperations.getChildren(_context.getNode(), MetaAdapterFactory.getContainmentLink(0x798100da4f0a421aL, 0xb99171f8c50ce5d2L, 0x115d3b22faf47d7bL, 0x115d3b22faf47d7cL, "attribute")); } public static Iterable<SNode> sourceNodesQuery_6837653846148442156(final SourceSubstituteMacroNodesContext _context) { return (Iterable<SNode>) BuildLayout_JarManifest__BehaviorDescriptor.getSections_id7ro1Zzt_n6o.invoke(_context.getNode()); } public static Iterable<SNode> sourceNodesQuery_1117643560963307378(final SourceSubstituteMacroNodesContext _context) { return SLinkOperations.getChildren(_context.getNode(), MetaAdapterFactory.getContainmentLink(0x798100da4f0a421aL, 0xb99171f8c50ce5d2L, 0x4df58c6f18f84a13L, 0x4df58c6f18f84a22L, "macros")); } public static Iterable<SNode> sourceNodesQuery_4129895186893528610(final SourceSubstituteMacroNodesContext _context) { return SNodeOperations.ofConcept(SLinkOperations.getChildren(_context.getNode(), MetaAdapterFactory.getContainmentLink(0x798100da4f0a421aL, 0xb99171f8c50ce5d2L, 0x4df58c6f18f84a13L, 0x4df58c6f18f84a25L, "dependencies")), MetaAdapterFactory.getConcept(0x798100da4f0a421aL, 0xb99171f8c50ce5d2L, 0x454b730dd908c220L, "jetbrains.mps.build.structure.BuildProjectDependency")); } public static Iterable<SNode> sourceNodesQuery_7181125477683419217(final SourceSubstituteMacroNodesContext _context) { return SNodeOperations.ofConcept(SLinkOperations.getChildren(_context.getNode(), MetaAdapterFactory.getContainmentLink(0x798100da4f0a421aL, 0xb99171f8c50ce5d2L, 0x4df58c6f18f84a13L, 0x4df58c6f18f84a25L, "dependencies")), MetaAdapterFactory.getConcept(0x798100da4f0a421aL, 0xb99171f8c50ce5d2L, 0x63a87b9320d3d0a4L, "jetbrains.mps.build.structure.BuildExternalLayoutDependency")); } public static Iterable<SNode> sourceNodesQuery_6520682027041002163(final SourceSubstituteMacroNodesContext _context) { return (Iterable<SNode>) ((MacroHelper) _context.getVariable("var:macroHelper")).getVarsContainers(); } public static Iterable<SNode> sourceNodesQuery_6520682027040940372(final SourceSubstituteMacroNodesContext _context) { return (Iterable<SNode>) ((MacroHelper) _context.getVariable("var:macroHelper")).getMacrosToImport(); } public static Iterable<SNode> sourceNodesQuery_8433645492464631848(final SourceSubstituteMacroNodesContext _context) { return SLinkOperations.getChildren(_context.getNode(), MetaAdapterFactory.getContainmentLink(0x798100da4f0a421aL, 0xb99171f8c50ce5d2L, 0x4df58c6f18f84a13L, 0x5c3f3e2c1ce9ac70L, "plugins")); } public static Iterable<SNode> sourceNodesQuery_1117643560963346309(final SourceSubstituteMacroNodesContext _context) { return SLinkOperations.getChildren(_context.getNode(), MetaAdapterFactory.getContainmentLink(0x798100da4f0a421aL, 0xb99171f8c50ce5d2L, 0x4df58c6f18f84a13L, 0x668c6cfbafacf6f2L, "parts")); } public static Iterable<SNode> sourceNodesQuery_4701820937132337365(final SourceSubstituteMacroNodesContext _context) { return SLinkOperations.getChildren(_context.getNode(), MetaAdapterFactory.getContainmentLink(0x798100da4f0a421aL, 0xb99171f8c50ce5d2L, 0x4df58c6f18f84a13L, 0x31292e1a60db57afL, "aspects")); } public static Iterable<SNode> sourceNodesQuery_6854204111265743219(final SourceSubstituteMacroNodesContext _context) { Map<SNode, SNode> participantForTask = MapSequence.fromMap(new LinkedHashMap<SNode, SNode>(16, (float) 0.75, false)); List<SNode> list = ListSequence.fromList(new ArrayList<SNode>()); for (SNode participant : ListSequence.fromList(SNodeOperations.getNodeDescendants(_context.getNode(), MetaAdapterFactory.getInterfaceConcept(0x798100da4f0a421aL, 0xb99171f8c50ce5d2L, 0x546bf9ab92fe0b3fL, "jetbrains.mps.build.structure.IWorkflowParticipant"), false, new SAbstractConcept[]{})).reversedList()) { SNode targetTask = IWorkflowParticipant__BehaviorDescriptor.getTargetTask_id5Wv1_bQ1rcK.invoke(participant); if (MapSequence.fromMap(participantForTask).get(targetTask) == null) { MapSequence.fromMap(participantForTask).put(targetTask, SConceptOperations.createNewNode(MetaAdapterFactory.getConcept(0x798100da4f0a421aL, 0xb99171f8c50ce5d2L, 0x5f1f0652f6049405L, "jetbrains.mps.build.structure.GeneratorInternal_IWorkfowParticipants"))); SLinkOperations.setTarget(MapSequence.fromMap(participantForTask).get(targetTask), MetaAdapterFactory.getReferenceLink(0x798100da4f0a421aL, 0xb99171f8c50ce5d2L, 0x5f1f0652f6049405L, 0x5f1f0652f6049406L, "for"), targetTask); ListSequence.fromList(list).addElement(MapSequence.fromMap(participantForTask).get(targetTask)); } SNode ref = SConceptOperations.createNewNode(MetaAdapterFactory.getConcept(0x798100da4f0a421aL, 0xb99171f8c50ce5d2L, 0x5c860be1bc5cc1c8L, "jetbrains.mps.build.structure.GeneratorInternal_IWorkflowParticipantReference")); SLinkOperations.setTarget(ref, MetaAdapterFactory.getReferenceLink(0x798100da4f0a421aL, 0xb99171f8c50ce5d2L, 0x5c860be1bc5cc1c8L, 0x5c860be1bc5cc1c9L, "participant"), participant); ListSequence.fromList(SLinkOperations.getChildren(MapSequence.fromMap(participantForTask).get(targetTask), MetaAdapterFactory.getContainmentLink(0x798100da4f0a421aL, 0xb99171f8c50ce5d2L, 0x5f1f0652f6049405L, 0x5f1f0652f6049407L, "participant"))).addElement(ref); } return list; } public static Iterable<SNode> sourceNodesQuery_6854204111265839256(final SourceSubstituteMacroNodesContext _context) { return SLinkOperations.collect(SLinkOperations.getChildren(_context.getNode(), MetaAdapterFactory.getContainmentLink(0x798100da4f0a421aL, 0xb99171f8c50ce5d2L, 0x5f1f0652f6049405L, 0x5f1f0652f6049407L, "participant")), MetaAdapterFactory.getReferenceLink(0x798100da4f0a421aL, 0xb99171f8c50ce5d2L, 0x5c860be1bc5cc1c8L, 0x5c860be1bc5cc1c9L, "participant")); } public static Iterable<SNode> sourceNodesQuery_1117643560963267906(final SourceSubstituteMacroNodesContext _context) { return SNodeOperations.getNodeDescendants(SLinkOperations.getTarget(_context.getNode(), MetaAdapterFactory.getContainmentLink(0x798100da4f0a421aL, 0xb99171f8c50ce5d2L, 0x4df58c6f18f84a13L, 0x4df58c6f18f84a1cL, "layout")), MetaAdapterFactory.getConcept(0x798100da4f0a421aL, 0xb99171f8c50ce5d2L, 0x668c6cfbafac4c85L, "jetbrains.mps.build.structure.BuildLayout_Node"), false, new SAbstractConcept[]{}); } public static Iterable<SNode> sourceNodesQuery_6520682027041196812(final SourceSubstituteMacroNodesContext _context) { return ((List<SNode>) _context.getVariable("var:dependency")); } public static Iterable<SNode> sourceNodesQuery_6647099934206970591(final SourceSubstituteMacroNodesContext _context) { return SLinkOperations.getChildren(_context.getNode(), MetaAdapterFactory.getContainmentLink(0x798100da4f0a421aL, 0xb99171f8c50ce5d2L, 0x4df58c6f18f84a13L, 0x5c3f3e2c1ce9ac70L, "plugins")); } public static Iterable<SNode> sourceNodesQuery_6789562173791401780(final SourceSubstituteMacroNodesContext _context) { return ListSequence.fromList(SLinkOperations.getChildren(_context.getNode(), MetaAdapterFactory.getContainmentLink(0x798100da4f0a421aL, 0xb99171f8c50ce5d2L, 0x4ddcec86af9fdb53L, 0x5e395ed30d43f65aL, "selectors"))).where(new IWhereFilter<SNode>() { public boolean accept(SNode it) { return SNodeOperations.isInstanceOf(it, MetaAdapterFactory.getInterfaceConcept(0x798100da4f0a421aL, 0xb99171f8c50ce5d2L, 0x7819f90ca2eb7c4bL, "jetbrains.mps.build.structure.BuildFileSelectorInAttribute")); } }); } public static Iterable<SNode> sourceNodesQuery_6789562173791401759(final SourceSubstituteMacroNodesContext _context) { return ListSequence.fromList(SLinkOperations.getChildren(_context.getNode(), MetaAdapterFactory.getContainmentLink(0x798100da4f0a421aL, 0xb99171f8c50ce5d2L, 0x4ddcec86af9fdb53L, 0x5e395ed30d43f65aL, "selectors"))).where(new IWhereFilter<SNode>() { public boolean accept(SNode it) { return !(SNodeOperations.isInstanceOf(it, MetaAdapterFactory.getInterfaceConcept(0x798100da4f0a421aL, 0xb99171f8c50ce5d2L, 0x7819f90ca2eb7c4bL, "jetbrains.mps.build.structure.BuildFileSelectorInAttribute"))); } }); } public static Iterable<SNode> sourceNodesQuery_6408167411310621656(final SourceSubstituteMacroNodesContext _context) { return ListSequence.fromList(SLinkOperations.getChildren(_context.getNode(), MetaAdapterFactory.getContainmentLink(0x798100da4f0a421aL, 0xb99171f8c50ce5d2L, 0x48d5d03db92245a4L, 0x48d5d03db92245f7L, "selectors"))).where(new IWhereFilter<SNode>() { public boolean accept(SNode it) { return SNodeOperations.isInstanceOf(it, MetaAdapterFactory.getInterfaceConcept(0x798100da4f0a421aL, 0xb99171f8c50ce5d2L, 0x7819f90ca2eb7c4bL, "jetbrains.mps.build.structure.BuildFileSelectorInAttribute")); } }); } public static Iterable<SNode> sourceNodesQuery_6408167411310621677(final SourceSubstituteMacroNodesContext _context) { return ListSequence.fromList(SLinkOperations.getChildren(_context.getNode(), MetaAdapterFactory.getContainmentLink(0x798100da4f0a421aL, 0xb99171f8c50ce5d2L, 0x48d5d03db92245a4L, 0x48d5d03db92245f7L, "selectors"))).where(new IWhereFilter<SNode>() { public boolean accept(SNode it) { return !(SNodeOperations.isInstanceOf(it, MetaAdapterFactory.getInterfaceConcept(0x798100da4f0a421aL, 0xb99171f8c50ce5d2L, 0x7819f90ca2eb7c4bL, "jetbrains.mps.build.structure.BuildFileSelectorInAttribute"))); } }); } public static Iterable<SNode> sourceNodesQuery_8775597636506088245(final SourceSubstituteMacroNodesContext _context) { return SLinkOperations.getChildren(_context.getNode(), MetaAdapterFactory.getContainmentLink(0x798100da4f0a421aL, 0xb99171f8c50ce5d2L, 0x35951dfcf9e0ba02L, 0x35951dfcf9e0bd1fL, "attrs")); } public static Iterable<SNode> sourceNodesQuery_5979287180587467422(final SourceSubstituteMacroNodesContext _context) { SNode project = SNodeOperations.getNodeAncestor(_context.getNode(), MetaAdapterFactory.getConcept(0x798100da4f0a421aL, 0xb99171f8c50ce5d2L, 0x4df58c6f18f84a13L, "jetbrains.mps.build.structure.BuildProject"), false, false); if (project == null) { _context.showErrorMessage(_context.getNode(), "no context project defined"); return Collections.emptyList(); } DependenciesHelper helper = new DependenciesHelper(_context, project); return new JavaExternalLibraryHelper(helper, ((SNode) _context.getVariable("library")), _context).artifacts(); } public static Iterable<SNode> sourceNodesQuery_2750015747481207044(final SourceSubstituteMacroNodesContext _context) { return ListSequence.fromList(SLinkOperations.getChildren(_context.getNode(), MetaAdapterFactory.getContainmentLink(0x798100da4f0a421aL, 0xb99171f8c50ce5d2L, 0x7ea63ceef6e8c0edL, 0x7ea63ceef6e8c126L, "parameters"))).where(new IWhereFilter<SNode>() { public boolean accept(SNode it) { return SNodeOperations.isInstanceOf(it, MetaAdapterFactory.getConcept(0x798100da4f0a421aL, 0xb99171f8c50ce5d2L, 0x7f76698a394dcc33L, "jetbrains.mps.build.structure.BuildLayout_CopyHandler")); } }); } public static Iterable<SNode> sourceNodesQuery_2750015747481063235(final SourceSubstituteMacroNodesContext _context) { return ListSequence.fromList(SLinkOperations.getChildren(_context.getNode(), MetaAdapterFactory.getContainmentLink(0x798100da4f0a421aL, 0xb99171f8c50ce5d2L, 0x7ea63ceef6e8c0edL, 0x7ea63ceef6e8c126L, "parameters"))).where(new IWhereFilter<SNode>() { public boolean accept(SNode it) { return SNodeOperations.isInstanceOf(it, MetaAdapterFactory.getConcept(0x798100da4f0a421aL, 0xb99171f8c50ce5d2L, 0x7f76698a394dcc33L, "jetbrains.mps.build.structure.BuildLayout_CopyHandler")); } }); } public static Iterable<SNode> sourceNodesQuery_2750015747481074544(final SourceSubstituteMacroNodesContext _context) { return ListSequence.fromList(SLinkOperations.getChildren(_context.getNode(), MetaAdapterFactory.getContainmentLink(0x798100da4f0a421aL, 0xb99171f8c50ce5d2L, 0x262a04c08b56faffL, 0x262a04c08b56fb01L, "parameters"))).where(new IWhereFilter<SNode>() { public boolean accept(SNode it) { return SNodeOperations.isInstanceOf(it, MetaAdapterFactory.getConcept(0x798100da4f0a421aL, 0xb99171f8c50ce5d2L, 0x7f76698a394dcc33L, "jetbrains.mps.build.structure.BuildLayout_CopyHandler")); } }); } public static Iterable<SNode> sourceNodesQuery_2750015747481074590(final SourceSubstituteMacroNodesContext _context) { return ListSequence.fromList(SLinkOperations.getChildren(_context.getNode(), MetaAdapterFactory.getContainmentLink(0x798100da4f0a421aL, 0xb99171f8c50ce5d2L, 0x262a04c08b56faffL, 0x262a04c08b56fb01L, "parameters"))).where(new IWhereFilter<SNode>() { public boolean accept(SNode it) { return !(SNodeOperations.isInstanceOf(it, MetaAdapterFactory.getConcept(0x798100da4f0a421aL, 0xb99171f8c50ce5d2L, 0x7f76698a394dcc33L, "jetbrains.mps.build.structure.BuildLayout_CopyHandler"))); } }); } public static Iterable<SNode> sourceNodesQuery_2750015747481074656(final SourceSubstituteMacroNodesContext _context) { return ListSequence.fromList(SLinkOperations.getChildren(_context.getNode(), MetaAdapterFactory.getContainmentLink(0x798100da4f0a421aL, 0xb99171f8c50ce5d2L, 0x262a04c08b56faffL, 0x262a04c08b56fb01L, "parameters"))).where(new IWhereFilter<SNode>() { public boolean accept(SNode it) { return !(SNodeOperations.isInstanceOf(it, MetaAdapterFactory.getConcept(0x798100da4f0a421aL, 0xb99171f8c50ce5d2L, 0x7f76698a394dcc33L, "jetbrains.mps.build.structure.BuildLayout_CopyHandler"))); } }); } public static Iterable<SNode> sourceNodesQuery_6083230236994919188(final SourceSubstituteMacroNodesContext _context) { return SNodeOperations.getNodeDescendants(_context.getNode(), MetaAdapterFactory.getConcept(0x798100da4f0a421aL, 0xb99171f8c50ce5d2L, 0x233d92f9e348d768L, "jetbrains.mps.build.structure.BuildSourceArchiveRelativePath"), false, new SAbstractConcept[]{}); } public static void mapSrcMacro_post_mapper_7476146282362436190(final MapSrcMacroPostProcContext _context) { // HACK. At the moment, DependenciesHelper is populated with locations, with // inputNode (BuildLayout_File) serving as a key. Here, the file gets replaced with // BuildLayout_Copy, and incoming references (like BuildLayout_Import in another project) // get re-routed to this node. However, once that import is processed, there's nothing in DH.locations() // that match its target (it's outputNode, BL_Copy at the time). To workaround, I record original location // key here with the new target node, and use it from main.BuildLayout_Import template. // Prior to the removal of transient models this used to work as every lookup was done using origin node. new DependenciesHelper(_context, SNodeOperations.getNodeAncestor(_context.getNode(), MetaAdapterFactory.getConcept(0x798100da4f0a421aL, 0xb99171f8c50ce5d2L, 0x4df58c6f18f84a13L, "jetbrains.mps.build.structure.BuildProject"), false, false)).preserveLocations(_context.getNode(), _context.getOutputNode()); } public static void mappingScript_CodeBlock_809559803149973643(final MappingScriptContext _context) { for (SNode buildProject : ListSequence.fromList(SModelOperations.roots(_context.getModel(), MetaAdapterFactory.getConcept(0x798100da4f0a421aL, 0xb99171f8c50ce5d2L, 0x4df58c6f18f84a13L, "jetbrains.mps.build.structure.BuildProject")))) { String scriptsPath = BuildProject__BehaviorDescriptor.getScriptsPath_id4ahc858UcHk.invoke(buildProject, Context.defaultContext(_context)); if (scriptsPath != null && scriptsPath.endsWith("/")) { scriptsPath = scriptsPath.substring(0, scriptsPath.length() - 1); } String fileName = (scriptsPath == null ? null : scriptsPath + "/" + BuildProject__BehaviorDescriptor.getOutputFileName_id4gSHdTptyu0.invoke(buildProject)); CopyFacetUtil.setTargetPath(buildProject, fileName); } } public static void mappingScript_CodeBlock_841011766566205060(final MappingScriptContext _context) { for (SNode root : SModelOperations.roots(_context.getModel(), MetaAdapterFactory.getConcept(0x798100da4f0a421aL, 0xb99171f8c50ce5d2L, 0x4df58c6f18f84a13L, "jetbrains.mps.build.structure.BuildProject"))) { if (!(_context.isDirty(root))) { continue; } new FetchDependenciesProcessor(root, _context).process(); } } public static void mappingScript_CodeBlock_715289236985580032(final MappingScriptContext _context) { ListSequence.fromList(SModelOperations.nodes(_context.getModel(), MetaAdapterFactory.getConcept(0x798100da4f0a421aL, 0xb99171f8c50ce5d2L, 0x233d92f9e348d768L, "jetbrains.mps.build.structure.BuildSourceArchiveRelativePath"))).visitAll(new IVisitor<SNode>() { public void visit(SNode path) { DependenciesHelper helper = new DependenciesHelper(_context, SNodeOperations.getNodeAncestor(path, MetaAdapterFactory.getConcept(0x798100da4f0a421aL, 0xb99171f8c50ce5d2L, 0x4df58c6f18f84a13L, "jetbrains.mps.build.structure.BuildProject"), false, false)); helper.putContentLocation(path, BuildSourceArchiveRelativePath__BehaviorDescriptor.calculateUnpackPath_idBHdWlMbKE2.invoke(path, Context.defaultContext(_context))); } }); } public static Object insertMacro_varValue_7801138212747420792(final TemplateVarContext _context) { return FileSetUtil.getContainerPrefix(_context.getNode(), Context.defaultContext(_context).getMacros(_context.getNode())); } public static Object insertMacro_varValue_7801138212747420750(final TemplateVarContext _context) { return FileSetUtil.getContainerPrefix(_context.getNode(), Context.defaultContext(_context).getMacros(_context.getNode())); } public static Object insertMacro_varValue_7801138212747420576(final TemplateVarContext _context) { return FileSetUtil.getContainerPrefix(_context.getNode(), Context.defaultContext(_context).getMacros(_context.getNode())); } public static Object insertMacro_varValue_1330375798062120565(final TemplateVarContext _context) { return (String) BuildLayout_CopyProcessor__BehaviorDescriptor.getTempFolder_id19QsrPvjYS$.invoke(_context.getNode(), _context); } public static Object insertMacro_varValue_1330375798060387486(final TemplateVarContext _context) { return new String[]{null}; } public static Object insertMacro_varValue_7517237557345560699(final TemplateVarContext _context) { SNode project = SNodeOperations.getNodeAncestor(_context.getNode(), MetaAdapterFactory.getConcept(0x798100da4f0a421aL, 0xb99171f8c50ce5d2L, 0x4df58c6f18f84a13L, "jetbrains.mps.build.structure.BuildProject"), false, false); if (project == null) { _context.showErrorMessage(_context.getNode(), "no context project defined"); return "???"; } DependenciesHelper helper = new DependenciesHelper(_context, project); String val = helper.getLocation(SLinkOperations.getTarget(_context.getNode(), MetaAdapterFactory.getReferenceLink(0x798100da4f0a421aL, 0xb99171f8c50ce5d2L, 0xbabdfbeee1350f2L, 0xbabdfbeee1350f4L, "target"))); if (val == null) { _context.showErrorMessage(_context.getNode(), "no location for " + BaseConcept__BehaviorDescriptor.getPresentation_idhEwIMiw.invoke(SLinkOperations.getTarget(_context.getNode(), MetaAdapterFactory.getReferenceLink(0x798100da4f0a421aL, 0xb99171f8c50ce5d2L, 0xbabdfbeee1350f2L, 0xbabdfbeee1350f4L, "target")))); } return val; } public static Object insertMacro_varValue_5610619299013114726(final TemplateVarContext _context) { SNode project = SNodeOperations.getNodeAncestor(_context.getNode(), MetaAdapterFactory.getConcept(0x798100da4f0a421aL, 0xb99171f8c50ce5d2L, 0x4df58c6f18f84a13L, "jetbrains.mps.build.structure.BuildProject"), false, false); if (project == null) { _context.showErrorMessage(_context.getNode(), "no context project defined"); return "???"; } DependenciesHelper helper = new DependenciesHelper(_context, project); String val = helper.getContentLocation(SLinkOperations.getTarget(_context.getNode(), MetaAdapterFactory.getReferenceLink(0x798100da4f0a421aL, 0xb99171f8c50ce5d2L, 0x4ddcec86af9fdb53L, 0x4ddcec86af9fdb55L, "target"))); if (val == null) { _context.showErrorMessage(_context.getNode(), "no location for " + BaseConcept__BehaviorDescriptor.getPresentation_idhEwIMiw.invoke(SLinkOperations.getTarget(_context.getNode(), MetaAdapterFactory.getReferenceLink(0x798100da4f0a421aL, 0xb99171f8c50ce5d2L, 0x4ddcec86af9fdb53L, 0x4ddcec86af9fdb55L, "target")))); } return val; } public static Object insertMacro_varValue_5979287180587467220(final TemplateVarContext _context) { return new JavaModulesClosure(_context.getNode()).closure(false); } public static Object insertMacro_varValue_1659807394254873141(final TemplateVarContext _context) { SNode options = SLinkOperations.getTarget(SLinkOperations.getTarget(_context.getNode(), MetaAdapterFactory.getContainmentLink(0x798100da4f0a421aL, 0xb99171f8c50ce5d2L, 0x668c6cfbafacdc38L, 0x1708d207f21880faL, "options")), MetaAdapterFactory.getReferenceLink(0x798100da4f0a421aL, 0xb99171f8c50ce5d2L, 0x1708d207f2178b52L, 0x1708d207f214252bL, "compileOptions")); if (options == null) { options = Sequence.fromIterable(SNodeOperations.ofConcept(SNodeOperations.getAllSiblings(_context.getNode(), false), MetaAdapterFactory.getConcept(0x798100da4f0a421aL, 0xb99171f8c50ce5d2L, 0xcdff0e1a96739c2L, "jetbrains.mps.build.structure.BuildSource_JavaOptions"))).findFirst(new IWhereFilter<SNode>() { public boolean accept(SNode it) { return isEmptyString(SPropertyOperations.getString(it, MetaAdapterFactory.getProperty(0x798100da4f0a421aL, 0xb99171f8c50ce5d2L, 0xcdff0e1a96739c2L, 0xcdff0e1a96739c3L, "optionsName"))); } }); } return options; } public static Object insertMacro_varValue_4129895186893528603(final TemplateVarContext _context) { String basePath = BuildProject__BehaviorDescriptor.getBasePath_id4jjtc7WZOyG.invoke(_context.getNode(), Context.defaultContext(_context)); if (basePath == null) { _context.showErrorMessage(_context.getNode(), "no base path for script " + SPropertyOperations.getString(_context.getNode(), MetaAdapterFactory.getProperty(0xceab519525ea4f22L, 0x9b92103b95ca8c0cL, 0x110396eaaa4L, 0x110396ec041L, "name"))); } return basePath; } public static Object insertMacro_varValue_6520682027041193831(final TemplateVarContext _context) { List<Tuples._2<SNode, String>> dependencies = new ProjectDependency(_context, _context.getNode()).collectDependencies().getDependencies(); return ListSequence.fromList(dependencies).select(new ISelector<Tuples._2<SNode, String>, SNode>() { public SNode select(Tuples._2<SNode, String> it) { return createGeneratorInternal_ProjectDependency_x583g4_a0a0a0a1a204(it._1(), it._0()); } }).toListSequence(); } public static Object insertMacro_varValue_6520682027040940450(final TemplateVarContext _context) { return new MacroHelper.MacroContext(_context.getNode(), _context).getMacros(_context.getNode()); } public static Object insertMacro_varValue_1330375798099589843(final TemplateVarContext _context) { MacroHelper macros = Context.defaultContext(_context).getMacros(_context.getNode()); String fsetExt = "fileset"; String prefix = FileSetUtil.getPrefix(_context.getNode(), macros); Pair<String, String> filemode = FileSetUtil.getFilemode(_context.getNode(), macros); if ((prefix != null && prefix.length() > 0) || filemode != null) { SNode filesetContainer = FileSetUtil.getFilesetLayoutContainer(SNodeOperations.as(SNodeOperations.getParent(_context.getNode()), MetaAdapterFactory.getConcept(0x798100da4f0a421aL, 0xb99171f8c50ce5d2L, 0x668c6cfbafac4c85L, "jetbrains.mps.build.structure.BuildLayout_Node"))); fsetExt = BuildLayout_ContainerAcceptingFileSet__BehaviorDescriptor.getFileSetExtension_id5zIo$W4pFTK.invoke(filesetContainer); } return MultiTuple.<String,String,String,String>from(fsetExt, prefix, (filemode != null ? filemode.o1 : null), (filemode != null ? filemode.o2 : null)); } public static Object insertMacro_varValue_5610619299013114930(final TemplateVarContext _context) { SNode project = SNodeOperations.getNodeAncestor(_context.getNode(), MetaAdapterFactory.getConcept(0x798100da4f0a421aL, 0xb99171f8c50ce5d2L, 0x4df58c6f18f84a13L, "jetbrains.mps.build.structure.BuildProject"), false, false); if (project == null) { _context.showErrorMessage(_context.getNode(), "no context project defined"); return "???"; } DependenciesHelper helper = new DependenciesHelper(_context, project); String val = helper.getLocation(SLinkOperations.getTarget(_context.getNode(), MetaAdapterFactory.getReferenceLink(0x798100da4f0a421aL, 0xb99171f8c50ce5d2L, 0xbabdfbeee1350f2L, 0xbabdfbeee1350f4L, "target"))); if (val == null) { _context.showErrorMessage(_context.getNode(), "no location for " + BaseConcept__BehaviorDescriptor.getPresentation_idhEwIMiw.invoke(SLinkOperations.getTarget(_context.getNode(), MetaAdapterFactory.getReferenceLink(0x798100da4f0a421aL, 0xb99171f8c50ce5d2L, 0xbabdfbeee1350f2L, 0xbabdfbeee1350f4L, "target")))); } else if ((boolean) BuildLayout_Node__BehaviorDescriptor.isFolder_id1bWeed$oPYW.invoke(SLinkOperations.getTarget(_context.getNode(), MetaAdapterFactory.getReferenceLink(0x798100da4f0a421aL, 0xb99171f8c50ce5d2L, 0xbabdfbeee1350f2L, 0xbabdfbeee1350f4L, "target")))) { _context.showErrorMessage(_context.getNode(), "internal error: cannot handle folders `" + BaseConcept__BehaviorDescriptor.getPresentation_idhEwIMiw.invoke(SLinkOperations.getTarget(_context.getNode(), MetaAdapterFactory.getReferenceLink(0x798100da4f0a421aL, 0xb99171f8c50ce5d2L, 0xbabdfbeee1350f2L, 0xbabdfbeee1350f4L, "target"))) + "'"); } return val; } public static Object insertMacro_varValue_6408167411310656423(final TemplateVarContext _context) { MacroHelper macros = Context.defaultContext(_context).getMacros(_context.getNode()); String fsetExt = "fileset"; String prefix = FileSetUtil.getPrefix(_context.getNode(), macros); Pair<String, String> filemode = FileSetUtil.getFilemode(_context.getNode(), macros); if ((prefix != null && prefix.length() > 0) || filemode != null) { SNode filesetContainer = FileSetUtil.getFilesetLayoutContainer(SNodeOperations.as(SNodeOperations.getParent(_context.getNode()), MetaAdapterFactory.getConcept(0x798100da4f0a421aL, 0xb99171f8c50ce5d2L, 0x668c6cfbafac4c85L, "jetbrains.mps.build.structure.BuildLayout_Node"))); fsetExt = BuildLayout_ContainerAcceptingFileSet__BehaviorDescriptor.getFileSetExtension_id5zIo$W4pFTK.invoke(filesetContainer); } return MultiTuple.<String,String,String,String>from(fsetExt, prefix, (filemode != null ? filemode.o1 : null), (filemode != null ? filemode.o2 : null)); } public static Object insertMacro_varValue_5610619299013115037(final TemplateVarContext _context) { SNode project = SNodeOperations.getNodeAncestor(_context.getNode(), MetaAdapterFactory.getConcept(0x798100da4f0a421aL, 0xb99171f8c50ce5d2L, 0x4df58c6f18f84a13L, "jetbrains.mps.build.structure.BuildProject"), false, false); if (project == null) { _context.showErrorMessage(_context.getNode(), "no context project defined"); return "???"; } DependenciesHelper helper = new DependenciesHelper(_context, project); String val = helper.getContentLocation(SLinkOperations.getTarget(_context.getNode(), MetaAdapterFactory.getReferenceLink(0x798100da4f0a421aL, 0xb99171f8c50ce5d2L, 0x4ddcec86af9fdb53L, 0x4ddcec86af9fdb55L, "target"))); if (val == null) { _context.showErrorMessage(_context.getNode(), "no content location for " + BaseConcept__BehaviorDescriptor.getPresentation_idhEwIMiw.invoke(SLinkOperations.getTarget(_context.getNode(), MetaAdapterFactory.getReferenceLink(0x798100da4f0a421aL, 0xb99171f8c50ce5d2L, 0x4ddcec86af9fdb53L, 0x4ddcec86af9fdb55L, "target")))); } return val; } public static Object insertMacro_varValue_6408167411310656356(final TemplateVarContext _context) { MacroHelper macros = Context.defaultContext(_context).getMacros(_context.getNode()); String fsetExt = "fileset"; String prefix = FileSetUtil.getPrefix(_context.getNode(), macros); Pair<String, String> filemode = FileSetUtil.getFilemode(_context.getNode(), macros); if ((prefix != null && prefix.length() > 0) || filemode != null) { SNode filesetContainer = FileSetUtil.getFilesetLayoutContainer(SNodeOperations.as(SNodeOperations.getParent(_context.getNode()), MetaAdapterFactory.getConcept(0x798100da4f0a421aL, 0xb99171f8c50ce5d2L, 0x668c6cfbafac4c85L, "jetbrains.mps.build.structure.BuildLayout_Node"))); fsetExt = BuildLayout_ContainerAcceptingFileSet__BehaviorDescriptor.getFileSetExtension_id5zIo$W4pFTK.invoke(filesetContainer); } return MultiTuple.<String,String,String,String>from(fsetExt, prefix, (filemode != null ? filemode.o1 : null), (filemode != null ? filemode.o2 : null)); } public static Object insertMacro_varValue_6408167411310655877(final TemplateVarContext _context) { String fsetExt = "fileset"; String prefix = null; if (SNodeOperations.isInstanceOf(SNodeOperations.getParent(_context.getNode()), MetaAdapterFactory.getConcept(0x798100da4f0a421aL, 0xb99171f8c50ce5d2L, 0x48d5d03db92339b9L, "jetbrains.mps.build.structure.BuildLayout_Copy"))) { SNode copyContainer = SNodeOperations.cast(SNodeOperations.getParent(_context.getNode()), MetaAdapterFactory.getConcept(0x798100da4f0a421aL, 0xb99171f8c50ce5d2L, 0x48d5d03db92339b9L, "jetbrains.mps.build.structure.BuildLayout_Copy")); MacroHelper macros = Context.defaultContext(_context).getMacros(_context.getNode()); prefix = FileSetUtil.getPrefix(copyContainer, macros); Pair<String, String> filemode = FileSetUtil.getFilemode(copyContainer, macros); if ((prefix != null && prefix.length() > 0) || filemode != null) { SNode filesetContainer = FileSetUtil.getFilesetLayoutContainer(SNodeOperations.as(SNodeOperations.getParent(copyContainer), MetaAdapterFactory.getConcept(0x798100da4f0a421aL, 0xb99171f8c50ce5d2L, 0x668c6cfbafac4c85L, "jetbrains.mps.build.structure.BuildLayout_Node"))); fsetExt = BuildLayout_ContainerAcceptingFileSet__BehaviorDescriptor.getFileSetExtension_id5zIo$W4pFTK.invoke(filesetContainer); } return MultiTuple.<String,String,String,String>from(fsetExt, prefix, (filemode != null ? filemode.o1 : null), (filemode != null ? filemode.o2 : null)); } return MultiTuple.<String,String,Object,Object>from(fsetExt, prefix, null, null); } public static Object insertMacro_varValue_6408167411310656207(final TemplateVarContext _context) { String fsetExt = "fileset"; String prefix = null; if (SNodeOperations.isInstanceOf(SNodeOperations.getParent(_context.getNode()), MetaAdapterFactory.getConcept(0x798100da4f0a421aL, 0xb99171f8c50ce5d2L, 0x48d5d03db92339b9L, "jetbrains.mps.build.structure.BuildLayout_Copy"))) { SNode copyContainer = SNodeOperations.cast(SNodeOperations.getParent(_context.getNode()), MetaAdapterFactory.getConcept(0x798100da4f0a421aL, 0xb99171f8c50ce5d2L, 0x48d5d03db92339b9L, "jetbrains.mps.build.structure.BuildLayout_Copy")); MacroHelper macros = Context.defaultContext(_context).getMacros(_context.getNode()); prefix = FileSetUtil.getPrefix(copyContainer, macros); Pair<String, String> filemode = FileSetUtil.getFilemode(copyContainer, macros); if ((prefix != null && prefix.length() > 0) || filemode != null && filemode.o2 != null) { SNode filesetContainer = FileSetUtil.getFilesetLayoutContainer(SNodeOperations.as(SNodeOperations.getParent(copyContainer), MetaAdapterFactory.getConcept(0x798100da4f0a421aL, 0xb99171f8c50ce5d2L, 0x668c6cfbafac4c85L, "jetbrains.mps.build.structure.BuildLayout_Node"))); fsetExt = BuildLayout_ContainerAcceptingFileSet__BehaviorDescriptor.getFileSetExtension_id5zIo$W4pFTK.invoke(filesetContainer); } return MultiTuple.<String,String,String>from(fsetExt, prefix, (filemode != null ? filemode.o2 : null)); } return MultiTuple.<String,String,Object>from(fsetExt, prefix, null); } private final Map<String, ReductionRuleCondition> rrcMethods = new HashMap<String, ReductionRuleCondition>(); { int i = 0; rrcMethods.put("1117643560963351177", new QueriesGenerated.RRC(i++)); rrcMethods.put("1330375798088310094", new QueriesGenerated.RRC(i++)); rrcMethods.put("8847838005406041530", 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_2591537044435952582(ctx); case 1: return QueriesGenerated.baseMappingRule_Condition_1330375798088465804(ctx); case 2: return QueriesGenerated.baseMappingRule_Condition_1556400259614055524(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, ScriptCodeBlock> mscbMethods = new HashMap<String, ScriptCodeBlock>(); { int i = 0; mscbMethods.put("809559803149973642", new QueriesGenerated.SCB(i++)); mscbMethods.put("841011766566205059", new QueriesGenerated.SCB(i++)); mscbMethods.put("715289236985580031", new QueriesGenerated.SCB(i++)); } @Override @NotNull public ScriptCodeBlock getScriptCodeBlock(@NotNull QueryKey identity) { final String id = identity.getTemplateNode().getNodeId().toString(); if (!(mscbMethods.containsKey(id))) { return super.getScriptCodeBlock(identity); } return mscbMethods.get(id); } private static class SCB implements ScriptCodeBlock { private final int methodKey; public SCB(int methodKey) { this.methodKey = methodKey; } @Override public void invoke(MappingScriptContext ctx) throws GenerationFailureException { switch (methodKey) { case 0: QueriesGenerated.mappingScript_CodeBlock_809559803149973643(ctx); return; case 1: QueriesGenerated.mappingScript_CodeBlock_841011766566205060(ctx); return; case 2: QueriesGenerated.mappingScript_CodeBlock_715289236985580032(ctx); return; default: throw new GenerationFailureException(String.format("There's no code block with method index %d ", methodKey)); } } } private final Map<String, SourceNodeQuery> snqMethods = new HashMap<String, SourceNodeQuery>(); { int i = 0; snqMethods.put("5248329904288175557", new QueriesGenerated.SNQ(i++)); snqMethods.put("1330375798060994699", new QueriesGenerated.SNQ(i++)); snqMethods.put("1330375798064791185", new QueriesGenerated.SNQ(i++)); snqMethods.put("4643216374596142907", new QueriesGenerated.SNQ(i++)); snqMethods.put("244868996532694255", new QueriesGenerated.SNQ(i++)); snqMethods.put("4821808014881265837", new QueriesGenerated.SNQ(i++)); snqMethods.put("8169228734285529873", new QueriesGenerated.SNQ(i++)); snqMethods.put("6859736767834590341", new QueriesGenerated.SNQ(i++)); snqMethods.put("5680938682773841408", new QueriesGenerated.SNQ(i++)); snqMethods.put("144710003695560994", new QueriesGenerated.SNQ(i++)); snqMethods.put("1500819558096269424", new QueriesGenerated.SNQ(i++)); snqMethods.put("144710003695667202", new QueriesGenerated.SNQ(i++)); snqMethods.put("8056730377013464320", new QueriesGenerated.SNQ(i++)); snqMethods.put("3717132724153138073", new QueriesGenerated.SNQ(i++)); snqMethods.put("6408167411310621712", new QueriesGenerated.SNQ(i++)); snqMethods.put("1330375798088316886", new QueriesGenerated.SNQ(i++)); snqMethods.put("2750015747481191517", new QueriesGenerated.SNQ(i++)); snqMethods.put("2750015747481207051", new QueriesGenerated.SNQ(i++)); snqMethods.put("2750015747481063363", new QueriesGenerated.SNQ(i++)); snqMethods.put("2750015747481063407", new QueriesGenerated.SNQ(i++)); snqMethods.put("2750015747481074564", new QueriesGenerated.SNQ(i++)); snqMethods.put("2750015747481074596", new QueriesGenerated.SNQ(i++)); snqMethods.put("6083230236994856499", new QueriesGenerated.SNQ(i++)); snqMethods.put("6083230236994856570", 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_5248329904288175557(ctx); case 1: return QueriesGenerated.sourceNodeQuery_1330375798060994699(ctx); case 2: return QueriesGenerated.sourceNodeQuery_1330375798064791185(ctx); case 3: return QueriesGenerated.sourceNodeQuery_4643216374596142907(ctx); case 4: return QueriesGenerated.sourceNodeQuery_244868996532694255(ctx); case 5: return QueriesGenerated.sourceNodeQuery_4821808014881265837(ctx); case 6: return QueriesGenerated.sourceNodeQuery_8169228734285529873(ctx); case 7: return QueriesGenerated.sourceNodeQuery_6859736767834590341(ctx); case 8: return QueriesGenerated.sourceNodeQuery_5680938682773841408(ctx); case 9: return QueriesGenerated.sourceNodeQuery_144710003695560994(ctx); case 10: return QueriesGenerated.sourceNodeQuery_1500819558096269424(ctx); case 11: return QueriesGenerated.sourceNodeQuery_144710003695667202(ctx); case 12: return QueriesGenerated.sourceNodeQuery_8056730377013464320(ctx); case 13: return QueriesGenerated.sourceNodeQuery_3717132724153138073(ctx); case 14: return QueriesGenerated.sourceNodeQuery_6408167411310621712(ctx); case 15: return QueriesGenerated.sourceNodeQuery_1330375798088316886(ctx); case 16: return QueriesGenerated.sourceNodeQuery_2750015747481191517(ctx); case 17: return QueriesGenerated.sourceNodeQuery_2750015747481207051(ctx); case 18: return QueriesGenerated.sourceNodeQuery_2750015747481063363(ctx); case 19: return QueriesGenerated.sourceNodeQuery_2750015747481063407(ctx); case 20: return QueriesGenerated.sourceNodeQuery_2750015747481074564(ctx); case 21: return QueriesGenerated.sourceNodeQuery_2750015747481074596(ctx); case 22: return QueriesGenerated.sourceNodeQuery_6083230236994856499(ctx); case 23: return QueriesGenerated.sourceNodeQuery_6083230236994856570(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("1117643560963351248", new QueriesGenerated.SNsQ(i++)); snsqMethods.put("7801138212747391938", new QueriesGenerated.SNsQ(i++)); snsqMethods.put("1117643560963358547", new QueriesGenerated.SNsQ(i++)); snsqMethods.put("7801138212747394870", new QueriesGenerated.SNsQ(i++)); snsqMethods.put("8577651205286952555", new QueriesGenerated.SNsQ(i++)); snsqMethods.put("7801138212747394948", new QueriesGenerated.SNsQ(i++)); snsqMethods.put("1330375798060357185", new QueriesGenerated.SNsQ(i++)); snsqMethods.put("7918752904805774009", new QueriesGenerated.SNsQ(i++)); snsqMethods.put("9184644532456968384", new QueriesGenerated.SNsQ(i++)); snsqMethods.put("6977615362525734877", new QueriesGenerated.SNsQ(i++)); snsqMethods.put("6977615362525734897", new QueriesGenerated.SNsQ(i++)); snsqMethods.put("6789562173791600095", new QueriesGenerated.SNsQ(i++)); snsqMethods.put("6789562173791600116", new QueriesGenerated.SNsQ(i++)); snsqMethods.put("733309334559664212", new QueriesGenerated.SNsQ(i++)); snsqMethods.put("7926701909975671841", new QueriesGenerated.SNsQ(i++)); snsqMethods.put("5979287180587467230", new QueriesGenerated.SNsQ(i++)); snsqMethods.put("8169228734285529277", new QueriesGenerated.SNsQ(i++)); snsqMethods.put("6859736767834590289", new QueriesGenerated.SNsQ(i++)); snsqMethods.put("5680938682773841356", new QueriesGenerated.SNsQ(i++)); snsqMethods.put("144710003695560909", new QueriesGenerated.SNsQ(i++)); snsqMethods.put("6647099934207033969", new QueriesGenerated.SNsQ(i++)); snsqMethods.put("1659807394254753603", new QueriesGenerated.SNsQ(i++)); snsqMethods.put("8055294676438890950", new QueriesGenerated.SNsQ(i++)); snsqMethods.put("8055294676438890049", new QueriesGenerated.SNsQ(i++)); snsqMethods.put("8055294676438891186", new QueriesGenerated.SNsQ(i++)); snsqMethods.put("7926701909975671863", new QueriesGenerated.SNsQ(i++)); snsqMethods.put("144710003695560923", new QueriesGenerated.SNsQ(i++)); snsqMethods.put("8654221991637384265", new QueriesGenerated.SNsQ(i++)); snsqMethods.put("5248329904288079434", new QueriesGenerated.SNsQ(i++)); snsqMethods.put("8654221991637384349", new QueriesGenerated.SNsQ(i++)); snsqMethods.put("7866279537988669091", new QueriesGenerated.SNsQ(i++)); snsqMethods.put("4701820937132337458", new QueriesGenerated.SNsQ(i++)); snsqMethods.put("4701820937132337542", new QueriesGenerated.SNsQ(i++)); snsqMethods.put("6837653846148442091", new QueriesGenerated.SNsQ(i++)); snsqMethods.put("6837653846148442133", new QueriesGenerated.SNsQ(i++)); snsqMethods.put("6837653846148442156", new QueriesGenerated.SNsQ(i++)); snsqMethods.put("1117643560963307378", new QueriesGenerated.SNsQ(i++)); snsqMethods.put("4129895186893528610", new QueriesGenerated.SNsQ(i++)); snsqMethods.put("7181125477683419217", new QueriesGenerated.SNsQ(i++)); snsqMethods.put("6520682027041002163", new QueriesGenerated.SNsQ(i++)); snsqMethods.put("6520682027040940372", new QueriesGenerated.SNsQ(i++)); snsqMethods.put("8433645492464631848", new QueriesGenerated.SNsQ(i++)); snsqMethods.put("1117643560963346309", new QueriesGenerated.SNsQ(i++)); snsqMethods.put("4701820937132337365", new QueriesGenerated.SNsQ(i++)); snsqMethods.put("6854204111265743219", new QueriesGenerated.SNsQ(i++)); snsqMethods.put("6854204111265839256", new QueriesGenerated.SNsQ(i++)); snsqMethods.put("1117643560963267906", new QueriesGenerated.SNsQ(i++)); snsqMethods.put("6520682027041196812", new QueriesGenerated.SNsQ(i++)); snsqMethods.put("6647099934206970591", new QueriesGenerated.SNsQ(i++)); snsqMethods.put("6789562173791401780", new QueriesGenerated.SNsQ(i++)); snsqMethods.put("6789562173791401759", new QueriesGenerated.SNsQ(i++)); snsqMethods.put("6408167411310621656", new QueriesGenerated.SNsQ(i++)); snsqMethods.put("6408167411310621677", new QueriesGenerated.SNsQ(i++)); snsqMethods.put("8775597636506088245", new QueriesGenerated.SNsQ(i++)); snsqMethods.put("5979287180587467422", new QueriesGenerated.SNsQ(i++)); snsqMethods.put("2750015747481207044", new QueriesGenerated.SNsQ(i++)); snsqMethods.put("2750015747481063235", new QueriesGenerated.SNsQ(i++)); snsqMethods.put("2750015747481074544", new QueriesGenerated.SNsQ(i++)); snsqMethods.put("2750015747481074590", new QueriesGenerated.SNsQ(i++)); snsqMethods.put("2750015747481074656", new QueriesGenerated.SNsQ(i++)); snsqMethods.put("6083230236994919188", 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_1117643560963351248(ctx)); case 1: return IterableUtil.asCollection(QueriesGenerated.sourceNodesQuery_7801138212747391938(ctx)); case 2: return IterableUtil.asCollection(QueriesGenerated.sourceNodesQuery_1117643560963358547(ctx)); case 3: return IterableUtil.asCollection(QueriesGenerated.sourceNodesQuery_7801138212747394870(ctx)); case 4: return IterableUtil.asCollection(QueriesGenerated.sourceNodesQuery_8577651205286952555(ctx)); case 5: return IterableUtil.asCollection(QueriesGenerated.sourceNodesQuery_7801138212747394948(ctx)); case 6: return IterableUtil.asCollection(QueriesGenerated.sourceNodesQuery_1330375798060357185(ctx)); case 7: return IterableUtil.asCollection(QueriesGenerated.sourceNodesQuery_7918752904805774009(ctx)); case 8: return IterableUtil.asCollection(QueriesGenerated.sourceNodesQuery_9184644532456968384(ctx)); case 9: return IterableUtil.asCollection(QueriesGenerated.sourceNodesQuery_6977615362525734877(ctx)); case 10: return IterableUtil.asCollection(QueriesGenerated.sourceNodesQuery_6977615362525734897(ctx)); case 11: return IterableUtil.asCollection(QueriesGenerated.sourceNodesQuery_6789562173791600095(ctx)); case 12: return IterableUtil.asCollection(QueriesGenerated.sourceNodesQuery_6789562173791600116(ctx)); case 13: return IterableUtil.asCollection(QueriesGenerated.sourceNodesQuery_733309334559664212(ctx)); case 14: return IterableUtil.asCollection(QueriesGenerated.sourceNodesQuery_7926701909975671841(ctx)); case 15: return IterableUtil.asCollection(QueriesGenerated.sourceNodesQuery_5979287180587467230(ctx)); case 16: return IterableUtil.asCollection(QueriesGenerated.sourceNodesQuery_8169228734285529277(ctx)); case 17: return IterableUtil.asCollection(QueriesGenerated.sourceNodesQuery_6859736767834590289(ctx)); case 18: return IterableUtil.asCollection(QueriesGenerated.sourceNodesQuery_5680938682773841356(ctx)); case 19: return IterableUtil.asCollection(QueriesGenerated.sourceNodesQuery_144710003695560909(ctx)); case 20: return IterableUtil.asCollection(QueriesGenerated.sourceNodesQuery_6647099934207033969(ctx)); case 21: return IterableUtil.asCollection(QueriesGenerated.sourceNodesQuery_1659807394254753603(ctx)); case 22: return IterableUtil.asCollection(QueriesGenerated.sourceNodesQuery_8055294676438890950(ctx)); case 23: return IterableUtil.asCollection(QueriesGenerated.sourceNodesQuery_8055294676438890049(ctx)); case 24: return IterableUtil.asCollection(QueriesGenerated.sourceNodesQuery_8055294676438891186(ctx)); case 25: return IterableUtil.asCollection(QueriesGenerated.sourceNodesQuery_7926701909975671863(ctx)); case 26: return IterableUtil.asCollection(QueriesGenerated.sourceNodesQuery_144710003695560923(ctx)); case 27: return IterableUtil.asCollection(QueriesGenerated.sourceNodesQuery_8654221991637384265(ctx)); case 28: return IterableUtil.asCollection(QueriesGenerated.sourceNodesQuery_5248329904288079434(ctx)); case 29: return IterableUtil.asCollection(QueriesGenerated.sourceNodesQuery_8654221991637384349(ctx)); case 30: return IterableUtil.asCollection(QueriesGenerated.sourceNodesQuery_7866279537988669091(ctx)); case 31: return IterableUtil.asCollection(QueriesGenerated.sourceNodesQuery_4701820937132337458(ctx)); case 32: return IterableUtil.asCollection(QueriesGenerated.sourceNodesQuery_4701820937132337542(ctx)); case 33: return IterableUtil.asCollection(QueriesGenerated.sourceNodesQuery_6837653846148442091(ctx)); case 34: return IterableUtil.asCollection(QueriesGenerated.sourceNodesQuery_6837653846148442133(ctx)); case 35: return IterableUtil.asCollection(QueriesGenerated.sourceNodesQuery_6837653846148442156(ctx)); case 36: return IterableUtil.asCollection(QueriesGenerated.sourceNodesQuery_1117643560963307378(ctx)); case 37: return IterableUtil.asCollection(QueriesGenerated.sourceNodesQuery_4129895186893528610(ctx)); case 38: return IterableUtil.asCollection(QueriesGenerated.sourceNodesQuery_7181125477683419217(ctx)); case 39: return IterableUtil.asCollection(QueriesGenerated.sourceNodesQuery_6520682027041002163(ctx)); case 40: return IterableUtil.asCollection(QueriesGenerated.sourceNodesQuery_6520682027040940372(ctx)); case 41: return IterableUtil.asCollection(QueriesGenerated.sourceNodesQuery_8433645492464631848(ctx)); case 42: return IterableUtil.asCollection(QueriesGenerated.sourceNodesQuery_1117643560963346309(ctx)); case 43: return IterableUtil.asCollection(QueriesGenerated.sourceNodesQuery_4701820937132337365(ctx)); case 44: return IterableUtil.asCollection(QueriesGenerated.sourceNodesQuery_6854204111265743219(ctx)); case 45: return IterableUtil.asCollection(QueriesGenerated.sourceNodesQuery_6854204111265839256(ctx)); case 46: return IterableUtil.asCollection(QueriesGenerated.sourceNodesQuery_1117643560963267906(ctx)); case 47: return IterableUtil.asCollection(QueriesGenerated.sourceNodesQuery_6520682027041196812(ctx)); case 48: return IterableUtil.asCollection(QueriesGenerated.sourceNodesQuery_6647099934206970591(ctx)); case 49: return IterableUtil.asCollection(QueriesGenerated.sourceNodesQuery_6789562173791401780(ctx)); case 50: return IterableUtil.asCollection(QueriesGenerated.sourceNodesQuery_6789562173791401759(ctx)); case 51: return IterableUtil.asCollection(QueriesGenerated.sourceNodesQuery_6408167411310621656(ctx)); case 52: return IterableUtil.asCollection(QueriesGenerated.sourceNodesQuery_6408167411310621677(ctx)); case 53: return IterableUtil.asCollection(QueriesGenerated.sourceNodesQuery_8775597636506088245(ctx)); case 54: return IterableUtil.asCollection(QueriesGenerated.sourceNodesQuery_5979287180587467422(ctx)); case 55: return IterableUtil.asCollection(QueriesGenerated.sourceNodesQuery_2750015747481207044(ctx)); case 56: return IterableUtil.asCollection(QueriesGenerated.sourceNodesQuery_2750015747481063235(ctx)); case 57: return IterableUtil.asCollection(QueriesGenerated.sourceNodesQuery_2750015747481074544(ctx)); case 58: return IterableUtil.asCollection(QueriesGenerated.sourceNodesQuery_2750015747481074590(ctx)); case 59: return IterableUtil.asCollection(QueriesGenerated.sourceNodesQuery_2750015747481074656(ctx)); case 60: return IterableUtil.asCollection(QueriesGenerated.sourceNodesQuery_6083230236994919188(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("1117643560963267882", new QueriesGenerated.PVQ(i++, MetaAdapterFactory.getProperty(0x479c7a8c02f943b5L, 0x9139d910cb22f298L, 0x5c842a42c54cfd1fL, 0x5c842a42c54cfd20L, "text"), "folder")); pvqMethods.put("1117643560963268262", new QueriesGenerated.PVQ(i++, MetaAdapterFactory.getProperty(0xceab519525ea4f22L, 0x9b92103b95ca8c0cL, 0x110396eaaa4L, 0x110396ec041L, "name"), "folder.mkdir")); pvqMethods.put("1117643560963364005", new QueriesGenerated.PVQ(i++, MetaAdapterFactory.getProperty(0xceab519525ea4f22L, 0x9b92103b95ca8c0cL, 0x110396eaaa4L, 0x110396ec041L, "name"), "folder")); pvqMethods.put("1117643560963358438", new QueriesGenerated.PVQ(i++, MetaAdapterFactory.getProperty(0x479c7a8c02f943b5L, 0x9139d910cb22f298L, 0x5c842a42c54cfd1fL, 0x5c842a42c54cfd20L, "text"), "folder")); pvqMethods.put("1117643560963358404", new QueriesGenerated.PVQ(i++, MetaAdapterFactory.getProperty(0xceab519525ea4f22L, 0x9b92103b95ca8c0cL, 0x110396eaaa4L, 0x110396ec041L, "name"), "jar.mkdir")); pvqMethods.put("1117643560963268230", new QueriesGenerated.PVQ(i++, MetaAdapterFactory.getProperty(0x479c7a8c02f943b5L, 0x9139d910cb22f298L, 0x5c842a42c54cfd1fL, 0x5c842a42c54cfd20L, "text"), "file.jar")); pvqMethods.put("6837653846148504887", new QueriesGenerated.PVQ(i++, MetaAdapterFactory.getProperty(0x479c7a8c02f943b5L, 0x9139d910cb22f298L, 0x5c842a42c54cfd1fL, 0x5c842a42c54cfd20L, "text"), "somewhere/MANIFEST.MF")); pvqMethods.put("7801138212747394520", new QueriesGenerated.PVQ(i++, MetaAdapterFactory.getProperty(0x479c7a8c02f943b5L, 0x9139d910cb22f298L, 0x5c842a42c54cfd1fL, 0x5c842a42c54cfd20L, "text"), "outputdir")); pvqMethods.put("7801138212747394624", new QueriesGenerated.PVQ(i++, MetaAdapterFactory.getProperty(0x479c7a8c02f943b5L, 0x9139d910cb22f298L, 0x5c842a42c54cfd1fL, 0x5c842a42c54cfd20L, "text"), "644")); pvqMethods.put("7801138212747394764", new QueriesGenerated.PVQ(i++, MetaAdapterFactory.getProperty(0x479c7a8c02f943b5L, 0x9139d910cb22f298L, 0x5c842a42c54cfd1fL, 0x5c842a42c54cfd20L, "text"), "755")); pvqMethods.put("7801138212747420784", new QueriesGenerated.PVQ(i++, MetaAdapterFactory.getProperty(0x479c7a8c02f943b5L, 0x9139d910cb22f298L, 0x5c842a42c54cfd1fL, 0x5c842a42c54cfd20L, "text"), "folder1")); pvqMethods.put("1117643560963351293", new QueriesGenerated.PVQ(i++, MetaAdapterFactory.getProperty(0x479c7a8c02f943b5L, 0x9139d910cb22f298L, 0x5c842a42c54cfd1fL, 0x5c842a42c54cfd20L, "text"), "jardefaultoutput")); pvqMethods.put("1117643560963268241", new QueriesGenerated.PVQ(i++, MetaAdapterFactory.getProperty(0xceab519525ea4f22L, 0x9b92103b95ca8c0cL, 0x110396eaaa4L, 0x110396ec041L, "name"), "jar")); pvqMethods.put("1117643560963358509", new QueriesGenerated.PVQ(i++, MetaAdapterFactory.getProperty(0x479c7a8c02f943b5L, 0x9139d910cb22f298L, 0x5c842a42c54cfd1fL, 0x5c842a42c54cfd20L, "text"), "folder")); pvqMethods.put("1117643560963358519", new QueriesGenerated.PVQ(i++, MetaAdapterFactory.getProperty(0xceab519525ea4f22L, 0x9b92103b95ca8c0cL, 0x110396eaaa4L, 0x110396ec041L, "name"), "zip.mkdir")); pvqMethods.put("1117643560963358534", new QueriesGenerated.PVQ(i++, MetaAdapterFactory.getProperty(0x479c7a8c02f943b5L, 0x9139d910cb22f298L, 0x5c842a42c54cfd1fL, 0x5c842a42c54cfd20L, "text"), "file.zip")); pvqMethods.put("7801138212747394824", new QueriesGenerated.PVQ(i++, MetaAdapterFactory.getProperty(0x479c7a8c02f943b5L, 0x9139d910cb22f298L, 0x5c842a42c54cfd1fL, 0x5c842a42c54cfd20L, "text"), "outputdir")); pvqMethods.put("7801138212747394844", new QueriesGenerated.PVQ(i++, MetaAdapterFactory.getProperty(0x479c7a8c02f943b5L, 0x9139d910cb22f298L, 0x5c842a42c54cfd1fL, 0x5c842a42c54cfd20L, "text"), "644")); pvqMethods.put("7801138212747394862", new QueriesGenerated.PVQ(i++, MetaAdapterFactory.getProperty(0x479c7a8c02f943b5L, 0x9139d910cb22f298L, 0x5c842a42c54cfd1fL, 0x5c842a42c54cfd20L, "text"), "755")); pvqMethods.put("7801138212747420742", new QueriesGenerated.PVQ(i++, MetaAdapterFactory.getProperty(0x479c7a8c02f943b5L, 0x9139d910cb22f298L, 0x5c842a42c54cfd1fL, 0x5c842a42c54cfd20L, "text"), "folder1")); pvqMethods.put("1117643560963358568", new QueriesGenerated.PVQ(i++, MetaAdapterFactory.getProperty(0x479c7a8c02f943b5L, 0x9139d910cb22f298L, 0x5c842a42c54cfd1fL, 0x5c842a42c54cfd20L, "text"), "zipdefaultfolder")); pvqMethods.put("1117643560963358597", new QueriesGenerated.PVQ(i++, MetaAdapterFactory.getProperty(0xceab519525ea4f22L, 0x9b92103b95ca8c0cL, 0x110396eaaa4L, 0x110396ec041L, "name"), "zip")); pvqMethods.put("8577651205286952471", new QueriesGenerated.PVQ(i++, MetaAdapterFactory.getProperty(0x479c7a8c02f943b5L, 0x9139d910cb22f298L, 0x5c842a42c54cfd1fL, 0x5c842a42c54cfd20L, "text"), "folder")); pvqMethods.put("8577651205286952500", new QueriesGenerated.PVQ(i++, MetaAdapterFactory.getProperty(0xceab519525ea4f22L, 0x9b92103b95ca8c0cL, 0x110396eaaa4L, 0x110396ec041L, "name"), "zip.mkdir")); pvqMethods.put("8577651205286952542", new QueriesGenerated.PVQ(i++, MetaAdapterFactory.getProperty(0x479c7a8c02f943b5L, 0x9139d910cb22f298L, 0x5c842a42c54cfd1fL, 0x5c842a42c54cfd20L, "text"), "file.tar")); pvqMethods.put("1979010778009295388", new QueriesGenerated.PVQ(i++, MetaAdapterFactory.getProperty(0x479c7a8c02f943b5L, 0x9139d910cb22f298L, 0x5c842a42c54cfd1fL, 0x5c842a42c54cfd20L, "text"), "gzip")); pvqMethods.put("7801138212747394902", new QueriesGenerated.PVQ(i++, MetaAdapterFactory.getProperty(0x479c7a8c02f943b5L, 0x9139d910cb22f298L, 0x5c842a42c54cfd1fL, 0x5c842a42c54cfd20L, "text"), "outputdir")); pvqMethods.put("7801138212747394922", new QueriesGenerated.PVQ(i++, MetaAdapterFactory.getProperty(0x479c7a8c02f943b5L, 0x9139d910cb22f298L, 0x5c842a42c54cfd1fL, 0x5c842a42c54cfd20L, "text"), "644")); pvqMethods.put("7801138212747394940", new QueriesGenerated.PVQ(i++, MetaAdapterFactory.getProperty(0x479c7a8c02f943b5L, 0x9139d910cb22f298L, 0x5c842a42c54cfd1fL, 0x5c842a42c54cfd20L, "text"), "755")); pvqMethods.put("7801138212747405864", new QueriesGenerated.PVQ(i++, MetaAdapterFactory.getProperty(0x479c7a8c02f943b5L, 0x9139d910cb22f298L, 0x5c842a42c54cfd1fL, 0x5c842a42c54cfd20L, "text"), "folder1")); pvqMethods.put("8577651205286952576", new QueriesGenerated.PVQ(i++, MetaAdapterFactory.getProperty(0x479c7a8c02f943b5L, 0x9139d910cb22f298L, 0x5c842a42c54cfd1fL, 0x5c842a42c54cfd20L, "text"), "tardefaultfolder")); pvqMethods.put("8577651205286952605", new QueriesGenerated.PVQ(i++, MetaAdapterFactory.getProperty(0xceab519525ea4f22L, 0x9b92103b95ca8c0cL, 0x110396eaaa4L, 0x110396ec041L, "name"), "zip")); pvqMethods.put("7801138212747391976", new QueriesGenerated.PVQ(i++, MetaAdapterFactory.getProperty(0x479c7a8c02f943b5L, 0x9139d910cb22f298L, 0x5c842a42c54cfd1fL, 0x5c842a42c54cfd20L, "text"), "folder")); pvqMethods.put("7801138212747392028", new QueriesGenerated.PVQ(i++, MetaAdapterFactory.getProperty(0xceab519525ea4f22L, 0x9b92103b95ca8c0cL, 0x110396eaaa4L, 0x110396ec041L, "name"), "filemode.folder.mkdir")); pvqMethods.put("7801138212747392099", new QueriesGenerated.PVQ(i++, MetaAdapterFactory.getProperty(0xceab519525ea4f22L, 0x9b92103b95ca8c0cL, 0x110396eaaa4L, 0x110396ec041L, "name"), "filemode.folder")); pvqMethods.put("2913098736709502286", new QueriesGenerated.PVQ(i++, MetaAdapterFactory.getProperty(0xceab519525ea4f22L, 0x9b92103b95ca8c0cL, 0x110396eaaa4L, 0x110396ec041L, "name"), "transp.before")); pvqMethods.put("2913098736709502391", new QueriesGenerated.PVQ(i++, MetaAdapterFactory.getProperty(0xceab519525ea4f22L, 0x9b92103b95ca8c0cL, 0x110396eaaa4L, 0x110396ec041L, "name"), "transp")); pvqMethods.put("5248329904288079306", new QueriesGenerated.PVQ(i++, MetaAdapterFactory.getProperty(0x479c7a8c02f943b5L, 0x9139d910cb22f298L, 0x5c842a42c54cfd1fL, 0x5c842a42c54cfd20L, "text"), "folder")); pvqMethods.put("5248329904288131576", new QueriesGenerated.PVQ(i++, MetaAdapterFactory.getProperty(0xceab519525ea4f22L, 0x9b92103b95ca8c0cL, 0x110396eaaa4L, 0x110396ec041L, "name"), "copy")); pvqMethods.put("1330375798064504255", new QueriesGenerated.PVQ(i++, MetaAdapterFactory.getProperty(0x479c7a8c02f943b5L, 0x9139d910cb22f298L, 0x5c842a42c54cfd1fL, 0x5c842a42c54cfd20L, "text"), "prevProcessor")); pvqMethods.put("1330375798061623006", new QueriesGenerated.PVQ(i++, MetaAdapterFactory.getProperty(0x479c7a8c02f943b5L, 0x9139d910cb22f298L, 0x5c842a42c54cfd1fL, 0x5c842a42c54cfd20L, "text"), "tempdir1")); pvqMethods.put("7918752904806212852", new QueriesGenerated.PVQ(i++, MetaAdapterFactory.getProperty(0x479c7a8c02f943b5L, 0x9139d910cb22f298L, 0x5c842a42c54cfd1fL, 0x5c842a42c54cfd20L, "text"), "valueX")); pvqMethods.put("7918752904806176129", new QueriesGenerated.PVQ(i++, MetaAdapterFactory.getProperty(0x479c7a8c02f943b5L, 0x9139d910cb22f298L, 0x5c842a42c54b8df3L, 0x5c842a42c54b8df6L, "attrName"), "argX")); pvqMethods.put("1330375798061013110", new QueriesGenerated.PVQ(i++, MetaAdapterFactory.getProperty(0x479c7a8c02f943b5L, 0x9139d910cb22f298L, 0x5c842a42c54b10b2L, 0x5c842a42c54b10b6L, "tagName"), "customtask")); pvqMethods.put("1330375798064791206", new QueriesGenerated.PVQ(i++, MetaAdapterFactory.getProperty(0x479c7a8c02f943b5L, 0x9139d910cb22f298L, 0x5c842a42c54cfd1fL, 0x5c842a42c54cfd20L, "text"), "prevProcessor")); pvqMethods.put("9184644532456968182", new QueriesGenerated.PVQ(i++, MetaAdapterFactory.getProperty(0x479c7a8c02f943b5L, 0x9139d910cb22f298L, 0x5c842a42c54cfd1fL, 0x5c842a42c54cfd20L, "text"), "folder")); pvqMethods.put("9184644532456968280", new QueriesGenerated.PVQ(i++, MetaAdapterFactory.getProperty(0xceab519525ea4f22L, 0x9b92103b95ca8c0cL, 0x110396eaaa4L, 0x110396ec041L, "name"), "copy")); pvqMethods.put("9184644532456968459", new QueriesGenerated.PVQ(i++, MetaAdapterFactory.getProperty(0x479c7a8c02f943b5L, 0x9139d910cb22f298L, 0x5c842a42c54cfd1fL, 0x5c842a42c54cfd20L, "text"), "KEY")); pvqMethods.put("9184644532456968491", new QueriesGenerated.PVQ(i++, MetaAdapterFactory.getProperty(0x479c7a8c02f943b5L, 0x9139d910cb22f298L, 0x5c842a42c54cfd1fL, 0x5c842a42c54cfd20L, "text"), "value")); pvqMethods.put("9184644532457106545", new QueriesGenerated.PVQ(i++, MetaAdapterFactory.getProperty(0x479c7a8c02f943b5L, 0x9139d910cb22f298L, 0x5c842a42c54cfd1fL, 0x5c842a42c54cfd20L, "text"), "KEY")); pvqMethods.put("9184644532457106554", new QueriesGenerated.PVQ(i++, MetaAdapterFactory.getProperty(0x479c7a8c02f943b5L, 0x9139d910cb22f298L, 0x5c842a42c54cfd1fL, 0x5c842a42c54cfd20L, "text"), "value")); pvqMethods.put("9184644532457106585", new QueriesGenerated.PVQ(i++, MetaAdapterFactory.getProperty(0x479c7a8c02f943b5L, 0x9139d910cb22f298L, 0x5c842a42c54cfd1fL, 0x5c842a42c54cfd20L, "text"), "gi")); pvqMethods.put("4198392933254628143", new QueriesGenerated.PVQ(i++, MetaAdapterFactory.getProperty(0x479c7a8c02f943b5L, 0x9139d910cb22f298L, 0x5c842a42c54cfd1fL, 0x5c842a42c54cfd20L, "text"), "lf")); pvqMethods.put("3970102152660874526", new QueriesGenerated.PVQ(i++, MetaAdapterFactory.getProperty(0x479c7a8c02f943b5L, 0x9139d910cb22f298L, 0x5c842a42c54cfd1fL, 0x5c842a42c54cfd20L, "text"), "*.java")); pvqMethods.put("3970102152660874558", new QueriesGenerated.PVQ(i++, MetaAdapterFactory.getProperty(0x479c7a8c02f943b5L, 0x9139d910cb22f298L, 0x5c842a42c54cfd1fL, 0x5c842a42c54cfd20L, "text"), "*")); pvqMethods.put("3970102152660876482", new QueriesGenerated.PVQ(i++, MetaAdapterFactory.getProperty(0x479c7a8c02f943b5L, 0x9139d910cb22f298L, 0x5c842a42c54cfd1fL, 0x5c842a42c54cfd20L, "text"), "*.java")); pvqMethods.put("3970102152660876491", new QueriesGenerated.PVQ(i++, MetaAdapterFactory.getProperty(0x479c7a8c02f943b5L, 0x9139d910cb22f298L, 0x5c842a42c54cfd1fL, 0x5c842a42c54cfd20L, "text"), "*")); pvqMethods.put("4643216374596142876", new QueriesGenerated.PVQ(i++, MetaAdapterFactory.getProperty(0x479c7a8c02f943b5L, 0x9139d910cb22f298L, 0x5c842a42c54cfd1fL, 0x5c842a42c54cfd20L, "text"), "folder")); pvqMethods.put("4643216374596143014", new QueriesGenerated.PVQ(i++, MetaAdapterFactory.getProperty(0xceab519525ea4f22L, 0x9b92103b95ca8c0cL, 0x110396eaaa4L, 0x110396ec041L, "name"), "copy")); pvqMethods.put("202934866059116851", new QueriesGenerated.PVQ(i++, MetaAdapterFactory.getProperty(0x479c7a8c02f943b5L, 0x9139d910cb22f298L, 0x16838b3fce9aa513L, 0x16838b3fce9aaa68L, "value"), "aaaa=bbb")); pvqMethods.put("202934866059116754", new QueriesGenerated.PVQ(i++, MetaAdapterFactory.getProperty(0x479c7a8c02f943b5L, 0x9139d910cb22f298L, 0x5c842a42c54cfd1fL, 0x5c842a42c54cfd20L, "text"), "folder")); pvqMethods.put("202934866059116832", new QueriesGenerated.PVQ(i++, MetaAdapterFactory.getProperty(0xceab519525ea4f22L, 0x9b92103b95ca8c0cL, 0x110396eaaa4L, 0x110396ec041L, "name"), "copy")); pvqMethods.put("6547494638219491803", new QueriesGenerated.PVQ(i++, MetaAdapterFactory.getProperty(0x479c7a8c02f943b5L, 0x9139d910cb22f298L, 0x5c842a42c54cfd1fL, 0x5c842a42c54cfd20L, "text"), "file")); pvqMethods.put("4701820937132270544", new QueriesGenerated.PVQ(i++, MetaAdapterFactory.getProperty(0x479c7a8c02f943b5L, 0x9139d910cb22f298L, 0x5c842a42c54cfd1fL, 0x5c842a42c54cfd20L, "text"), "folder")); pvqMethods.put("4701820937132270642", new QueriesGenerated.PVQ(i++, MetaAdapterFactory.getProperty(0xceab519525ea4f22L, 0x9b92103b95ca8c0cL, 0x110396eaaa4L, 0x110396ec041L, "name"), "copy")); pvqMethods.put("5610619299013114622", new QueriesGenerated.PVQ(i++, MetaAdapterFactory.getProperty(0x479c7a8c02f943b5L, 0x9139d910cb22f298L, 0x5c842a42c54cfd1fL, 0x5c842a42c54cfd20L, "text"), "folder")); pvqMethods.put("5610619299013114690", new QueriesGenerated.PVQ(i++, MetaAdapterFactory.getProperty(0x479c7a8c02f943b5L, 0x9139d910cb22f298L, 0x5c842a42c54cfd1fL, 0x5c842a42c54cfd20L, "text"), "dirOrFile")); pvqMethods.put("5610619299013114850", new QueriesGenerated.PVQ(i++, MetaAdapterFactory.getProperty(0xceab519525ea4f22L, 0x9b92103b95ca8c0cL, 0x110396eaaa4L, 0x110396ec041L, "name"), "copy")); pvqMethods.put("6921160174096729093", new QueriesGenerated.PVQ(i++, MetaAdapterFactory.getProperty(0xceab519525ea4f22L, 0x9b92103b95ca8c0cL, 0x110396eaaa4L, 0x110396ec041L, "name"), "name")); pvqMethods.put("1117643560963307391", new QueriesGenerated.PVQ(i++, MetaAdapterFactory.getProperty(0x698a8d22a10447a0L, 0xba8d10e3ec237f13L, 0x5fb388b43aa25d48L, 0x5fb388b43aa25d4aL, "defaultValue"), "value")); pvqMethods.put("1117643560963307394", new QueriesGenerated.PVQ(i++, MetaAdapterFactory.getProperty(0xceab519525ea4f22L, 0x9b92103b95ca8c0cL, 0x110396eaaa4L, 0x110396ec041L, "name"), "name")); pvqMethods.put("244868996532694201", new QueriesGenerated.PVQ(i++, MetaAdapterFactory.getProperty(0x698a8d22a10447a0L, 0xba8d10e3ec237f13L, 0x5fb388b43aa25d48L, 0x5fb388b43aa25d4aL, "defaultValue"), "value")); pvqMethods.put("244868996532694235", new QueriesGenerated.PVQ(i++, MetaAdapterFactory.getProperty(0xceab519525ea4f22L, 0x9b92103b95ca8c0cL, 0x110396eaaa4L, 0x110396ec041L, "name"), "name")); pvqMethods.put("244868996532694242", new QueriesGenerated.PVQ(i++, MetaAdapterFactory.getProperty(0x698a8d22a10447a0L, 0xba8d10e3ec237f13L, 0x5fb388b43aa25d48L, 0x5fb388b43aa25d4eL, "exportToProperiesFile"), "true")); pvqMethods.put("244868996532694646", new QueriesGenerated.PVQ(i++, MetaAdapterFactory.getProperty(0x479c7a8c02f943b5L, 0x9139d910cb22f298L, 0x5c842a42c54cfd1fL, 0x5c842a42c54cfd20L, "text"), "pname")); pvqMethods.put("244868996532694683", new QueriesGenerated.PVQ(i++, MetaAdapterFactory.getProperty(0x479c7a8c02f943b5L, 0x9139d910cb22f298L, 0x5c842a42c54cfd1fL, 0x5c842a42c54cfd20L, "text"), "yyyy")); pvqMethods.put("244868996532711386", new QueriesGenerated.PVQ(i++, MetaAdapterFactory.getProperty(0x479c7a8c02f943b5L, 0x9139d910cb22f298L, 0x5c842a42c54cfd1fL, 0x5c842a42c54cfd20L, "text"), "./build.properties")); pvqMethods.put("244868996532711448", new QueriesGenerated.PVQ(i++, MetaAdapterFactory.getProperty(0x479c7a8c02f943b5L, 0x9139d910cb22f298L, 0x5c842a42c54cfd1fL, 0x5c842a42c54cfd20L, "text"), "loaded.for.")); pvqMethods.put("244868996532694719", new QueriesGenerated.PVQ(i++, MetaAdapterFactory.getProperty(0x479c7a8c02f943b5L, 0x9139d910cb22f298L, 0x5c842a42c54cfd1fL, 0x5c842a42c54cfd20L, "text"), "pname")); pvqMethods.put("244868996532711506", new QueriesGenerated.PVQ(i++, MetaAdapterFactory.getProperty(0x479c7a8c02f943b5L, 0x9139d910cb22f298L, 0x5c842a42c54cfd1fL, 0x5c842a42c54cfd20L, "text"), "${loaded.for.x.x}")); pvqMethods.put("8404904817668835291", new QueriesGenerated.PVQ(i++, MetaAdapterFactory.getProperty(0x479c7a8c02f943b5L, 0x9139d910cb22f298L, 0x5c842a42c54cfd1fL, 0x5c842a42c54cfd20L, "text"), "pname")); pvqMethods.put("8404904817668907532", new QueriesGenerated.PVQ(i++, MetaAdapterFactory.getProperty(0x479c7a8c02f943b5L, 0x9139d910cb22f298L, 0x5c842a42c54cfd1fL, 0x5c842a42c54cfd20L, "text"), "./file.txt")); pvqMethods.put("733309334560065461", new QueriesGenerated.PVQ(i++, MetaAdapterFactory.getProperty(0x479c7a8c02f943b5L, 0x9139d910cb22f298L, 0x5c842a42c54cfd1fL, 0x5c842a42c54cfd20L, "text"), "maybe_not_exists_src_dir")); pvqMethods.put("1117643560963346387", new QueriesGenerated.PVQ(i++, MetaAdapterFactory.getProperty(0xceab519525ea4f22L, 0x9b92103b95ca8c0cL, 0x110396eaaa4L, 0x110396ec041L, "name"), "moduleN")); pvqMethods.put("1117643560963346426", new QueriesGenerated.PVQ(i++, MetaAdapterFactory.getProperty(0x698a8d22a10447a0L, 0xba8d10e3ec237f13L, 0x41fde5e4adce38bbL, 0x667edfe4171f2fb7L, "outputFolder"), "build/tmp/java/module1")); pvqMethods.put("8055294676438890974", new QueriesGenerated.PVQ(i++, MetaAdapterFactory.getProperty(0x479c7a8c02f943b5L, 0x9139d910cb22f298L, 0x5c842a42c54cfd1fL, 0x5c842a42c54cfd20L, "text"), ".")); pvqMethods.put("1659807394254872722", new QueriesGenerated.PVQ(i++, MetaAdapterFactory.getProperty(0x698a8d22a10447a0L, 0xba8d10e3ec237f13L, 0x41fde5e4adce38bbL, 0xcdff0e1a96739c5L, "generateDebugInfo"), "true")); pvqMethods.put("1659807394254873293", new QueriesGenerated.PVQ(i++, MetaAdapterFactory.getProperty(0x698a8d22a10447a0L, 0xba8d10e3ec237f13L, 0x41fde5e4adce38bbL, 0xcdff0e1a96ccbeeL, "noWarnings"), null)); pvqMethods.put("1659807394254873347", new QueriesGenerated.PVQ(i++, MetaAdapterFactory.getProperty(0x698a8d22a10447a0L, 0xba8d10e3ec237f13L, 0x41fde5e4adce38bbL, 0xcdff0e1a96ccbe3L, "heapSize"), null)); pvqMethods.put("703815700951902258", new QueriesGenerated.PVQ(i++, MetaAdapterFactory.getProperty(0x698a8d22a10447a0L, 0xba8d10e3ec237f13L, 0x41fde5e4adce38bbL, 0x1c936d31d30fdf98L, "compiler"), "modern")); pvqMethods.put("6998860900673151432", new QueriesGenerated.PVQ(i++, MetaAdapterFactory.getProperty(0x698a8d22a10447a0L, 0xba8d10e3ec237f13L, 0x41fde5e4adce38bbL, 0x6120f2e858e3ef7cL, "javaLevelSource"), "1.7")); pvqMethods.put("6998860900673160747", new QueriesGenerated.PVQ(i++, MetaAdapterFactory.getProperty(0x698a8d22a10447a0L, 0xba8d10e3ec237f13L, 0x41fde5e4adce38bbL, 0x6120f2e858e5a64cL, "javaLevelTarget"), "1.7")); pvqMethods.put("1476884141930961395", new QueriesGenerated.PVQ(i++, MetaAdapterFactory.getProperty(0x698a8d22a10447a0L, 0xba8d10e3ec237f13L, 0x41fde5e4adce38bbL, 0x147ef24d5e272d05L, "compilerOptions"), null)); pvqMethods.put("4416461515995914322", new QueriesGenerated.PVQ(i++, MetaAdapterFactory.getProperty(0x698a8d22a10447a0L, 0xba8d10e3ec237f13L, 0x41fde5e4adce38bbL, 0x3d4a6c597112f405L, "fork"), "true")); pvqMethods.put("7926701909975671868", new QueriesGenerated.PVQ(i++, MetaAdapterFactory.getProperty(0x479c7a8c02f943b5L, 0x9139d910cb22f298L, 0x5c842a42c54cfd1fL, 0x5c842a42c54cfd20L, "text"), "value")); pvqMethods.put("144710003695560914", new QueriesGenerated.PVQ(i++, MetaAdapterFactory.getProperty(0xceab519525ea4f22L, 0x9b92103b95ca8c0cL, 0x110396eaaa4L, 0x110396ec041L, "name"), "library")); pvqMethods.put("5248329904288079405", new QueriesGenerated.PVQ(i++, MetaAdapterFactory.getProperty(0x479c7a8c02f943b5L, 0x9139d910cb22f298L, 0x5c842a42c54cfd1fL, 0x5c842a42c54cfd20L, "text"), "folder")); pvqMethods.put("7866279537988669078", new QueriesGenerated.PVQ(i++, MetaAdapterFactory.getProperty(0x479c7a8c02f943b5L, 0x9139d910cb22f298L, 0x5c842a42c54cfd1fL, 0x5c842a42c54cfd20L, "text"), "folder")); pvqMethods.put("5248329904288079451", new QueriesGenerated.PVQ(i++, MetaAdapterFactory.getProperty(0x479c7a8c02f943b5L, 0x9139d910cb22f298L, 0x5c842a42c54cfd1fL, 0x5c842a42c54cfd20L, "text"), "folder")); pvqMethods.put("2303926226081012726", new QueriesGenerated.PVQ(i++, MetaAdapterFactory.getProperty(0x479c7a8c02f943b5L, 0x9139d910cb22f298L, 0x5c842a42c54cfd1fL, 0x5c842a42c54cfd20L, "text"), "folder")); pvqMethods.put("3717132724152837100", new QueriesGenerated.PVQ(i++, MetaAdapterFactory.getProperty(0x479c7a8c02f943b5L, 0x9139d910cb22f298L, 0x5c842a42c54cfd1fL, 0x5c842a42c54cfd20L, "text"), "folder")); pvqMethods.put("3717132724152837216", new QueriesGenerated.PVQ(i++, MetaAdapterFactory.getProperty(0x479c7a8c02f943b5L, 0x9139d910cb22f298L, 0x5c842a42c54cfd1fL, 0x5c842a42c54cfd20L, "text"), "folder")); pvqMethods.put("5248329904288082867", new QueriesGenerated.PVQ(i++, MetaAdapterFactory.getProperty(0x479c7a8c02f943b5L, 0x9139d910cb22f298L, 0x5c842a42c54cfd1fL, 0x5c842a42c54cfd20L, "text"), "**/*.txt")); pvqMethods.put("8654221991637384416", new QueriesGenerated.PVQ(i++, MetaAdapterFactory.getProperty(0x479c7a8c02f943b5L, 0x9139d910cb22f298L, 0x5c842a42c54cfd1fL, 0x5c842a42c54cfd20L, "text"), "**/*")); pvqMethods.put("5248329904288082881", new QueriesGenerated.PVQ(i++, MetaAdapterFactory.getProperty(0x479c7a8c02f943b5L, 0x9139d910cb22f298L, 0x5c842a42c54cfd1fL, 0x5c842a42c54cfd20L, "text"), "**/*.txt")); pvqMethods.put("4701820937132337490", new QueriesGenerated.PVQ(i++, MetaAdapterFactory.getProperty(0xceab519525ea4f22L, 0x9b92103b95ca8c0cL, 0x110396eaaa4L, 0x110396ec041L, "name"), "layout.name")); pvqMethods.put("6837653846148442220", new QueriesGenerated.PVQ(i++, MetaAdapterFactory.getProperty(0x479c7a8c02f943b5L, 0x9139d910cb22f298L, 0x5c842a42c54cfd1fL, 0x5c842a42c54cfd20L, "text"), "manifest.file")); pvqMethods.put("6837653846148442059", new QueriesGenerated.PVQ(i++, MetaAdapterFactory.getProperty(0x479c7a8c02f943b5L, 0x9139d910cb22f298L, 0x5c842a42c54cfd1fL, 0x5c842a42c54cfd20L, "text"), "name")); pvqMethods.put("6837653846148442075", new QueriesGenerated.PVQ(i++, MetaAdapterFactory.getProperty(0x479c7a8c02f943b5L, 0x9139d910cb22f298L, 0x5c842a42c54cfd1fL, 0x5c842a42c54cfd20L, "text"), "value")); pvqMethods.put("6837653846148442101", new QueriesGenerated.PVQ(i++, MetaAdapterFactory.getProperty(0x479c7a8c02f943b5L, 0x9139d910cb22f298L, 0x5c842a42c54cfd1fL, 0x5c842a42c54cfd20L, "text"), "name")); pvqMethods.put("6837653846148442117", new QueriesGenerated.PVQ(i++, MetaAdapterFactory.getProperty(0x479c7a8c02f943b5L, 0x9139d910cb22f298L, 0x5c842a42c54cfd1fL, 0x5c842a42c54cfd20L, "text"), "value")); pvqMethods.put("6837653846148442141", new QueriesGenerated.PVQ(i++, MetaAdapterFactory.getProperty(0x479c7a8c02f943b5L, 0x9139d910cb22f298L, 0x5c842a42c54cfd1fL, 0x5c842a42c54cfd20L, "text"), "name")); pvqMethods.put("6837653846148442042", new QueriesGenerated.PVQ(i++, MetaAdapterFactory.getProperty(0xceab519525ea4f22L, 0x9b92103b95ca8c0cL, 0x110396eaaa4L, 0x110396ec041L, "name"), "manifest")); pvqMethods.put("5368511706901764961", new QueriesGenerated.PVQ(i++, MetaAdapterFactory.getProperty(0x698a8d22a10447a0L, 0xba8d10e3ec237f13L, 0x5fb388b43aa25d48L, 0x5fb388b43aa25d4aL, "defaultValue"), "${build.dir}/tmp/buildname")); pvqMethods.put("5368511706901764925", new QueriesGenerated.PVQ(i++, MetaAdapterFactory.getProperty(0x698a8d22a10447a0L, 0xba8d10e3ec237f13L, 0x5fb388b43aa25d48L, 0x5fb388b43aa25d4aL, "defaultValue"), "${build.dir}/artifacts/buildname")); pvqMethods.put("4129895186893528654", new QueriesGenerated.PVQ(i++, MetaAdapterFactory.getProperty(0xceab519525ea4f22L, 0x9b92103b95ca8c0cL, 0x110396eaaa4L, 0x110396ec041L, "name"), "artifacts.targetBuildName")); pvqMethods.put("4129895186893528775", new QueriesGenerated.PVQ(i++, MetaAdapterFactory.getProperty(0x698a8d22a10447a0L, 0xba8d10e3ec237f13L, 0x5fb388b43aa25d48L, 0x5fb388b43aa25d4aL, "defaultValue"), " ")); pvqMethods.put("7181125477683419234", new QueriesGenerated.PVQ(i++, MetaAdapterFactory.getProperty(0xceab519525ea4f22L, 0x9b92103b95ca8c0cL, 0x110396eaaa4L, 0x110396ec041L, "name"), "artifacts.externalLayout")); pvqMethods.put("7181125477683419246", new QueriesGenerated.PVQ(i++, MetaAdapterFactory.getProperty(0x698a8d22a10447a0L, 0xba8d10e3ec237f13L, 0x5fb388b43aa25d48L, 0x5fb388b43aa25d4aL, "defaultValue"), " ")); pvqMethods.put("6520682027041002226", new QueriesGenerated.PVQ(i++, MetaAdapterFactory.getProperty(0x698a8d22a10447a0L, 0xba8d10e3ec237f13L, 0x5a7e1dc16b0ca24fL, 0x5a7e1dc16b0ca251L, "propertiesFile"), "anotherlayout/build.properties")); pvqMethods.put("6520682027041002309", new QueriesGenerated.PVQ(i++, MetaAdapterFactory.getProperty(0x698a8d22a10447a0L, 0xba8d10e3ec237f13L, 0x5a7e1dc16b0ca24fL, 0x5a7e1dc16b0ca250L, "prefix"), "anotherlayout")); pvqMethods.put("6520682027040940550", new QueriesGenerated.PVQ(i++, MetaAdapterFactory.getProperty(0xceab519525ea4f22L, 0x9b92103b95ca8c0cL, 0x110396eaaa4L, 0x110396ec041L, "name"), "reexported")); pvqMethods.put("6520682027041001063", new QueriesGenerated.PVQ(i++, MetaAdapterFactory.getProperty(0x698a8d22a10447a0L, 0xba8d10e3ec237f13L, 0x5fb388b43aa25d48L, 0x5fb388b43aa25d4aL, "defaultValue"), "imported.value")); pvqMethods.put("9126048691954996124", new QueriesGenerated.PVQ(i++, MetaAdapterFactory.getProperty(0x479c7a8c02f943b5L, 0x9139d910cb22f298L, 0x5c842a42c54cfd1fL, 0x5c842a42c54cfd20L, "text"), "folder")); pvqMethods.put("9126048691954994111", new QueriesGenerated.PVQ(i++, MetaAdapterFactory.getProperty(0xceab519525ea4f22L, 0x9b92103b95ca8c0cL, 0x110396eaaa4L, 0x110396ec041L, "name"), "mkdir.artifacts")); pvqMethods.put("5662391463398094396", new QueriesGenerated.PVQ(i++, MetaAdapterFactory.getProperty(0x479c7a8c02f943b5L, 0x9139d910cb22f298L, 0x5c842a42c54cfd1fL, 0x5c842a42c54cfd20L, "text"), "${build.dir}/artifacts/")); pvqMethods.put("5662391463398078668", new QueriesGenerated.PVQ(i++, MetaAdapterFactory.getProperty(0x479c7a8c02f943b5L, 0x9139d910cb22f298L, 0x16838b3fce9aa513L, 0x16838b3fce9aaa68L, "value"), "var=${value}")); pvqMethods.put("6520682027041196885", new QueriesGenerated.PVQ(i++, MetaAdapterFactory.getProperty(0x479c7a8c02f943b5L, 0x9139d910cb22f298L, 0x5c842a42c54cfd1fL, 0x5c842a42c54cfd20L, "text"), "build.xml")); pvqMethods.put("3595702787188242918", new QueriesGenerated.PVQ(i++, MetaAdapterFactory.getProperty(0xceab519525ea4f22L, 0x9b92103b95ca8c0cL, 0x110396eaaa4L, 0x110396ec041L, "name"), "build")); pvqMethods.put("5096397858823409283", new QueriesGenerated.PVQ(i++, MetaAdapterFactory.getProperty(0x698a8d22a10447a0L, 0xba8d10e3ec237f13L, 0x2670d5989d5a6271L, 0x667edfe41720f53eL, "temporaryFolder"), "${build.tmp}")); pvqMethods.put("5178006408628664058", new QueriesGenerated.PVQ(i++, MetaAdapterFactory.getProperty(0x698a8d22a10447a0L, 0xba8d10e3ec237f13L, 0x2670d5989d5a6271L, 0x47dbf964f7011e8eL, "baseDirectory"), ".")); pvqMethods.put("1117643560963351183", new QueriesGenerated.PVQ(i++, MetaAdapterFactory.getProperty(0x479c7a8c02f943b5L, 0x9139d910cb22f298L, 0x5c842a42c54cfd1fL, 0x5c842a42c54cfd20L, "text"), "dir")); pvqMethods.put("1330375798088592599", new QueriesGenerated.PVQ(i++, MetaAdapterFactory.getProperty(0x479c7a8c02f943b5L, 0x9139d910cb22f298L, 0x5c842a42c54cfd1fL, 0x5c842a42c54cfd20L, "text"), "temp")); pvqMethods.put("1330375798099682996", new QueriesGenerated.PVQ(i++, MetaAdapterFactory.getProperty(0x479c7a8c02f943b5L, 0x9139d910cb22f298L, 0x5c842a42c54cfd1fL, 0x5c842a42c54cfd20L, "text"), "folder1")); pvqMethods.put("1330375798099683029", new QueriesGenerated.PVQ(i++, MetaAdapterFactory.getProperty(0x479c7a8c02f943b5L, 0x9139d910cb22f298L, 0x5c842a42c54cfd1fL, 0x5c842a42c54cfd20L, "text"), "644")); pvqMethods.put("1330375798099683051", new QueriesGenerated.PVQ(i++, MetaAdapterFactory.getProperty(0x479c7a8c02f943b5L, 0x9139d910cb22f298L, 0x5c842a42c54cfd1fL, 0x5c842a42c54cfd20L, "text"), "755")); pvqMethods.put("1330375798099612901", new QueriesGenerated.PVQ(i++, MetaAdapterFactory.getProperty(0x479c7a8c02f943b5L, 0x9139d910cb22f298L, 0x5c842a42c54b10b2L, 0x5c842a42c54b10b6L, "tagName"), "fileset")); pvqMethods.put("5610619299013114889", new QueriesGenerated.PVQ(i++, MetaAdapterFactory.getProperty(0x479c7a8c02f943b5L, 0x9139d910cb22f298L, 0x5c842a42c54cfd1fL, 0x5c842a42c54cfd20L, "text"), "dirOrFile")); pvqMethods.put("5610619299013114896", new QueriesGenerated.PVQ(i++, MetaAdapterFactory.getProperty(0x479c7a8c02f943b5L, 0x9139d910cb22f298L, 0x5c842a42c54b8df3L, 0x5c842a42c54b8df6L, "attrName"), "file")); pvqMethods.put("6408167411310656492", new QueriesGenerated.PVQ(i++, MetaAdapterFactory.getProperty(0x479c7a8c02f943b5L, 0x9139d910cb22f298L, 0x5c842a42c54cfd1fL, 0x5c842a42c54cfd20L, "text"), "folder1")); pvqMethods.put("7801138212747257295", new QueriesGenerated.PVQ(i++, MetaAdapterFactory.getProperty(0x479c7a8c02f943b5L, 0x9139d910cb22f298L, 0x5c842a42c54cfd1fL, 0x5c842a42c54cfd20L, "text"), "644")); pvqMethods.put("7801138212747257317", new QueriesGenerated.PVQ(i++, MetaAdapterFactory.getProperty(0x479c7a8c02f943b5L, 0x9139d910cb22f298L, 0x5c842a42c54cfd1fL, 0x5c842a42c54cfd20L, "text"), "755")); pvqMethods.put("6408167411310656513", new QueriesGenerated.PVQ(i++, MetaAdapterFactory.getProperty(0x479c7a8c02f943b5L, 0x9139d910cb22f298L, 0x5c842a42c54b10b2L, 0x5c842a42c54b10b6L, "tagName"), "fileset")); pvqMethods.put("5610619299013115001", new QueriesGenerated.PVQ(i++, MetaAdapterFactory.getProperty(0x479c7a8c02f943b5L, 0x9139d910cb22f298L, 0x5c842a42c54cfd1fL, 0x5c842a42c54cfd20L, "text"), "dirOrFile")); pvqMethods.put("6408167411310656470", new QueriesGenerated.PVQ(i++, MetaAdapterFactory.getProperty(0x479c7a8c02f943b5L, 0x9139d910cb22f298L, 0x5c842a42c54cfd1fL, 0x5c842a42c54cfd20L, "text"), "folder1")); pvqMethods.put("7801138212747257251", new QueriesGenerated.PVQ(i++, MetaAdapterFactory.getProperty(0x479c7a8c02f943b5L, 0x9139d910cb22f298L, 0x5c842a42c54cfd1fL, 0x5c842a42c54cfd20L, "text"), "644")); pvqMethods.put("7801138212747257273", new QueriesGenerated.PVQ(i++, MetaAdapterFactory.getProperty(0x479c7a8c02f943b5L, 0x9139d910cb22f298L, 0x5c842a42c54cfd1fL, 0x5c842a42c54cfd20L, "text"), "755")); pvqMethods.put("6408167411310656569", new QueriesGenerated.PVQ(i++, MetaAdapterFactory.getProperty(0x479c7a8c02f943b5L, 0x9139d910cb22f298L, 0x5c842a42c54b10b2L, 0x5c842a42c54b10b6L, "tagName"), "fileset")); pvqMethods.put("6408167411310621644", new QueriesGenerated.PVQ(i++, MetaAdapterFactory.getProperty(0x479c7a8c02f943b5L, 0x9139d910cb22f298L, 0x5c842a42c54cfd1fL, 0x5c842a42c54cfd20L, "text"), "folder")); pvqMethods.put("6408167411310656149", new QueriesGenerated.PVQ(i++, MetaAdapterFactory.getProperty(0x479c7a8c02f943b5L, 0x9139d910cb22f298L, 0x5c842a42c54cfd1fL, 0x5c842a42c54cfd20L, "text"), "folder1")); pvqMethods.put("7801138212747257071", new QueriesGenerated.PVQ(i++, MetaAdapterFactory.getProperty(0x479c7a8c02f943b5L, 0x9139d910cb22f298L, 0x5c842a42c54cfd1fL, 0x5c842a42c54cfd20L, "text"), "644")); pvqMethods.put("7801138212747257128", new QueriesGenerated.PVQ(i++, MetaAdapterFactory.getProperty(0x479c7a8c02f943b5L, 0x9139d910cb22f298L, 0x5c842a42c54cfd1fL, 0x5c842a42c54cfd20L, "text"), "755")); pvqMethods.put("6408167411310655108", new QueriesGenerated.PVQ(i++, MetaAdapterFactory.getProperty(0x479c7a8c02f943b5L, 0x9139d910cb22f298L, 0x5c842a42c54b10b2L, 0x5c842a42c54b10b6L, "tagName"), "fileset")); pvqMethods.put("6408167411310621702", new QueriesGenerated.PVQ(i++, MetaAdapterFactory.getProperty(0x479c7a8c02f943b5L, 0x9139d910cb22f298L, 0x5c842a42c54cfd1fL, 0x5c842a42c54cfd20L, "text"), "folder")); pvqMethods.put("6408167411310656274", new QueriesGenerated.PVQ(i++, MetaAdapterFactory.getProperty(0x479c7a8c02f943b5L, 0x9139d910cb22f298L, 0x5c842a42c54cfd1fL, 0x5c842a42c54cfd20L, "text"), "folder1")); pvqMethods.put("7801138212747257207", new QueriesGenerated.PVQ(i++, MetaAdapterFactory.getProperty(0x479c7a8c02f943b5L, 0x9139d910cb22f298L, 0x5c842a42c54cfd1fL, 0x5c842a42c54cfd20L, "text"), "644")); pvqMethods.put("6408167411310656263", new QueriesGenerated.PVQ(i++, MetaAdapterFactory.getProperty(0x479c7a8c02f943b5L, 0x9139d910cb22f298L, 0x5c842a42c54b10b2L, 0x5c842a42c54b10b6L, "tagName"), "fileset")); pvqMethods.put("4821808014881207504", new QueriesGenerated.PVQ(i++, MetaAdapterFactory.getProperty(0x479c7a8c02f943b5L, 0x9139d910cb22f298L, 0x5c842a42c54cfd1fL, 0x5c842a42c54cfd20L, "text"), "module.jar")); pvqMethods.put("8169228734285529580", new QueriesGenerated.PVQ(i++, MetaAdapterFactory.getProperty(0x479c7a8c02f943b5L, 0x9139d910cb22f298L, 0x5c842a42c54cfd1fL, 0x5c842a42c54cfd20L, "text"), "module.jar")); pvqMethods.put("6859736767834590112", new QueriesGenerated.PVQ(i++, MetaAdapterFactory.getProperty(0x479c7a8c02f943b5L, 0x9139d910cb22f298L, 0x5c842a42c54cfd1fL, 0x5c842a42c54cfd20L, "text"), "module.jar")); pvqMethods.put("5610619299014531950", new QueriesGenerated.PVQ(i++, MetaAdapterFactory.getProperty(0x479c7a8c02f943b5L, 0x9139d910cb22f298L, 0x5c842a42c54cfd1fL, 0x5c842a42c54cfd20L, "text"), "folder")); pvqMethods.put("1556400259614055521", new QueriesGenerated.PVQ(i++, MetaAdapterFactory.getProperty(0x798100da4f0a421aL, 0xb99171f8c50ce5d2L, 0x440d7ea3b68b7d03L, 0x440d7ea3b68c4d56L, "text"), "aaaa")); pvqMethods.put("2750015747481191461", new QueriesGenerated.PVQ(i++, MetaAdapterFactory.getProperty(0x798100da4f0a421aL, 0xb99171f8c50ce5d2L, 0x6c4335df4e838e40L, 0x6c4335df4e838e44L, "filemode"), "777")); pvqMethods.put("342830306171239729", new QueriesGenerated.PVQ(i++, MetaAdapterFactory.getProperty(0x479c7a8c02f943b5L, 0x9139d910cb22f298L, 0x5c842a42c54cfd1fL, 0x5c842a42c54cfd20L, "text"), "folder")); pvqMethods.put("6083230236994856262", new QueriesGenerated.PVQ(i++, MetaAdapterFactory.getProperty(0xceab519525ea4f22L, 0x9b92103b95ca8c0cL, 0x110396eaaa4L, 0x110396ec041L, "name"), "unpack")); pvqMethods.put("6083230236994856534", new QueriesGenerated.PVQ(i++, MetaAdapterFactory.getProperty(0xceab519525ea4f22L, 0x9b92103b95ca8c0cL, 0x110396eaaa4L, 0x110396ec041L, "name"), "unpack")); } @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_1117643560963267883(ctx); case 1: return QueriesGenerated.propertyMacro_GetPropertyValue_1117643560963268263(ctx); case 2: return QueriesGenerated.propertyMacro_GetPropertyValue_1117643560963364006(ctx); case 3: return QueriesGenerated.propertyMacro_GetPropertyValue_1117643560963358439(ctx); case 4: return QueriesGenerated.propertyMacro_GetPropertyValue_1117643560963358405(ctx); case 5: return QueriesGenerated.propertyMacro_GetPropertyValue_1117643560963268231(ctx); case 6: return QueriesGenerated.propertyMacro_GetPropertyValue_6837653846148504888(ctx); case 7: return QueriesGenerated.propertyMacro_GetPropertyValue_7801138212747394521(ctx); case 8: return QueriesGenerated.propertyMacro_GetPropertyValue_7801138212747394625(ctx); case 9: return QueriesGenerated.propertyMacro_GetPropertyValue_7801138212747394765(ctx); case 10: return QueriesGenerated.propertyMacro_GetPropertyValue_7801138212747420785(ctx); case 11: return QueriesGenerated.propertyMacro_GetPropertyValue_1117643560963351294(ctx); case 12: return QueriesGenerated.propertyMacro_GetPropertyValue_1117643560963268242(ctx); case 13: return QueriesGenerated.propertyMacro_GetPropertyValue_1117643560963358510(ctx); case 14: return QueriesGenerated.propertyMacro_GetPropertyValue_1117643560963358520(ctx); case 15: return QueriesGenerated.propertyMacro_GetPropertyValue_1117643560963358535(ctx); case 16: return QueriesGenerated.propertyMacro_GetPropertyValue_7801138212747394825(ctx); case 17: return QueriesGenerated.propertyMacro_GetPropertyValue_7801138212747394845(ctx); case 18: return QueriesGenerated.propertyMacro_GetPropertyValue_7801138212747394863(ctx); case 19: return QueriesGenerated.propertyMacro_GetPropertyValue_7801138212747420743(ctx); case 20: return QueriesGenerated.propertyMacro_GetPropertyValue_1117643560963358569(ctx); case 21: return QueriesGenerated.propertyMacro_GetPropertyValue_1117643560963358598(ctx); case 22: return QueriesGenerated.propertyMacro_GetPropertyValue_8577651205286952472(ctx); case 23: return QueriesGenerated.propertyMacro_GetPropertyValue_8577651205286952501(ctx); case 24: return QueriesGenerated.propertyMacro_GetPropertyValue_8577651205286952543(ctx); case 25: return QueriesGenerated.propertyMacro_GetPropertyValue_1979010778009295389(ctx); case 26: return QueriesGenerated.propertyMacro_GetPropertyValue_7801138212747394903(ctx); case 27: return QueriesGenerated.propertyMacro_GetPropertyValue_7801138212747394923(ctx); case 28: return QueriesGenerated.propertyMacro_GetPropertyValue_7801138212747394941(ctx); case 29: return QueriesGenerated.propertyMacro_GetPropertyValue_7801138212747405865(ctx); case 30: return QueriesGenerated.propertyMacro_GetPropertyValue_8577651205286952577(ctx); case 31: return QueriesGenerated.propertyMacro_GetPropertyValue_8577651205286952606(ctx); case 32: return QueriesGenerated.propertyMacro_GetPropertyValue_7801138212747391977(ctx); case 33: return QueriesGenerated.propertyMacro_GetPropertyValue_7801138212747392029(ctx); case 34: return QueriesGenerated.propertyMacro_GetPropertyValue_7801138212747392100(ctx); case 35: return QueriesGenerated.propertyMacro_GetPropertyValue_2913098736709502287(ctx); case 36: return QueriesGenerated.propertyMacro_GetPropertyValue_2913098736709502392(ctx); case 37: return QueriesGenerated.propertyMacro_GetPropertyValue_5248329904288079307(ctx); case 38: return QueriesGenerated.propertyMacro_GetPropertyValue_5248329904288131577(ctx); case 39: return QueriesGenerated.propertyMacro_GetPropertyValue_1330375798064504256(ctx); case 40: return QueriesGenerated.propertyMacro_GetPropertyValue_1330375798061623007(ctx); case 41: return QueriesGenerated.propertyMacro_GetPropertyValue_7918752904806212853(ctx); case 42: return QueriesGenerated.propertyMacro_GetPropertyValue_7918752904806176130(ctx); case 43: return QueriesGenerated.propertyMacro_GetPropertyValue_1330375798061013111(ctx); case 44: return QueriesGenerated.propertyMacro_GetPropertyValue_1330375798064791207(ctx); case 45: return QueriesGenerated.propertyMacro_GetPropertyValue_9184644532456968183(ctx); case 46: return QueriesGenerated.propertyMacro_GetPropertyValue_9184644532456968281(ctx); case 47: return QueriesGenerated.propertyMacro_GetPropertyValue_9184644532456968460(ctx); case 48: return QueriesGenerated.propertyMacro_GetPropertyValue_9184644532456968492(ctx); case 49: return QueriesGenerated.propertyMacro_GetPropertyValue_9184644532457106546(ctx); case 50: return QueriesGenerated.propertyMacro_GetPropertyValue_9184644532457106555(ctx); case 51: return QueriesGenerated.propertyMacro_GetPropertyValue_9184644532457106586(ctx); case 52: return QueriesGenerated.propertyMacro_GetPropertyValue_4198392933254628144(ctx); case 53: return QueriesGenerated.propertyMacro_GetPropertyValue_3970102152660874527(ctx); case 54: return QueriesGenerated.propertyMacro_GetPropertyValue_3970102152660874559(ctx); case 55: return QueriesGenerated.propertyMacro_GetPropertyValue_3970102152660876483(ctx); case 56: return QueriesGenerated.propertyMacro_GetPropertyValue_3970102152660876492(ctx); case 57: return QueriesGenerated.propertyMacro_GetPropertyValue_4643216374596142877(ctx); case 58: return QueriesGenerated.propertyMacro_GetPropertyValue_4643216374596143015(ctx); case 59: return QueriesGenerated.propertyMacro_GetPropertyValue_202934866059116852(ctx); case 60: return QueriesGenerated.propertyMacro_GetPropertyValue_202934866059116755(ctx); case 61: return QueriesGenerated.propertyMacro_GetPropertyValue_202934866059116833(ctx); case 62: return QueriesGenerated.propertyMacro_GetPropertyValue_6547494638219491804(ctx); case 63: return QueriesGenerated.propertyMacro_GetPropertyValue_4701820937132270545(ctx); case 64: return QueriesGenerated.propertyMacro_GetPropertyValue_4701820937132270643(ctx); case 65: return QueriesGenerated.propertyMacro_GetPropertyValue_5610619299013114623(ctx); case 66: return QueriesGenerated.propertyMacro_GetPropertyValue_5610619299013114691(ctx); case 67: return QueriesGenerated.propertyMacro_GetPropertyValue_5610619299013114851(ctx); case 68: return QueriesGenerated.propertyMacro_GetPropertyValue_6921160174096729094(ctx); case 69: return QueriesGenerated.propertyMacro_GetPropertyValue_1117643560963307392(ctx); case 70: return QueriesGenerated.propertyMacro_GetPropertyValue_1117643560963307395(ctx); case 71: return QueriesGenerated.propertyMacro_GetPropertyValue_244868996532694202(ctx); case 72: return QueriesGenerated.propertyMacro_GetPropertyValue_244868996532694236(ctx); case 73: return QueriesGenerated.propertyMacro_GetPropertyValue_244868996532694243(ctx); case 74: return QueriesGenerated.propertyMacro_GetPropertyValue_244868996532694647(ctx); case 75: return QueriesGenerated.propertyMacro_GetPropertyValue_244868996532694684(ctx); case 76: return QueriesGenerated.propertyMacro_GetPropertyValue_244868996532711387(ctx); case 77: return QueriesGenerated.propertyMacro_GetPropertyValue_244868996532711449(ctx); case 78: return QueriesGenerated.propertyMacro_GetPropertyValue_244868996532694720(ctx); case 79: return QueriesGenerated.propertyMacro_GetPropertyValue_244868996532711507(ctx); case 80: return QueriesGenerated.propertyMacro_GetPropertyValue_8404904817668835292(ctx); case 81: return QueriesGenerated.propertyMacro_GetPropertyValue_8404904817668907533(ctx); case 82: return QueriesGenerated.propertyMacro_GetPropertyValue_733309334560065462(ctx); case 83: return QueriesGenerated.propertyMacro_GetPropertyValue_1117643560963346388(ctx); case 84: return QueriesGenerated.propertyMacro_GetPropertyValue_1117643560963346427(ctx); case 85: return QueriesGenerated.propertyMacro_GetPropertyValue_8055294676438890975(ctx); case 86: return QueriesGenerated.propertyMacro_GetPropertyValue_1659807394254872723(ctx); case 87: return QueriesGenerated.propertyMacro_GetPropertyValue_1659807394254873294(ctx); case 88: return QueriesGenerated.propertyMacro_GetPropertyValue_1659807394254873348(ctx); case 89: return QueriesGenerated.propertyMacro_GetPropertyValue_703815700951902259(ctx); case 90: return QueriesGenerated.propertyMacro_GetPropertyValue_6998860900673151433(ctx); case 91: return QueriesGenerated.propertyMacro_GetPropertyValue_6998860900673160748(ctx); case 92: return QueriesGenerated.propertyMacro_GetPropertyValue_1476884141930961396(ctx); case 93: return QueriesGenerated.propertyMacro_GetPropertyValue_4416461515995914323(ctx); case 94: return QueriesGenerated.propertyMacro_GetPropertyValue_7926701909975671869(ctx); case 95: return QueriesGenerated.propertyMacro_GetPropertyValue_144710003695560915(ctx); case 96: return QueriesGenerated.propertyMacro_GetPropertyValue_5248329904288079406(ctx); case 97: return QueriesGenerated.propertyMacro_GetPropertyValue_7866279537988669079(ctx); case 98: return QueriesGenerated.propertyMacro_GetPropertyValue_5248329904288079452(ctx); case 99: return QueriesGenerated.propertyMacro_GetPropertyValue_2303926226081012727(ctx); case 100: return QueriesGenerated.propertyMacro_GetPropertyValue_3717132724152837101(ctx); case 101: return QueriesGenerated.propertyMacro_GetPropertyValue_3717132724152837217(ctx); case 102: return QueriesGenerated.propertyMacro_GetPropertyValue_5248329904288082868(ctx); case 103: return QueriesGenerated.propertyMacro_GetPropertyValue_8654221991637384417(ctx); case 104: return QueriesGenerated.propertyMacro_GetPropertyValue_5248329904288082882(ctx); case 105: return QueriesGenerated.propertyMacro_GetPropertyValue_4701820937132337491(ctx); case 106: return QueriesGenerated.propertyMacro_GetPropertyValue_6837653846148442221(ctx); case 107: return QueriesGenerated.propertyMacro_GetPropertyValue_6837653846148442060(ctx); case 108: return QueriesGenerated.propertyMacro_GetPropertyValue_6837653846148442076(ctx); case 109: return QueriesGenerated.propertyMacro_GetPropertyValue_6837653846148442102(ctx); case 110: return QueriesGenerated.propertyMacro_GetPropertyValue_6837653846148442118(ctx); case 111: return QueriesGenerated.propertyMacro_GetPropertyValue_6837653846148442142(ctx); case 112: return QueriesGenerated.propertyMacro_GetPropertyValue_6837653846148442043(ctx); case 113: return QueriesGenerated.propertyMacro_GetPropertyValue_5368511706901764962(ctx); case 114: return QueriesGenerated.propertyMacro_GetPropertyValue_5368511706901764926(ctx); case 115: return QueriesGenerated.propertyMacro_GetPropertyValue_4129895186893528655(ctx); case 116: return QueriesGenerated.propertyMacro_GetPropertyValue_4129895186893528776(ctx); case 117: return QueriesGenerated.propertyMacro_GetPropertyValue_7181125477683419235(ctx); case 118: return QueriesGenerated.propertyMacro_GetPropertyValue_7181125477683419247(ctx); case 119: return QueriesGenerated.propertyMacro_GetPropertyValue_6520682027041002227(ctx); case 120: return QueriesGenerated.propertyMacro_GetPropertyValue_6520682027041002310(ctx); case 121: return QueriesGenerated.propertyMacro_GetPropertyValue_6520682027040940551(ctx); case 122: return QueriesGenerated.propertyMacro_GetPropertyValue_6520682027041001064(ctx); case 123: return QueriesGenerated.propertyMacro_GetPropertyValue_9126048691954996125(ctx); case 124: return QueriesGenerated.propertyMacro_GetPropertyValue_9126048691954994112(ctx); case 125: return QueriesGenerated.propertyMacro_GetPropertyValue_5662391463398094397(ctx); case 126: return QueriesGenerated.propertyMacro_GetPropertyValue_5662391463398078669(ctx); case 127: return QueriesGenerated.propertyMacro_GetPropertyValue_6520682027041196886(ctx); case 128: return QueriesGenerated.propertyMacro_GetPropertyValue_3595702787188242919(ctx); case 129: return QueriesGenerated.propertyMacro_GetPropertyValue_5096397858823409284(ctx); case 130: return QueriesGenerated.propertyMacro_GetPropertyValue_5178006408628664059(ctx); case 131: return QueriesGenerated.propertyMacro_GetPropertyValue_1117643560963351184(ctx); case 132: return QueriesGenerated.propertyMacro_GetPropertyValue_1330375798088592600(ctx); case 133: return QueriesGenerated.propertyMacro_GetPropertyValue_1330375798099682997(ctx); case 134: return QueriesGenerated.propertyMacro_GetPropertyValue_1330375798099683030(ctx); case 135: return QueriesGenerated.propertyMacro_GetPropertyValue_1330375798099683052(ctx); case 136: return QueriesGenerated.propertyMacro_GetPropertyValue_1330375798099612902(ctx); case 137: return QueriesGenerated.propertyMacro_GetPropertyValue_5610619299013114890(ctx); case 138: return QueriesGenerated.propertyMacro_GetPropertyValue_5610619299013114897(ctx); case 139: return QueriesGenerated.propertyMacro_GetPropertyValue_6408167411310656493(ctx); case 140: return QueriesGenerated.propertyMacro_GetPropertyValue_7801138212747257296(ctx); case 141: return QueriesGenerated.propertyMacro_GetPropertyValue_7801138212747257318(ctx); case 142: return QueriesGenerated.propertyMacro_GetPropertyValue_6408167411310656514(ctx); case 143: return QueriesGenerated.propertyMacro_GetPropertyValue_5610619299013115002(ctx); case 144: return QueriesGenerated.propertyMacro_GetPropertyValue_6408167411310656471(ctx); case 145: return QueriesGenerated.propertyMacro_GetPropertyValue_7801138212747257252(ctx); case 146: return QueriesGenerated.propertyMacro_GetPropertyValue_7801138212747257274(ctx); case 147: return QueriesGenerated.propertyMacro_GetPropertyValue_6408167411310656570(ctx); case 148: return QueriesGenerated.propertyMacro_GetPropertyValue_6408167411310621645(ctx); case 149: return QueriesGenerated.propertyMacro_GetPropertyValue_6408167411310656150(ctx); case 150: return QueriesGenerated.propertyMacro_GetPropertyValue_7801138212747257072(ctx); case 151: return QueriesGenerated.propertyMacro_GetPropertyValue_7801138212747257129(ctx); case 152: return QueriesGenerated.propertyMacro_GetPropertyValue_6408167411310655109(ctx); case 153: return QueriesGenerated.propertyMacro_GetPropertyValue_6408167411310621703(ctx); case 154: return QueriesGenerated.propertyMacro_GetPropertyValue_6408167411310656275(ctx); case 155: return QueriesGenerated.propertyMacro_GetPropertyValue_7801138212747257208(ctx); case 156: return QueriesGenerated.propertyMacro_GetPropertyValue_6408167411310656264(ctx); case 157: return QueriesGenerated.propertyMacro_GetPropertyValue_4821808014881207505(ctx); case 158: return QueriesGenerated.propertyMacro_GetPropertyValue_8169228734285529581(ctx); case 159: return QueriesGenerated.propertyMacro_GetPropertyValue_6859736767834590113(ctx); case 160: return QueriesGenerated.propertyMacro_GetPropertyValue_5610619299014531951(ctx); case 161: return QueriesGenerated.propertyMacro_GetPropertyValue_1556400259614055522(ctx); case 162: return QueriesGenerated.propertyMacro_GetPropertyValue_2750015747481191462(ctx); case 163: return QueriesGenerated.propertyMacro_GetPropertyValue_342830306171239730(ctx); case 164: return QueriesGenerated.propertyMacro_GetPropertyValue_6083230236994856263(ctx); case 165: return QueriesGenerated.propertyMacro_GetPropertyValue_6083230236994856535(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("6408167411310933884", new QueriesGenerated.IfMC(i++)); imcMethods.put("1117643560963363811", new QueriesGenerated.IfMC(i++)); imcMethods.put("1117643560963363970", new QueriesGenerated.IfMC(i++)); imcMethods.put("1117643560963369194", new QueriesGenerated.IfMC(i++)); imcMethods.put("1117643560963359503", new QueriesGenerated.IfMC(i++)); imcMethods.put("6837653846148504891", new QueriesGenerated.IfMC(i++)); imcMethods.put("7801138212747394538", new QueriesGenerated.IfMC(i++)); imcMethods.put("7801138212747394680", new QueriesGenerated.IfMC(i++)); imcMethods.put("7801138212747420803", new QueriesGenerated.IfMC(i++)); imcMethods.put("1117643560963351258", new QueriesGenerated.IfMC(i++)); imcMethods.put("1117643560963363923", new QueriesGenerated.IfMC(i++)); imcMethods.put("1117643560963369174", new QueriesGenerated.IfMC(i++)); imcMethods.put("1117643560963363843", new QueriesGenerated.IfMC(i++)); imcMethods.put("7801138212747394834", new QueriesGenerated.IfMC(i++)); imcMethods.put("7801138212747394852", new QueriesGenerated.IfMC(i++)); imcMethods.put("7801138212747420761", new QueriesGenerated.IfMC(i++)); imcMethods.put("1117643560963358577", new QueriesGenerated.IfMC(i++)); imcMethods.put("1117643560963363875", new QueriesGenerated.IfMC(i++)); imcMethods.put("8577651205286952480", new QueriesGenerated.IfMC(i++)); imcMethods.put("8577651205286952508", new QueriesGenerated.IfMC(i++)); imcMethods.put("1979010778009294645", new QueriesGenerated.IfMC(i++)); imcMethods.put("7801138212747394912", new QueriesGenerated.IfMC(i++)); imcMethods.put("7801138212747394930", new QueriesGenerated.IfMC(i++)); imcMethods.put("7801138212747420621", new QueriesGenerated.IfMC(i++)); imcMethods.put("8577651205286952585", new QueriesGenerated.IfMC(i++)); imcMethods.put("8577651205286952615", new QueriesGenerated.IfMC(i++)); imcMethods.put("7801138212747391985", new QueriesGenerated.IfMC(i++)); imcMethods.put("7801138212747392037", new QueriesGenerated.IfMC(i++)); imcMethods.put("7801138212747392080", new QueriesGenerated.IfMC(i++)); imcMethods.put("2913098736709502294", new QueriesGenerated.IfMC(i++)); imcMethods.put("2913098736709502401", new QueriesGenerated.IfMC(i++)); imcMethods.put("5248329904288129326", new QueriesGenerated.IfMC(i++)); imcMethods.put("5248329904288129296", new QueriesGenerated.IfMC(i++)); imcMethods.put("1330375798064449863", new QueriesGenerated.IfMC(i++)); imcMethods.put("1330375798085921074", new QueriesGenerated.IfMC(i++)); imcMethods.put("1330375798064791171", new QueriesGenerated.IfMC(i++)); imcMethods.put("9184644532456968296", new QueriesGenerated.IfMC(i++)); imcMethods.put("6977615362525734793", new QueriesGenerated.IfMC(i++)); imcMethods.put("9184644532456968221", new QueriesGenerated.IfMC(i++)); imcMethods.put("9184644532456968251", new QueriesGenerated.IfMC(i++)); imcMethods.put("4198392933254627393", new QueriesGenerated.IfMC(i++)); imcMethods.put("4198392933254627360", new QueriesGenerated.IfMC(i++)); imcMethods.put("4643216374596142955", new QueriesGenerated.IfMC(i++)); imcMethods.put("4643216374596142985", new QueriesGenerated.IfMC(i++)); imcMethods.put("202934866059116773", new QueriesGenerated.IfMC(i++)); imcMethods.put("202934866059116803", new QueriesGenerated.IfMC(i++)); imcMethods.put("4701820937132270583", new QueriesGenerated.IfMC(i++)); imcMethods.put("4701820937132270613", new QueriesGenerated.IfMC(i++)); imcMethods.put("5610619299013114791", new QueriesGenerated.IfMC(i++)); imcMethods.put("5610619299013114821", new QueriesGenerated.IfMC(i++)); imcMethods.put("6520682027041189778", new QueriesGenerated.IfMC(i++)); imcMethods.put("8055294676438891193", new QueriesGenerated.IfMC(i++)); imcMethods.put("8055294676438890259", new QueriesGenerated.IfMC(i++)); imcMethods.put("6837653846148441983", new QueriesGenerated.IfMC(i++)); imcMethods.put("6837653846148442013", new QueriesGenerated.IfMC(i++)); imcMethods.put("9126048691954996133", new QueriesGenerated.IfMC(i++)); imcMethods.put("6520682027040886837", new QueriesGenerated.IfMC(i++)); imcMethods.put("6520682027041156329", new QueriesGenerated.IfMC(i++)); imcMethods.put("6520682027041201800", new QueriesGenerated.IfMC(i++)); imcMethods.put("6408167411310620877", new QueriesGenerated.IfMC(i++)); imcMethods.put("1330375798099683005", new QueriesGenerated.IfMC(i++)); imcMethods.put("1330375798099683017", new QueriesGenerated.IfMC(i++)); imcMethods.put("1330375798099683039", new QueriesGenerated.IfMC(i++)); imcMethods.put("6408167411310656501", new QueriesGenerated.IfMC(i++)); imcMethods.put("7801138212747257283", new QueriesGenerated.IfMC(i++)); imcMethods.put("7801138212747257305", new QueriesGenerated.IfMC(i++)); imcMethods.put("6408167411310656479", new QueriesGenerated.IfMC(i++)); imcMethods.put("7801138212747257239", new QueriesGenerated.IfMC(i++)); imcMethods.put("7801138212747257261", new QueriesGenerated.IfMC(i++)); imcMethods.put("6408167411310656069", new QueriesGenerated.IfMC(i++)); imcMethods.put("7801138212747256990", new QueriesGenerated.IfMC(i++)); imcMethods.put("7801138212747256884", new QueriesGenerated.IfMC(i++)); imcMethods.put("6408167411310656283", new QueriesGenerated.IfMC(i++)); imcMethods.put("7801138212747257195", new QueriesGenerated.IfMC(i++)); imcMethods.put("5979287180587467644", new QueriesGenerated.IfMC(i++)); imcMethods.put("4821808014881207368", new QueriesGenerated.IfMC(i++)); imcMethods.put("2059522355690541836", new QueriesGenerated.IfMC(i++)); imcMethods.put("2750015747481191496", new QueriesGenerated.IfMC(i++)); imcMethods.put("6083230236994856299", 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_6408167411310933885(ctx); case 1: return QueriesGenerated.ifMacro_Condition_1117643560963363812(ctx); case 2: return QueriesGenerated.ifMacro_Condition_1117643560963363971(ctx); case 3: return QueriesGenerated.ifMacro_Condition_1117643560963369195(ctx); case 4: return QueriesGenerated.ifMacro_Condition_1117643560963359504(ctx); case 5: return QueriesGenerated.ifMacro_Condition_6837653846148504892(ctx); case 6: return QueriesGenerated.ifMacro_Condition_7801138212747394539(ctx); case 7: return QueriesGenerated.ifMacro_Condition_7801138212747394681(ctx); case 8: return QueriesGenerated.ifMacro_Condition_7801138212747420804(ctx); case 9: return QueriesGenerated.ifMacro_Condition_1117643560963351259(ctx); case 10: return QueriesGenerated.ifMacro_Condition_1117643560963363924(ctx); case 11: return QueriesGenerated.ifMacro_Condition_1117643560963369175(ctx); case 12: return QueriesGenerated.ifMacro_Condition_1117643560963363844(ctx); case 13: return QueriesGenerated.ifMacro_Condition_7801138212747394835(ctx); case 14: return QueriesGenerated.ifMacro_Condition_7801138212747394853(ctx); case 15: return QueriesGenerated.ifMacro_Condition_7801138212747420762(ctx); case 16: return QueriesGenerated.ifMacro_Condition_1117643560963358578(ctx); case 17: return QueriesGenerated.ifMacro_Condition_1117643560963363876(ctx); case 18: return QueriesGenerated.ifMacro_Condition_8577651205286952481(ctx); case 19: return QueriesGenerated.ifMacro_Condition_8577651205286952509(ctx); case 20: return QueriesGenerated.ifMacro_Condition_1979010778009294646(ctx); case 21: return QueriesGenerated.ifMacro_Condition_7801138212747394913(ctx); case 22: return QueriesGenerated.ifMacro_Condition_7801138212747394931(ctx); case 23: return QueriesGenerated.ifMacro_Condition_7801138212747420622(ctx); case 24: return QueriesGenerated.ifMacro_Condition_8577651205286952586(ctx); case 25: return QueriesGenerated.ifMacro_Condition_8577651205286952616(ctx); case 26: return QueriesGenerated.ifMacro_Condition_7801138212747391986(ctx); case 27: return QueriesGenerated.ifMacro_Condition_7801138212747392038(ctx); case 28: return QueriesGenerated.ifMacro_Condition_7801138212747392081(ctx); case 29: return QueriesGenerated.ifMacro_Condition_2913098736709502295(ctx); case 30: return QueriesGenerated.ifMacro_Condition_2913098736709502402(ctx); case 31: return QueriesGenerated.ifMacro_Condition_5248329904288129327(ctx); case 32: return QueriesGenerated.ifMacro_Condition_5248329904288129297(ctx); case 33: return QueriesGenerated.ifMacro_Condition_1330375798064449865(ctx); case 34: return QueriesGenerated.ifMacro_Condition_1330375798085921076(ctx); case 35: return QueriesGenerated.ifMacro_Condition_1330375798064791172(ctx); case 36: return QueriesGenerated.ifMacro_Condition_9184644532456968297(ctx); case 37: return QueriesGenerated.ifMacro_Condition_6977615362525734794(ctx); case 38: return QueriesGenerated.ifMacro_Condition_9184644532456968222(ctx); case 39: return QueriesGenerated.ifMacro_Condition_9184644532456968252(ctx); case 40: return QueriesGenerated.ifMacro_Condition_4198392933254627394(ctx); case 41: return QueriesGenerated.ifMacro_Condition_4198392933254627361(ctx); case 42: return QueriesGenerated.ifMacro_Condition_4643216374596142956(ctx); case 43: return QueriesGenerated.ifMacro_Condition_4643216374596142986(ctx); case 44: return QueriesGenerated.ifMacro_Condition_202934866059116774(ctx); case 45: return QueriesGenerated.ifMacro_Condition_202934866059116804(ctx); case 46: return QueriesGenerated.ifMacro_Condition_4701820937132270584(ctx); case 47: return QueriesGenerated.ifMacro_Condition_4701820937132270614(ctx); case 48: return QueriesGenerated.ifMacro_Condition_5610619299013114792(ctx); case 49: return QueriesGenerated.ifMacro_Condition_5610619299013114822(ctx); case 50: return QueriesGenerated.ifMacro_Condition_6520682027041189779(ctx); case 51: return QueriesGenerated.ifMacro_Condition_8055294676438891194(ctx); case 52: return QueriesGenerated.ifMacro_Condition_8055294676438890260(ctx); case 53: return QueriesGenerated.ifMacro_Condition_6837653846148441984(ctx); case 54: return QueriesGenerated.ifMacro_Condition_6837653846148442014(ctx); case 55: return QueriesGenerated.ifMacro_Condition_9126048691954996134(ctx); case 56: return QueriesGenerated.ifMacro_Condition_6520682027040886838(ctx); case 57: return QueriesGenerated.ifMacro_Condition_6520682027041156330(ctx); case 58: return QueriesGenerated.ifMacro_Condition_6520682027041201801(ctx); case 59: return QueriesGenerated.ifMacro_Condition_6408167411310620878(ctx); case 60: return QueriesGenerated.ifMacro_Condition_1330375798099683006(ctx); case 61: return QueriesGenerated.ifMacro_Condition_1330375798099683018(ctx); case 62: return QueriesGenerated.ifMacro_Condition_1330375798099683040(ctx); case 63: return QueriesGenerated.ifMacro_Condition_6408167411310656502(ctx); case 64: return QueriesGenerated.ifMacro_Condition_7801138212747257284(ctx); case 65: return QueriesGenerated.ifMacro_Condition_7801138212747257306(ctx); case 66: return QueriesGenerated.ifMacro_Condition_6408167411310656480(ctx); case 67: return QueriesGenerated.ifMacro_Condition_7801138212747257240(ctx); case 68: return QueriesGenerated.ifMacro_Condition_7801138212747257262(ctx); case 69: return QueriesGenerated.ifMacro_Condition_6408167411310656070(ctx); case 70: return QueriesGenerated.ifMacro_Condition_7801138212747256991(ctx); case 71: return QueriesGenerated.ifMacro_Condition_7801138212747256885(ctx); case 72: return QueriesGenerated.ifMacro_Condition_6408167411310656284(ctx); case 73: return QueriesGenerated.ifMacro_Condition_7801138212747257196(ctx); case 74: return QueriesGenerated.ifMacro_Condition_5979287180587467645(ctx); case 75: return QueriesGenerated.ifMacro_Condition_4821808014881207369(ctx); case 76: return QueriesGenerated.ifMacro_Condition_2059522355690541838(ctx); case 77: return QueriesGenerated.ifMacro_Condition_2750015747481191497(ctx); case 78: return QueriesGenerated.ifMacro_Condition_6083230236994856300(ctx); default: throw new GenerationFailureException(String.format("Inconsistent QueriesGenerated: there's no condition method for if macro %s (key: #%d)", ctx.getTemplateReference(), methodKey)); } } } private final Map<String, InlineSwitchCaseCondition> isccMethods = new HashMap<String, InlineSwitchCaseCondition>(); { int i = 0; isccMethods.put("5248329904288166449", new QueriesGenerated.ISCC(i++)); isccMethods.put("4701820937132270525", new QueriesGenerated.ISCC(i++)); isccMethods.put("5610619299013114603", new QueriesGenerated.ISCC(i++)); isccMethods.put("6921160174096663331", new QueriesGenerated.ISCC(i++)); isccMethods.put("244868996532694195", new QueriesGenerated.ISCC(i++)); isccMethods.put("1330375798088685234", new QueriesGenerated.ISCC(i++)); isccMethods.put("2750015747481190655", new QueriesGenerated.ISCC(i++)); isccMethods.put("2750015747481031593", new QueriesGenerated.ISCC(i++)); isccMethods.put("2750015747481074522", new QueriesGenerated.ISCC(i++)); } @NotNull @Override public InlineSwitchCaseCondition getInlineSwitchCaseCondition(@NotNull QueryKey identity) { final String id = identity.getTemplateNode().getNodeId().toString(); if (!(isccMethods.containsKey(id))) { return super.getInlineSwitchCaseCondition(identity); } return isccMethods.get(id); } private static class ISCC implements InlineSwitchCaseCondition { private final int methodKey; public ISCC(int methodKey) { this.methodKey = methodKey; } @Override public boolean check(@NotNull InlineSwitchCaseContext ctx) throws GenerationFailureException { switch (methodKey) { case 0: return QueriesGenerated.baseMappingRule_Condition_5248329904288166450(ctx); case 1: return QueriesGenerated.baseMappingRule_Condition_4701820937132270526(ctx); case 2: return QueriesGenerated.baseMappingRule_Condition_5610619299013114604(ctx); case 3: return QueriesGenerated.baseMappingRule_Condition_6921160174096663332(ctx); case 4: return QueriesGenerated.baseMappingRule_Condition_244868996532694196(ctx); case 5: return QueriesGenerated.baseMappingRule_Condition_1330375798088685235(ctx); case 6: return QueriesGenerated.baseMappingRule_Condition_2750015747481190656(ctx); case 7: return QueriesGenerated.baseMappingRule_Condition_2750015747481031594(ctx); case 8: return QueriesGenerated.baseMappingRule_Condition_2750015747481074523(ctx); default: throw new GenerationFailureException(String.format("Inconsistent QueriesGenerated: there's no condition method for inline switch's case %s (key: #%d)", ctx.getTemplateReference(), methodKey)); } } } private final Map<String, ReferenceTargetQuery> rtqMethods = new HashMap<String, ReferenceTargetQuery>(); { rtqMethods.put("1117643560963363814", new QueriesGenerated.RTQ(0, "anchor")); rtqMethods.put("1117643560963363966", new QueriesGenerated.RTQ(1, "anchor")); rtqMethods.put("1117643560963360513", new QueriesGenerated.RTQ(2, "anchor")); rtqMethods.put("1117643560963363927", new QueriesGenerated.RTQ(3, "anchor")); rtqMethods.put("1117643560963363846", new QueriesGenerated.RTQ(4, "anchor")); rtqMethods.put("1117643560963363897", new QueriesGenerated.RTQ(5, "anchor")); rtqMethods.put("8577651205286952527", new QueriesGenerated.RTQ(6, "anchor")); rtqMethods.put("8577651205286952634", new QueriesGenerated.RTQ(7, "anchor")); rtqMethods.put("7801138212747392056", new QueriesGenerated.RTQ(8, "anchor")); rtqMethods.put("7801138212747392070", new QueriesGenerated.RTQ(9, "anchor")); rtqMethods.put("2913098736709502313", new QueriesGenerated.RTQ(10, "anchor")); rtqMethods.put("2913098736709502420", new QueriesGenerated.RTQ(11, "anchor")); rtqMethods.put("5248329904288129345", new QueriesGenerated.RTQ(12, "anchor")); rtqMethods.put("5248329904288129315", new QueriesGenerated.RTQ(13, "anchor")); rtqMethods.put("9184644532456968240", new QueriesGenerated.RTQ(14, "anchor")); rtqMethods.put("9184644532456968270", new QueriesGenerated.RTQ(15, "anchor")); rtqMethods.put("4643216374596142974", new QueriesGenerated.RTQ(16, "anchor")); rtqMethods.put("4643216374596143004", new QueriesGenerated.RTQ(17, "anchor")); rtqMethods.put("202934866059116792", new QueriesGenerated.RTQ(18, "anchor")); rtqMethods.put("202934866059116822", new QueriesGenerated.RTQ(19, "anchor")); rtqMethods.put("4701820937132270602", new QueriesGenerated.RTQ(20, "anchor")); rtqMethods.put("4701820937132270632", new QueriesGenerated.RTQ(21, "anchor")); rtqMethods.put("5610619299013114810", new QueriesGenerated.RTQ(22, "anchor")); rtqMethods.put("5610619299013114840", new QueriesGenerated.RTQ(23, "anchor")); rtqMethods.put("6837653846148442002", new QueriesGenerated.RTQ(24, "anchor")); rtqMethods.put("6837653846148442032", new QueriesGenerated.RTQ(25, "anchor")); rtqMethods.put("6854204111265839187", new QueriesGenerated.RTQ(26, "fetchDependencies")); rtqMethods.put("144710003695561044", new QueriesGenerated.RTQ(27, "library")); rtqMethods.put("4821808014881207364", new QueriesGenerated.RTQ(28, "module1")); rtqMethods.put("8847838005406041706", new QueriesGenerated.RTQ(29, "aaaa")); rtqMethods.put("6083230236994919154", new QueriesGenerated.RTQ(30, "referent")); } @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_1117643560963363815(ctx); case 1: return QueriesGenerated.referenceMacro_GetReferent_1117643560963363967(ctx); case 2: return QueriesGenerated.referenceMacro_GetReferent_1117643560963360514(ctx); case 3: return QueriesGenerated.referenceMacro_GetReferent_1117643560963363928(ctx); case 4: return QueriesGenerated.referenceMacro_GetReferent_1117643560963363847(ctx); case 5: return QueriesGenerated.referenceMacro_GetReferent_1117643560963363898(ctx); case 6: return QueriesGenerated.referenceMacro_GetReferent_8577651205286952528(ctx); case 7: return QueriesGenerated.referenceMacro_GetReferent_8577651205286952635(ctx); case 8: return QueriesGenerated.referenceMacro_GetReferent_7801138212747392057(ctx); case 9: return QueriesGenerated.referenceMacro_GetReferent_7801138212747392071(ctx); case 10: return QueriesGenerated.referenceMacro_GetReferent_2913098736709502314(ctx); case 11: return QueriesGenerated.referenceMacro_GetReferent_2913098736709502421(ctx); case 12: return QueriesGenerated.referenceMacro_GetReferent_5248329904288129346(ctx); case 13: return QueriesGenerated.referenceMacro_GetReferent_5248329904288129316(ctx); case 14: return QueriesGenerated.referenceMacro_GetReferent_9184644532456968241(ctx); case 15: return QueriesGenerated.referenceMacro_GetReferent_9184644532456968271(ctx); case 16: return QueriesGenerated.referenceMacro_GetReferent_4643216374596142975(ctx); case 17: return QueriesGenerated.referenceMacro_GetReferent_4643216374596143005(ctx); case 18: return QueriesGenerated.referenceMacro_GetReferent_202934866059116793(ctx); case 19: return QueriesGenerated.referenceMacro_GetReferent_202934866059116823(ctx); case 20: return QueriesGenerated.referenceMacro_GetReferent_4701820937132270603(ctx); case 21: return QueriesGenerated.referenceMacro_GetReferent_4701820937132270633(ctx); case 22: return QueriesGenerated.referenceMacro_GetReferent_5610619299013114811(ctx); case 23: return QueriesGenerated.referenceMacro_GetReferent_5610619299013114841(ctx); case 24: return QueriesGenerated.referenceMacro_GetReferent_6837653846148442003(ctx); case 25: return QueriesGenerated.referenceMacro_GetReferent_6837653846148442033(ctx); case 26: return QueriesGenerated.referenceMacro_GetReferent_6854204111265839188(ctx); case 27: return QueriesGenerated.referenceMacro_GetReferent_144710003695561045(ctx); case 28: return QueriesGenerated.referenceMacro_GetReferent_4821808014881207365(ctx); case 29: return QueriesGenerated.referenceMacro_GetReferent_8847838005406041707(ctx); case 30: return QueriesGenerated.referenceMacro_GetReferent_6083230236994919155(ctx); default: throw new GenerationFailureException(String.format("Inconsistent QueriesGenerated: there's no method for query %s (key: #%d)", ctx.getTemplateReference(), methodKey)); } } } private final Map<String, VariableValueQuery> vvqMethods = new HashMap<String, VariableValueQuery>(); { vvqMethods.put("7801138212747420791", new QueriesGenerated.VVQ(0)); vvqMethods.put("7801138212747420749", new QueriesGenerated.VVQ(1)); vvqMethods.put("7801138212747420575", new QueriesGenerated.VVQ(2)); vvqMethods.put("1330375798062120563", new QueriesGenerated.VVQ(3)); vvqMethods.put("1330375798060387484", new QueriesGenerated.VVQ(4)); vvqMethods.put("7517237557345560698", new QueriesGenerated.VVQ(5)); vvqMethods.put("5610619299013114725", new QueriesGenerated.VVQ(6)); vvqMethods.put("5979287180587467219", new QueriesGenerated.VVQ(7)); vvqMethods.put("1659807394254873140", new QueriesGenerated.VVQ(8)); vvqMethods.put("4129895186893528602", new QueriesGenerated.VVQ(9)); vvqMethods.put("6520682027041193830", new QueriesGenerated.VVQ(10)); vvqMethods.put("6520682027040940449", new QueriesGenerated.VVQ(11)); vvqMethods.put("1330375798099589841", new QueriesGenerated.VVQ(12)); vvqMethods.put("5610619299013114929", new QueriesGenerated.VVQ(13)); vvqMethods.put("6408167411310656422", new QueriesGenerated.VVQ(14)); vvqMethods.put("5610619299013115036", new QueriesGenerated.VVQ(15)); vvqMethods.put("6408167411310656355", new QueriesGenerated.VVQ(16)); vvqMethods.put("6408167411310655876", new QueriesGenerated.VVQ(17)); vvqMethods.put("6408167411310656206", new QueriesGenerated.VVQ(18)); } @NotNull @Override public VariableValueQuery getVariableValueQuery(@NotNull QueryKey queryKey) { final String id = queryKey.getTemplateNode().getNodeId().toString(); if (!(vvqMethods.containsKey(id))) { return super.getVariableValueQuery(queryKey); } return vvqMethods.get(id); } private static class VVQ implements VariableValueQuery { private final int methodKey; /*package*/ VVQ(int methodKey) { this.methodKey = methodKey; } @Nullable public Object evaluate(@NotNull TemplateVarContext ctx) throws GenerationFailureException { switch (methodKey) { case 0: return QueriesGenerated.insertMacro_varValue_7801138212747420792(ctx); case 1: return QueriesGenerated.insertMacro_varValue_7801138212747420750(ctx); case 2: return QueriesGenerated.insertMacro_varValue_7801138212747420576(ctx); case 3: return QueriesGenerated.insertMacro_varValue_1330375798062120565(ctx); case 4: return QueriesGenerated.insertMacro_varValue_1330375798060387486(ctx); case 5: return QueriesGenerated.insertMacro_varValue_7517237557345560699(ctx); case 6: return QueriesGenerated.insertMacro_varValue_5610619299013114726(ctx); case 7: return QueriesGenerated.insertMacro_varValue_5979287180587467220(ctx); case 8: return QueriesGenerated.insertMacro_varValue_1659807394254873141(ctx); case 9: return QueriesGenerated.insertMacro_varValue_4129895186893528603(ctx); case 10: return QueriesGenerated.insertMacro_varValue_6520682027041193831(ctx); case 11: return QueriesGenerated.insertMacro_varValue_6520682027040940450(ctx); case 12: return QueriesGenerated.insertMacro_varValue_1330375798099589843(ctx); case 13: return QueriesGenerated.insertMacro_varValue_5610619299013114930(ctx); case 14: return QueriesGenerated.insertMacro_varValue_6408167411310656423(ctx); case 15: return QueriesGenerated.insertMacro_varValue_5610619299013115037(ctx); case 16: return QueriesGenerated.insertMacro_varValue_6408167411310656356(ctx); case 17: return QueriesGenerated.insertMacro_varValue_6408167411310655877(ctx); case 18: return QueriesGenerated.insertMacro_varValue_6408167411310656207(ctx); default: throw new GenerationFailureException(String.format("Inconsistent QueriesGenerated: there's no method for query %s (key: #%d)", ctx.getTemplateReference(), methodKey)); } } } private final Map<String, CallArgumentQuery> caqMethods = new HashMap<String, CallArgumentQuery>(); { caqMethods.put("4821808014881251889", new QueriesGenerated.CAQ(0)); caqMethods.put("8169228734285529870", new QueriesGenerated.CAQ(1)); caqMethods.put("6859736767834590330", new QueriesGenerated.CAQ(2)); caqMethods.put("5680938682773841397", new QueriesGenerated.CAQ(3)); caqMethods.put("5680938682773841634", new QueriesGenerated.CAQ(4)); caqMethods.put("144710003695561026", new QueriesGenerated.CAQ(5)); caqMethods.put("5610619299014495885", new QueriesGenerated.CAQ(6)); caqMethods.put("5610619299014531917", new QueriesGenerated.CAQ(7)); caqMethods.put("4821808014881175200", new QueriesGenerated.CAQ(8)); caqMethods.put("4821808014881207698", new QueriesGenerated.CAQ(9)); caqMethods.put("8169228734285538428", new QueriesGenerated.CAQ(10)); caqMethods.put("5610619299014362371", new QueriesGenerated.CAQ(11)); caqMethods.put("342830306171239712", new QueriesGenerated.CAQ(12)); caqMethods.put("342830306171239922", new QueriesGenerated.CAQ(13)); } @NotNull @Override public CallArgumentQuery getTemplateCallArgumentQuery(@NotNull QueryKey queryKey) { final String id = queryKey.getTemplateNode().getNodeId().toString(); if (!(caqMethods.containsKey(id))) { return super.getTemplateCallArgumentQuery(queryKey); } return caqMethods.get(id); } private static class CAQ implements CallArgumentQuery { private final int methodKey; /*package*/ CAQ(int methodKey) { this.methodKey = methodKey; } @Nullable public Object evaluate(@NotNull TemplateArgumentContext ctx) throws GenerationFailureException { switch (methodKey) { case 0: return QueriesGenerated.templateArgumentQuery_4821808014881251890(ctx); case 1: return QueriesGenerated.templateArgumentQuery_8169228734285529871(ctx); case 2: return QueriesGenerated.templateArgumentQuery_6859736767834590331(ctx); case 3: return QueriesGenerated.templateArgumentQuery_5680938682773841398(ctx); case 4: return QueriesGenerated.templateArgumentQuery_5680938682773841635(ctx); case 5: return QueriesGenerated.templateArgumentQuery_144710003695561027(ctx); case 6: return QueriesGenerated.templateArgumentQuery_5610619299014495886(ctx); case 7: return QueriesGenerated.templateArgumentQuery_5610619299014531918(ctx); case 8: return QueriesGenerated.templateArgumentQuery_4821808014881175200(ctx); case 9: return QueriesGenerated.templateArgumentQuery_4821808014881207698(ctx); case 10: return QueriesGenerated.templateArgumentQuery_8169228734285538428(ctx); case 11: return QueriesGenerated.templateArgumentQuery_5610619299014362371(ctx); case 12: return QueriesGenerated.templateArgumentQuery_342830306171239712(ctx); case 13: return QueriesGenerated.templateArgumentQuery_342830306171239922(ctx); default: throw new GenerationFailureException(String.format("Inconsistent QueriesGenerated: there's no method for query %s (key: #%d)", ctx.getTemplateReference(), methodKey)); } } } private final Map<String, MapPostProcessor> mppMethods = new HashMap<String, MapPostProcessor>(); { mppMethods.put("7476146282362435825", new QueriesGenerated.PPQ(0)); } @NotNull @Override public MapPostProcessor getMapPostProcessor(@NotNull QueryKey queryKey) { final String id = queryKey.getTemplateNode().getNodeId().toString(); if (!(mppMethods.containsKey(id))) { return super.getMapPostProcessor(queryKey); } return mppMethods.get(id); } private static class PPQ implements MapPostProcessor { private final int methodKey; /*package*/ PPQ(int methodKey) { this.methodKey = methodKey; } public void invoke(@NotNull MapSrcMacroPostProcContext ctx) throws GenerationFailureException { switch (methodKey) { case 0: QueriesGenerated.mapSrcMacro_post_mapper_7476146282362436190(ctx); return; default: throw new GenerationFailureException(String.format("Inconsistent QueriesGenerated: there's no method for query %s (key: #%d)", ctx.getTemplateReference(), methodKey)); } } } private static boolean isNotEmptyString(String str) { return str != null && str.length() > 0; } private static boolean isEmptyString(String str) { return str == null || str.length() == 0; } private static SNode createGeneratorInternal_ProjectDependency_x583g4_a0a0a0a1a204(Object p0, Object p1) { PersistenceFacade facade = PersistenceFacade.getInstance(); SNode n1 = SModelUtil_new.instantiateConceptDeclaration(MetaAdapterFactory.getConcept(0x798100da4f0a421aL, 0xb99171f8c50ce5d2L, 0x5830b38e16a0164cL, "jetbrains.mps.build.structure.GeneratorInternal_ProjectDependency"), null, null, false); n1.setProperty(MetaAdapterFactory.getProperty(0x798100da4f0a421aL, 0xb99171f8c50ce5d2L, 0x5830b38e16a0164cL, 0x5830b38e16a017bdL, "path"), p0 + ""); n1.setReferenceTarget(MetaAdapterFactory.getReferenceLink(0x798100da4f0a421aL, 0xb99171f8c50ce5d2L, 0x5830b38e16a0164cL, 0x5830b38e16d823d3L, "project"), (SNode) p1); return n1; } }