It actually seems to be possible: ``` public class...
# announcements
v
It actually seems to be possible:
Copy code
public class Foo {
  public void foo(@NotNull String hello) {
    // empty
  }
}

class Bar : Foo() {
  @Suppress("NOTHING_TO_OVERRIDE", "ACCIDENTAL_OVERRIDE")
  override fun foo(hello: String?) {
    println("Foo $hello")
  }
}