[java-i18n] More uniform call-chain support; fixes property test with parentheses

GitOrigin-RevId: 7f91d71dd6e87771165b35a33f322533f64a49ca
This commit is contained in:
Tagir Valeev
2020-09-01 09:28:19 +00:00
committed by intellij-monorepo-bot
parent 61c4068c0a
commit a0f9fd146b
3 changed files with 27 additions and 4 deletions
@@ -0,0 +1,13 @@
import org.jetbrains.annotations.NonNls;
// "Annotate method 'test' as @NonNls" "true"
class Foo {
@NonNls
Foo test(String s) {
return this;
}
public boolean doTest() {
System.out.println((test("Hello")).toString());
}
}
@@ -0,0 +1,10 @@
// "Annotate method 'test' as @NonNls" "true"
class Foo {
Foo test(String s) {
return this;
}
public boolean doTest() {
System.out.println((test("Hel<caret>lo")).toString());
}
}