in languages/core/core/source_gen/jetbrains/mps/lang/core/structure/ConceptPresentationAspectImpl.java [57:333]
public ConceptPresentation getDescriptor(SAbstractConcept c) {
StructureAspectDescriptor structureDescriptor = (StructureAspectDescriptor) myLanguageRuntime.getAspect(jetbrains.mps.smodel.runtime.StructureAspectDescriptor.class);
switch (structureDescriptor.internalIndex(c)) {
case LanguageConceptSwitch.Attribute:
if (props_Attribute == null) {
ConceptPresentationBuilder cpb = new ConceptPresentationBuilder();
cpb.icon(IconContainer.RESOURCE_0);
props_Attribute = cpb.create();
}
return props_Attribute;
case LanguageConceptSwitch.BaseCommentAttribute:
if (props_BaseCommentAttribute == null) {
ConceptPresentationBuilder cpb = new ConceptPresentationBuilder();
cpb.rawPresentation("BaseCommentAttribute");
props_BaseCommentAttribute = cpb.create();
}
return props_BaseCommentAttribute;
case LanguageConceptSwitch.BaseConcept:
if (props_BaseConcept == null) {
ConceptPresentationBuilder cpb = new ConceptPresentationBuilder(0xceab519525ea4f22L, 0x9b92103b95ca8c0cL, 0x10802efe25aL);
cpb.deprecateProperty(0x10d34f97574L, "shortDescription");
props_BaseConcept = cpb.create();
}
return props_BaseConcept;
case LanguageConceptSwitch.BasePlaceholder:
if (props_BasePlaceholder == null) {
ConceptPresentationBuilder cpb = new ConceptPresentationBuilder();
cpb.rawPresentation("BasePlaceholder");
props_BasePlaceholder = cpb.create();
}
return props_BasePlaceholder;
case LanguageConceptSwitch.ChildAttribute:
if (props_ChildAttribute == null) {
ConceptPresentationBuilder cpb = new ConceptPresentationBuilder();
cpb.rawPresentation("ChildAttribute");
props_ChildAttribute = cpb.create();
}
return props_ChildAttribute;
case LanguageConceptSwitch.DocumentationContent:
if (props_DocumentationContent == null) {
ConceptPresentationBuilder cpb = new ConceptPresentationBuilder();
props_DocumentationContent = cpb.create();
}
return props_DocumentationContent;
case LanguageConceptSwitch.IAntisuppressErrors:
if (props_IAntisuppressErrors == null) {
ConceptPresentationBuilder cpb = new ConceptPresentationBuilder();
cpb.deprecated(true);
props_IAntisuppressErrors = cpb.create();
}
return props_IAntisuppressErrors;
case LanguageConceptSwitch.ICanSuppressErrors:
if (props_ICanSuppressErrors == null) {
ConceptPresentationBuilder cpb = new ConceptPresentationBuilder();
props_ICanSuppressErrors = cpb.create();
}
return props_ICanSuppressErrors;
case LanguageConceptSwitch.ICommentedOutFromScope:
if (props_ICommentedOutFromScope == null) {
ConceptPresentationBuilder cpb = new ConceptPresentationBuilder();
props_ICommentedOutFromScope = cpb.create();
}
return props_ICommentedOutFromScope;
case LanguageConceptSwitch.IContainer:
if (props_IContainer == null) {
ConceptPresentationBuilder cpb = new ConceptPresentationBuilder();
props_IContainer = cpb.create();
}
return props_IContainer;
case LanguageConceptSwitch.IDeprecatable:
if (props_IDeprecatable == null) {
ConceptPresentationBuilder cpb = new ConceptPresentationBuilder();
props_IDeprecatable = cpb.create();
}
return props_IDeprecatable;
case LanguageConceptSwitch.IDontApplyTypesystemRules:
if (props_IDontApplyTypesystemRules == null) {
ConceptPresentationBuilder cpb = new ConceptPresentationBuilder();
props_IDontApplyTypesystemRules = cpb.create();
}
return props_IDontApplyTypesystemRules;
case LanguageConceptSwitch.IDontSubstituteByDefault:
if (props_IDontSubstituteByDefault == null) {
ConceptPresentationBuilder cpb = new ConceptPresentationBuilder();
cpb.deprecated(true);
props_IDontSubstituteByDefault = cpb.create();
}
return props_IDontSubstituteByDefault;
case LanguageConceptSwitch.IGenericComment:
if (props_IGenericComment == null) {
ConceptPresentationBuilder cpb = new ConceptPresentationBuilder();
props_IGenericComment = cpb.create();
}
return props_IGenericComment;
case LanguageConceptSwitch.IMetaLevelChanger:
if (props_IMetaLevelChanger == null) {
ConceptPresentationBuilder cpb = new ConceptPresentationBuilder();
cpb.deprecated(true);
props_IMetaLevelChanger = cpb.create();
}
return props_IMetaLevelChanger;
case LanguageConceptSwitch.INamedConcept:
if (props_INamedConcept == null) {
ConceptPresentationBuilder cpb = new ConceptPresentationBuilder();
props_INamedConcept = cpb.create();
}
return props_INamedConcept;
case LanguageConceptSwitch.IOldCommentContainer:
if (props_IOldCommentContainer == null) {
ConceptPresentationBuilder cpb = new ConceptPresentationBuilder();
props_IOldCommentContainer = cpb.create();
}
return props_IOldCommentContainer;
case LanguageConceptSwitch.IPlaceholderContent:
if (props_IPlaceholderContent == null) {
ConceptPresentationBuilder cpb = new ConceptPresentationBuilder();
props_IPlaceholderContent = cpb.create();
}
return props_IPlaceholderContent;
case LanguageConceptSwitch.IResolveInfo:
if (props_IResolveInfo == null) {
ConceptPresentationBuilder cpb = new ConceptPresentationBuilder();
props_IResolveInfo = cpb.create();
}
return props_IResolveInfo;
case LanguageConceptSwitch.ISkipConstraintsChecking:
if (props_ISkipConstraintsChecking == null) {
ConceptPresentationBuilder cpb = new ConceptPresentationBuilder();
props_ISkipConstraintsChecking = cpb.create();
}
return props_ISkipConstraintsChecking;
case LanguageConceptSwitch.ISmartReferent:
if (props_ISmartReferent == null) {
ConceptPresentationBuilder cpb = new ConceptPresentationBuilder();
props_ISmartReferent = cpb.create();
}
return props_ISmartReferent;
case LanguageConceptSwitch.IStubForAnotherConcept:
if (props_IStubForAnotherConcept == null) {
ConceptPresentationBuilder cpb = new ConceptPresentationBuilder();
props_IStubForAnotherConcept = cpb.create();
}
return props_IStubForAnotherConcept;
case LanguageConceptSwitch.ISuppressErrors:
if (props_ISuppressErrors == null) {
ConceptPresentationBuilder cpb = new ConceptPresentationBuilder();
props_ISuppressErrors = cpb.create();
}
return props_ISuppressErrors;
case LanguageConceptSwitch.IType:
if (props_IType == null) {
ConceptPresentationBuilder cpb = new ConceptPresentationBuilder();
props_IType = cpb.create();
}
return props_IType;
case LanguageConceptSwitch.IWrapper:
if (props_IWrapper == null) {
ConceptPresentationBuilder cpb = new ConceptPresentationBuilder();
props_IWrapper = cpb.create();
}
return props_IWrapper;
case LanguageConceptSwitch.ImplementationContainer:
if (props_ImplementationContainer == null) {
ConceptPresentationBuilder cpb = new ConceptPresentationBuilder();
props_ImplementationContainer = cpb.create();
}
return props_ImplementationContainer;
case LanguageConceptSwitch.ImplementationPart:
if (props_ImplementationPart == null) {
ConceptPresentationBuilder cpb = new ConceptPresentationBuilder();
props_ImplementationPart = cpb.create();
}
return props_ImplementationPart;
case LanguageConceptSwitch.ImplementationWithStubPart:
if (props_ImplementationWithStubPart == null) {
ConceptPresentationBuilder cpb = new ConceptPresentationBuilder();
props_ImplementationWithStubPart = cpb.create();
}
return props_ImplementationWithStubPart;
case LanguageConceptSwitch.InterfacePart:
if (props_InterfacePart == null) {
ConceptPresentationBuilder cpb = new ConceptPresentationBuilder();
props_InterfacePart = cpb.create();
}
return props_InterfacePart;
case LanguageConceptSwitch.LinkAttribute:
if (props_LinkAttribute == null) {
ConceptPresentationBuilder cpb = new ConceptPresentationBuilder();
cpb.rawPresentation("LinkAttribute");
props_LinkAttribute = cpb.create();
}
return props_LinkAttribute;
case LanguageConceptSwitch.MigrationAnnotation:
if (props_MigrationAnnotation == null) {
ConceptPresentationBuilder cpb = new ConceptPresentationBuilder();
props_MigrationAnnotation = cpb.create();
}
return props_MigrationAnnotation;
case LanguageConceptSwitch.MigrationAnnotation_old:
if (props_MigrationAnnotation_old == null) {
ConceptPresentationBuilder cpb = new ConceptPresentationBuilder();
props_MigrationAnnotation_old = cpb.create();
}
return props_MigrationAnnotation_old;
case LanguageConceptSwitch.MigrationDataAnnotation:
if (props_MigrationDataAnnotation == null) {
ConceptPresentationBuilder cpb = new ConceptPresentationBuilder();
cpb.rawPresentation("MigrationDataAnnotation");
props_MigrationDataAnnotation = cpb.create();
}
return props_MigrationDataAnnotation;
case LanguageConceptSwitch.NodeAttribute:
if (props_NodeAttribute == null) {
ConceptPresentationBuilder cpb = new ConceptPresentationBuilder();
cpb.rawPresentation("NodeAttribute");
props_NodeAttribute = cpb.create();
}
return props_NodeAttribute;
case LanguageConceptSwitch.PropertyAttribute:
if (props_PropertyAttribute == null) {
ConceptPresentationBuilder cpb = new ConceptPresentationBuilder();
cpb.rawPresentation("PropertyAttribute");
props_PropertyAttribute = cpb.create();
}
return props_PropertyAttribute;
case LanguageConceptSwitch.ReviewMigration:
if (props_ReviewMigration == null) {
ConceptPresentationBuilder cpb = new ConceptPresentationBuilder();
cpb.rawPresentation("ReviewMigration");
props_ReviewMigration = cpb.create();
}
return props_ReviewMigration;
case LanguageConceptSwitch.ReviewMigration_old:
if (props_ReviewMigration_old == null) {
ConceptPresentationBuilder cpb = new ConceptPresentationBuilder();
cpb.deprecated(true);
cpb.rawPresentation("ReviewMigration_old");
props_ReviewMigration_old = cpb.create();
}
return props_ReviewMigration_old;
case LanguageConceptSwitch.ScopeFacade:
if (props_ScopeFacade == null) {
ConceptPresentationBuilder cpb = new ConceptPresentationBuilder();
props_ScopeFacade = cpb.create();
}
return props_ScopeFacade;
case LanguageConceptSwitch.ScopeProvider:
if (props_ScopeProvider == null) {
ConceptPresentationBuilder cpb = new ConceptPresentationBuilder();
props_ScopeProvider = cpb.create();
}
return props_ScopeProvider;
case LanguageConceptSwitch.SideTransformInfo:
if (props_SideTransformInfo == null) {
ConceptPresentationBuilder cpb = new ConceptPresentationBuilder(0xceab519525ea4f22L, 0x9b92103b95ca8c0cL, 0xad0053c7ae9194dL);
cpb.deprecateProperty(0xad0053c7af1bf58L, "anchorTag");
cpb.rawPresentation("SideTransformInfo");
props_SideTransformInfo = cpb.create();
}
return props_SideTransformInfo;
case LanguageConceptSwitch.SuppressErrorsAnnotation:
if (props_SuppressErrorsAnnotation == null) {
ConceptPresentationBuilder cpb = new ConceptPresentationBuilder();
cpb.rawPresentation("SuppressErrorsAnnotation");
props_SuppressErrorsAnnotation = cpb.create();
}
return props_SuppressErrorsAnnotation;
case LanguageConceptSwitch.TypeAnnotated:
if (props_TypeAnnotated == null) {
ConceptPresentationBuilder cpb = new ConceptPresentationBuilder();
cpb.rawPresentation("_:");
props_TypeAnnotated = cpb.create();
}
return props_TypeAnnotated;
}
return null;
}