mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-30 09:50:57 +07:00
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();
|
|
}
|
|
}
|
|
} |