mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-04 06:32:48 +07:00
IDEA-358300 GitOrigin-RevId: a7b8c716d772ae5ca631037ebb923bb796946af9
14 lines
309 B
Java
14 lines
309 B
Java
// "Add 'throws UnsupportedOperationException' to method signature" "true-preview"
|
|
class A {
|
|
@Override
|
|
public String toString() {
|
|
return super.toString();
|
|
}
|
|
|
|
static class B extends A {
|
|
@Override
|
|
public String toString() {
|
|
throw new Unsupport<caret>edOperationException();
|
|
}
|
|
}
|
|
} |