Files
openide/java/java-tests/testData/codeInsight/daemonCodeAnalyzer/quickFix/i18nize/beforeNestedConcatenation.java
Anna Kozlova af1c8c2574 i18n fix: traverse to the expression top level (IDEA-248707)
if one need to extract subpart of concatenation, it's required to extract a variable; similar to parts of polyadic expression

GitOrigin-RevId: 46cd1a75303b72ea64e9694617fb43f4d3da5982
2020-08-21 08:03:52 +00:00

5 lines
141 B
Java

class a {
void foo(String s, int i, boolean b) {
String desc = "Our " + s + " has " + (b ? i + " doo<caret>rs" : "many windows");
}
}