mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-08-23 18:03:06 +07:00
17 lines
393 B
Java
17 lines
393 B
Java
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();
|
|
}
|
|
} |