mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-02 22:51:01 +07:00
14 lines
339 B
Java
14 lines
339 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() throws UnsupportedOperationException {
|
|
throw new UnsupportedOperationException();
|
|
}
|
|
}
|
|
} |