package jetbrains.mps.execution.configurations.constraints; /*Generated by MPS */ import jetbrains.mps.smodel.runtime.BaseConstraintsAspectDescriptor; import jetbrains.mps.smodel.runtime.ConstraintsDescriptor; import org.jetbrains.mps.openapi.language.SAbstractConcept; import jetbrains.mps.smodel.runtime.base.BaseConstraintsDescriptor; import jetbrains.mps.lang.smodel.ConceptSwitchIndex; import jetbrains.mps.lang.smodel.ConceptSwitchIndexBuilder; import jetbrains.mps.smodel.adapter.ids.MetaIdFactory; public class ConstraintsAspectDescriptor extends BaseConstraintsAspectDescriptor { public ConstraintsAspectDescriptor() { } @Override public ConstraintsDescriptor getConstraints(SAbstractConcept concept) { SAbstractConcept cncpt_a0c = concept; switch (index_2qnle6_a0c.index(cncpt_a0c)) { case 0: return new AbstractRunConfigurationExecutor_Constraints(); case 1: return new BeforeTaskParameterReference_Constraints(); case 2: return new ConfigurationFromExecutorReference_Constraints(); case 3: return new ContextExpression_Constraints(); case 4: return new Create_ConceptFunction_Constraints(); case 5: return new EnvironmentExpression_Constraints(); case 6: return new GetProjectOperation_Constraints(); case 7: return new IsConfigurationFromContext_ConceptFunction_Constraints(); case 8: return new RunConfigurationCreator_Constraints(); case 9: return new RunConfigurationExecutor_Constraints(); case 10: return new RunConfigurationProducer_Constraints(); case 11: return new RunConfigurationProducerPart_Constraints(); case 12: return new RunConfigurationSource_Constraints(); case 13: return new StartProcessHandlerStatement_Constraints(); default: } return new BaseConstraintsDescriptor(concept); } private static final ConceptSwitchIndex index_2qnle6_a0c = new ConceptSwitchIndexBuilder().put(MetaIdFactory.conceptId(0x22e72e4c0f6946ceL, 0x84036750153aa615L, 0x2153d8f1c1f52479L), MetaIdFactory.conceptId(0x22e72e4c0f6946ceL, 0x84036750153aa615L, 0x5ae6ebde781fd3c0L), MetaIdFactory.conceptId(0x22e72e4c0f6946ceL, 0x84036750153aa615L, 0x6c55c13f5bcac62fL), MetaIdFactory.conceptId(0x22e72e4c0f6946ceL, 0x84036750153aa615L, 0x6a69999da766290fL), MetaIdFactory.conceptId(0x22e72e4c0f6946ceL, 0x84036750153aa615L, 0x3c97fcb79c84cdc3L), MetaIdFactory.conceptId(0x22e72e4c0f6946ceL, 0x84036750153aa615L, 0x7664b739387f64L), MetaIdFactory.conceptId(0x22e72e4c0f6946ceL, 0x84036750153aa615L, 0x4bafca3d818c1d2aL), MetaIdFactory.conceptId(0x22e72e4c0f6946ceL, 0x84036750153aa615L, 0x490c79b029c39076L), MetaIdFactory.conceptId(0x22e72e4c0f6946ceL, 0x84036750153aa615L, 0x328e81d9f20cd1deL), MetaIdFactory.conceptId(0x22e72e4c0f6946ceL, 0x84036750153aa615L, 0x6c55c13f5bc8e1ecL), MetaIdFactory.conceptId(0x22e72e4c0f6946ceL, 0x84036750153aa615L, 0x3c97fcb79c842305L), MetaIdFactory.conceptId(0x22e72e4c0f6946ceL, 0x84036750153aa615L, 0x3c97fcb79c84cda6L), MetaIdFactory.conceptId(0x22e72e4c0f6946ceL, 0x84036750153aa615L, 0x3c97fcb79c84af96L), MetaIdFactory.conceptId(0x22e72e4c0f6946ceL, 0x84036750153aa615L, 0xd244b712f9d44d1L)).seal(); }