package jetbrains.mps.baseLanguage.javadoc.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 myClassifierDocComment__BehaviorDescriptor = new ClassifierDocComment__BehaviorDescriptor(); private final BHDescriptor myEmptyBlockDocTag__BehaviorDescriptor = new EmptyBlockDocTag__BehaviorDescriptor(); private final BHDescriptor myBaseDocComment__BehaviorDescriptor = new BaseDocComment__BehaviorDescriptor(); private final BHDescriptor myAuthorBlockDocTag__BehaviorDescriptor = new AuthorBlockDocTag__BehaviorDescriptor(); private final BHDescriptor myMethodDocComment__BehaviorDescriptor = new MethodDocComment__BehaviorDescriptor(); private final BHDescriptor myHTMLElement__BehaviorDescriptor = new HTMLElement__BehaviorDescriptor(); private final BHDescriptor myFieldDocComment__BehaviorDescriptor = new FieldDocComment__BehaviorDescriptor(); private final BHDescriptor myCommentLine__BehaviorDescriptor = new CommentLine__BehaviorDescriptor(); private final BHDescriptor myCommentLinePart__BehaviorDescriptor = new CommentLinePart__BehaviorDescriptor(); private final BHDescriptor myInlineTagCommentLinePart__BehaviorDescriptor = new InlineTagCommentLinePart__BehaviorDescriptor(); public BehaviorAspectDescriptor() { } @Nullable public BHDescriptor getDescriptor(@NotNull SAbstractConcept concept) { SAbstractConcept cncpt_a0n = concept; switch (index_846f5o_a0n.index(cncpt_a0n)) { case 0: return myAuthorBlockDocTag__BehaviorDescriptor; case 1: return myBaseDocComment__BehaviorDescriptor; case 2: return myClassifierDocComment__BehaviorDescriptor; case 3: return myCommentLine__BehaviorDescriptor; case 4: return myCommentLinePart__BehaviorDescriptor; case 5: return myEmptyBlockDocTag__BehaviorDescriptor; case 6: return myFieldDocComment__BehaviorDescriptor; case 7: return myHTMLElement__BehaviorDescriptor; case 8: return myInlineTagCommentLinePart__BehaviorDescriptor; case 9: return myMethodDocComment__BehaviorDescriptor; default: } return null; } private static final ConceptSwitchIndex index_846f5o_a0n = new ConceptSwitchIndexBuilder().put(MetaIdFactory.conceptId(0xf280165065d5424eL, 0xbb1b463a8781b786L, 0x4a3c146b7faee13eL), MetaIdFactory.conceptId(0xf280165065d5424eL, 0xbb1b463a8781b786L, 0x4a3c146b7fae70d3L), MetaIdFactory.conceptId(0xf280165065d5424eL, 0xbb1b463a8781b786L, 0x1cb65d9fe66a764cL), MetaIdFactory.conceptId(0xf280165065d5424eL, 0xbb1b463a8781b786L, 0x757ba20a4c87f96cL), MetaIdFactory.conceptId(0xf280165065d5424eL, 0xbb1b463a8781b786L, 0x7c7f5b2f31990286L), MetaIdFactory.conceptId(0xf280165065d5424eL, 0xbb1b463a8781b786L, 0x44ac82392ce5c6b0L), MetaIdFactory.conceptId(0xf280165065d5424eL, 0xbb1b463a8781b786L, 0x5ed0d79d7dc44bf2L), MetaIdFactory.conceptId(0xf280165065d5424eL, 0xbb1b463a8781b786L, 0x5bc4aa08e154b399L), MetaIdFactory.conceptId(0xf280165065d5424eL, 0xbb1b463a8781b786L, 0x7c7f5b2f31990289L), MetaIdFactory.conceptId(0xf280165065d5424eL, 0xbb1b463a8781b786L, 0x4a3c146b7faeeb34L)).seal(); }