ISetting

interface ISetting<out T : Any, out S : ISettingsHolder>

Additional settings for rd model. Usually they are specific to IGenerator (because lead to generated code customization) and declared in generator's implementation T type of setting value S type of rd model entity to which this setting is applicable, e.g. Declaration or Member

Example: com.jetbrains.rd.generator.nova.kotlin.Kotlin11Generator.Attributes that specifies kotlin annotations to generate upon class.

Inheritors

Functions

Link copied to clipboard

Creates new setting, specialized for generator. In case we have two generator instances with same type for one model (e.g. com.jetbrains.rd.generator.nova.csharp.CSharp50Generator.FlowTransformProperty which is different for client and server) you need to distinguish this settings for different generation processes (e.g. client and server).