Class SyntheticConstructorCreator

java.lang.Object
org.ek9lang.compiler.phase2.SyntheticConstructorCreator
All Implemented Interfaces:
Consumer<IAggregateSymbol>

final class SyntheticConstructorCreator extends Object implements Consumer<IAggregateSymbol>
Some aggregates like classes, components, etc. Can be defined without a constructor. If that is the case then a synthetic constructor(s) can be added. This is a bit like Java in terms of not requiring the developer to declare obvious constructors. The ek9 developer can use 'default Name' where Name is the class/record etc.