package jetbrains.mps.lang.editor.typesystem;

/*Generated by MPS */

import jetbrains.mps.errors.QuickFix_Runtime;
import jetbrains.mps.smodel.SNodePointer;
import org.jetbrains.mps.openapi.model.SNode;
import jetbrains.mps.lang.smodel.generator.smodelAdapter.SPropertyOperations;
import org.jetbrains.mps.openapi.language.SProperty;
import jetbrains.mps.smodel.adapter.structure.MetaAdapterFactory;

public class fix_Braces_QuickFix extends QuickFix_Runtime {
  public fix_Braces_QuickFix() {
    super(new SNodePointer("r:00000000-0000-4000-0000-011c8959029a(jetbrains.mps.lang.editor.typesystem)", "3302086321380659367"));
  }
  public String getDescription(SNode node) {
    return "Do Not Use Braces";
  }
  public void execute(SNode node) {
    SPropertyOperations.assign(((SNode) fix_Braces_QuickFix.this.getField("collectionCell")[0]), PROPS.usesBraces$EFBS, false);
  }

  private static final class PROPS {
    /*package*/ static final SProperty usesBraces$EFBS = MetaAdapterFactory.getProperty(0x18bc659203a64e29L, 0xa83a7ff23bde13baL, 0xf9eaff2517L, 0x1094a893c4dL, "usesBraces");
  }
}
