juancho
11/17/2018, 6:54 PMclass Foo(val bar: Int = 1)
how do I get the value 1
?Eugenio
11/17/2018, 7:43 PMjuancho
11/17/2018, 8:11 PMEugenio
11/17/2018, 8:33 PMjuancho
11/17/2018, 8:41 PM@MyAnnotation
class Foo(val bar: Int = 1)
At the moment to create the Foo class from the generated Builder I would like to pass bar
if it was set in the builder or just invoke Foo()
if it was not set. But the problem is that the constructor can have a mix of params with and without default paramsEugenio
11/17/2018, 8:43 PMjuancho
11/17/2018, 8:44 PMEugenio
11/17/2018, 8:46 PMjuancho
11/17/2018, 8:49 PMEugenio
11/17/2018, 8:50 PMjuancho
11/17/2018, 8:50 PM