Class GenericDescriptorModelProvider


  • public class GenericDescriptorModelProvider
    extends DescriptorModelProvider
    We need @descriptor model for any module we are going to build and deploy, no reason to keep distinct provider for different module kind (language, generator, solution and devkit) unless there's true need. XXX Why there's no easy way to access descriptor model for a module, other than iterate over all models to find one with "@descriptor" stereotype?! I'd like to have e.g. getDescriptorModel(Solution) that would use model id instead of "@descriptor"!
    Since:
    2018.3