Interface IGenerationSettings

    • Method Detail

      • isParallelGenerator

        boolean isParallelGenerator()
      • isStrictMode

        boolean isStrictMode()
      • getNumberOfParallelThreads

        int getNumberOfParallelThreads()
      • getPerformanceTracingLevel

        int getPerformanceTracingLevel()
      • getNumberOfModelsToKeep

        int getNumberOfModelsToKeep()
      • isShowInfo

        boolean isShowInfo()
      • isShowWarnings

        boolean isShowWarnings()
      • isKeepModelsWithWarnings

        boolean isKeepModelsWithWarnings()
      • isGenerateDebugInfo

        boolean isGenerateDebugInfo()
      • isShowBadChildWarning

        boolean isShowBadChildWarning()
      • isSaveTransientModels

        boolean isSaveTransientModels()
      • useInplaceTransformations

        boolean useInplaceTransformations()
      • createStaticReferences

        boolean createStaticReferences()
        For references we've got resolve info only, we can create either a dynamic reference and let it get resolved by name through scope, or we can resolve it right away (or on the first read) and keep it static. It looks that use of dynamic references by default wasn't sensible decision at the first place, as resolution of dynamic reference requires scope each time reference is accessed. It didn't induce any issue unless we got thousands of DynamicReferences, and their resolution became nightmare. However, it's not obvious we do need dynamic references in the first place, for any node we refer to by name.
      • getTraceSettings

        @NotNull
        IGenerationSettings.GenTraceSettings getTraceSettings()
        Presentation options of the new generation tracer. At the moment, they affect the way trace is represented, not collected, and as such might not fit IGenerationSettings, but (a) trace functionality is inherently generator-related; (b) I don't want to introduce another location for settings