java: allow comments before receiver parameter (IDEA-245721)

GitOrigin-RevId: 98f193dcd8836321639b647693156315b4bced83
This commit is contained in:
Anna Kozlova
2020-07-15 09:26:20 +02:00
committed by intellij-monorepo-bot
parent c887211a58
commit cc9907aee7
2 changed files with 3 additions and 1 deletions

View File

@@ -22,6 +22,8 @@ class C {
void m1b(<error descr="'@A' not applicable to type use">@A</error> C this) { }
void m2(@TA Object other, @TA C <error descr="The receiver should be the first parameter">this</error>) { }
void m2b(//comment
@TA C this) { }
void m3a(@TA <error descr="The receiver type does not match the enclosing class type">Object</error> this) { }
void m3b(@TA <error descr="The receiver type does not match the enclosing class type">int</error> this) { }