Ruckus
06/14/2016, 6:45 PMopen class foo_activity
@Inject
@JvmOverloads
protected constructor
(
val foo_1: String,
val foo_2: Map< String , Map< Int , String > >,
val foo_3: some_interface_1? = null
)
: Activity (),
some_interface_1 by foo_3 ?: object: some_interface_1
{
},
some_interface_2
{
init
{
if ( foo1.length > 10 )
{
throw IllegalArgumentException( "Can't set foo1 to more than 10 char long" )
}
}
fun foo ()
{
}
fun get_foo_1_length ()
= foo1.length
fun some_complicated_thing ()
{
// TODO: Make this do a cool thing
TODO ()
}
}