Files
openide/plugins/lombok/testData/intention/addExceptionToThrows/afterOverridingSyntheticElement.java
Georgii Ustinov ae1025c38d [Java. Inspections] disable suggestion of adding excepion to signature in base methods if they are synthetic
IDEA-358300

GitOrigin-RevId: c042955003e44d4d575569543c4247ac223c02ec
2024-09-09 18:47:39 +00:00

20 lines
352 B
Java

import lombok.Getter;
public class A {
@Getter
private String s;
private static class B extends A {
@Override
public String getS() {
throw new RuntimeException();
}
}
private static class C extends B {
@Override
public String getS() throws RuntimeException {
throw new Runtime<caret>Exception();
}
}
}