Shawn06/23/2021, 9:02 PM
• Return value: Context object • Is extension function: No: takes the context object as an argument. None of the existing names really match how this function is used (though I guess
is close) and the best name I’ve been able to come up with is
, but maybe there’s something better?
marstran06/24/2021, 8:06 AM
Maybe "scoped builder" is a fitting name?
DSL.enterDSL() .config(config) .subDsl(dsl -> dsl .subDslConfig(subConfig)) .build();