Class GenerationRootDependencies


  • public class GenerationRootDependencies
    extends Object
    FIXME if we'd like to keep using this object, shall refactor all storage from string to native objects (e.g. SModelReference, SNodeId, etc) Strings consume quite a lot of memory on startup Evgeny Gryaznov, Jun 1, 2010
    • Constructor Detail

      • GenerationRootDependencies

        public GenerationRootDependencies​(String rootId,
                                          String rootName,
                                          String rootHash,
                                          boolean dependsOnConditionals,
                                          boolean dependsOnNodes,
                                          List<String> local,
                                          List<String> external,
                                          List<String> files)
    • Method Detail

      • getRootId

        public String getRootId()
      • getRootName

        public String getRootName()
      • getHash

        public String getHash()
      • isDependsOnConditionals

        public boolean isDependsOnConditionals()
      • isDependsOnNodes

        public boolean isDependsOnNodes()
      • addGeneratedFile

        public void addGeneratedFile​(String name)
      • saveTo

        public void saveTo​(org.jdom.Element element)
      • getValue

        public static String getValue​(org.jdom.Element e,
                                      String attrId)
      • fromXml

        public static GenerationRootDependencies fromXml​(org.jdom.Element element,
                                                         boolean isCommon,
                                                         jetbrains.mps.generator.impl.dependencies.Intern intern)