IDEA-106141 (trailing annotations excluded from an incomplete reference expression)

I.e. in "X. \n @A public T m()", @A is no longer a part of "X.".
This commit is contained in:
Roman Shevchenko
2015-07-03 16:00:02 +03:00
parent a80c66e870
commit 200e67ca65
5 changed files with 59 additions and 27 deletions
@@ -0,0 +1,7 @@
class MyClass {
Object o = new Object();
String s = o.<caret>
@Annotation
String myAnnotatedMethod() { return ""; }
}
@@ -0,0 +1,7 @@
class MyClass {
Object o = new Object();
String s = o.toString()<caret>
@Annotation
String myAnnotatedMethod() { return ""; }
}