Class DslAddOnExtension


  • public class DslAddOnExtension
    extends Pair<String,​String>
    Specifies which dsl extensions the dsl add-on extends. If dsl extension doesn't have applicability predicate or dsl add-on extends all variants of the extension, then only dslExtensionType should be specified and predicate should be null. If dsl add-on extends a dsl extension only with particular predicate, such predicate can be specified; dsl params and types will be added only to the class generated for extension with given predicate.
    • Constructor Detail

      • DslAddOnExtension

        public DslAddOnExtension​(@NotNull
                                 String dslExtensionType,
                                 @Nullable
                                 String dslExtensionPredicate)
    • Method Detail

      • getType

        @NotNull
        public String getType()
      • getPredicate

        @Nullable
        public String getPredicate()