what I'd like is a kotlin facility for a >dont...
# language-proposals
g
what I'd like is a kotlin facility for a
dont care what the signature is, just match the one with this method name and override it
such that I can write something like
Copy code
class X{

  class Null : X{ 
    override fun doWhatever(...) = throw UnsupportedOperationException("doWhatever")
  }
}