Files
openide/java/java-tests/testData/codeInsight/daemonCodeAnalyzer/quickFix/constantExpressionWithFinal/beforeWithFinal.java
Mikhail Pyltsin 913fd3db6f [java-inspections] IDEA-303605 Constant expression can be evaluated - new option to skip non-literal exception
GitOrigin-RevId: 5adb14cc5d812c28ca811095e042ec18023a92d9
2023-05-10 13:01:51 +00:00

9 lines
225 B
Java

// "Fix all 'Constant expression can be evaluated' problems in file" "true"
class Test {
private final String field = "field"
void test() {
String foo = "Test"<caret> + "test2";
String foo = "Test" + field;
}
}