Class BLDependenciesBuilder


  • public class BLDependenciesBuilder
    extends Object
    Produce collection of BaseLanguage dependencies (aka ModelDependencies) from information associated with text unit. In fact, is specific to BL textgen and shall live there, however there's no generic mechanism now in TextGen facet to pick all relevant data to serialize it along with generated files, hence ModelDependencies in [kernel] and this builder in [textgen] See CompatibilityTextUnit for ideas how to get rid of explicit BL dependency. Now, it seems better approach is to move this builder next to TextGen_Facet (which knows about [kernel] and [textgen]). It's still not best solution (we need a mechanism to contribute these builders, along with cache generators, based on actual languages involved). Shall get back to this question once RTU.findContextObject goes API/public (into TU) and I can use it without need to cast to RTU implementation
    Since:
    3.4
    See Also:
    DebugInfoBuilder