groostav
08/08/2016, 6:13 PMopen class AbstractStupidClass : StupidInterface{
override fun annoyingMethodOne(p1: Type1, p2: Type2): Type3 = TODO(); //please note, this is not shorthand, this is compliable kotlin code
override fun annoyingMethodTwo(p1: Type1) : Type 4 = TODO();
//...
override fun usefulMethod(interesting: InterestingType1): SomeType = TODO();
}
and then create your relevant implementations:
class MyUsefulType : AbstractStupidClass {
overridefun usefulMethod(interesting: InterestingType1): SomeType{
val x = doThings()//...
}
}