blob: a277a5b1dd35a29c805d2da849fe9640c17ffe21 [file]
class Test {
@Deprecated(forRemoval = true)
void foo() {}
}
class Overrides extends Test {
void <error descr="Overrides method that is deprecated and marked for removal in 'Test'">foo</error>() {
super.<error descr="'foo()' is deprecated and marked for removal">foo</error>();
}
}
@SuppressWarnings("removal")
class Suppressed extends Test {
void foo() {
super.foo();
}
}