Note that this is not unlike having a constructor (or a static factory method) on an ordinary class. It's just that the syntax is a little different as it is a different language construct.
↧