I am considering this Kotlin object declaration:
object A : B({ variableName1 = "text1" variableName2 = "text2" params { param("Foo", "Bar") } })
And I can’t understand what the argument is for the constructor of class B.
In this example, I deliberately distracted the information, but class B actually
jetbrains.buildServer.configs.kotlin.v10.BuildType
And I can not find the documentation for this type. I found something that was close , but this is a definition for an interface and therefore does not have a constructor.
To summarize, what is this design in Kotlin?
{ variableName1 = "text1" variableName2 = "text2" params { param("Foo", "Bar") } }
source share