Hi. Does anyone remember how that pattern is calle...
# announcements
d
Hi. Does anyone remember how that pattern is called where you have an interface, implement its method as
final
which then does some work and calls some abstract function defined in current class. I.e I need a way to enforce calling a super method to ensure some contract is working in all subclasses. Android-Java plugin provides another way by supporting a convenient
@CallSuper
annotation which forces overridden methods to contain calls to a super method, but Kotlin doesn't support this, so I have to use some pattern...