package jetbrains.mps.core.xml.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.SNodeOperations;
import org.jetbrains.mps.openapi.language.SConcept;
import jetbrains.mps.smodel.adapter.structure.MetaAdapterFactory;

public class ConvertToXmlDeclaration_QuickFix extends QuickFix_Runtime {
  public ConvertToXmlDeclaration_QuickFix() {
    super(new SNodePointer("r:f1975b6e-7a34-419e-a595-ceaa3681b216(jetbrains.mps.core.xml.typesystem)", "500086792294114565"));
  }
  public String getDescription(SNode node) {
    return "Convert to <?xml ...> Declaration";
  }
  public void execute(SNode node) {
    SNodeOperations.replaceWithNewChild(node, CONCEPTS.XmlDeclaration$13);
  }

  private static final class CONCEPTS {
    /*package*/ static final SConcept XmlDeclaration$13 = MetaAdapterFactory.getConcept(0x479c7a8c02f943b5L, 0x9139d910cb22f298L, 0x4890619bb401ef6eL, "jetbrains.mps.core.xml.structure.XmlDeclaration");
  }
}
