package jetbrains.mps.lang.plugin.standalone.behavior;

/*Generated by MPS */

import jetbrains.mps.core.aspects.behaviour.BaseBehaviorAspectDescriptor;
import jetbrains.mps.core.aspects.behaviour.api.BHDescriptor;
import org.jetbrains.annotations.Nullable;
import org.jetbrains.annotations.NotNull;
import org.jetbrains.mps.openapi.language.SAbstractConcept;
import jetbrains.mps.lang.smodel.ConceptSwitchIndex;
import jetbrains.mps.lang.smodel.ConceptSwitchIndexBuilder;
import jetbrains.mps.smodel.adapter.ids.MetaIdFactory;

public final class BehaviorAspectDescriptor extends BaseBehaviorAspectDescriptor {
  private final BHDescriptor myProjectPluginDisposeBlock__BehaviorDescriptor = new ProjectPluginDisposeBlock__BehaviorDescriptor();
  private final BHDescriptor myProjectPluginInitBlock__BehaviorDescriptor = new ProjectPluginInitBlock__BehaviorDescriptor();
  private final BHDescriptor myApplicationPluginType__BehaviorDescriptor = new ApplicationPluginType__BehaviorDescriptor();
  private final BHDescriptor myProjectPluginDeclaration__BehaviorDescriptor = new ProjectPluginDeclaration__BehaviorDescriptor();
  private final BHDescriptor myApplicationPluginDeclaration__BehaviorDescriptor = new ApplicationPluginDeclaration__BehaviorDescriptor();
  private final BHDescriptor myApplicationPluginDisposeBlock__BehaviorDescriptor = new ApplicationPluginDisposeBlock__BehaviorDescriptor();
  private final BHDescriptor myApplicationPluginInitBlock__BehaviorDescriptor = new ApplicationPluginInitBlock__BehaviorDescriptor();
  private final BHDescriptor myProjectPluginType__BehaviorDescriptor = new ProjectPluginType__BehaviorDescriptor();

  public BehaviorAspectDescriptor() {
  }

  @Nullable
  public BHDescriptor getDescriptor(@NotNull SAbstractConcept concept) {
    SAbstractConcept cncpt = concept;
    switch (conceptIndex.index(cncpt)) {
      case 0:
        return myApplicationPluginDeclaration__BehaviorDescriptor;
      case 1:
        return myApplicationPluginDisposeBlock__BehaviorDescriptor;
      case 2:
        return myApplicationPluginInitBlock__BehaviorDescriptor;
      case 3:
        return myApplicationPluginType__BehaviorDescriptor;
      case 4:
        return myProjectPluginDeclaration__BehaviorDescriptor;
      case 5:
        return myProjectPluginDisposeBlock__BehaviorDescriptor;
      case 6:
        return myProjectPluginInitBlock__BehaviorDescriptor;
      case 7:
        return myProjectPluginType__BehaviorDescriptor;
      default:
    }
    return null;
  }
  private static final ConceptSwitchIndex conceptIndex = new ConceptSwitchIndexBuilder().put(MetaIdFactory.conceptId(0xef7bf5acd06c4342L, 0xb11de42104eb9343L, 0x6b059b0986f2058L), MetaIdFactory.conceptId(0xef7bf5acd06c4342L, 0xb11de42104eb9343L, 0x6b059b0986f205eL), MetaIdFactory.conceptId(0xef7bf5acd06c4342L, 0xb11de42104eb9343L, 0x6b059b0986f2063L), MetaIdFactory.conceptId(0xef7bf5acd06c4342L, 0xb11de42104eb9343L, 0x6b059b0986f204fL), MetaIdFactory.conceptId(0xef7bf5acd06c4342L, 0xb11de42104eb9343L, 0x6b059b0986f2052L), MetaIdFactory.conceptId(0xef7bf5acd06c4342L, 0xb11de42104eb9343L, 0x6b059b0986f2043L), MetaIdFactory.conceptId(0xef7bf5acd06c4342L, 0xb11de42104eb9343L, 0x6b059b0986f2049L), MetaIdFactory.conceptId(0xef7bf5acd06c4342L, 0xb11de42104eb9343L, 0x6b059b0986f2068L)).seal();
}
