Revert formatting type annotations on the same line before the type in method

IDEA-353192 IDEA-354026

GitOrigin-RevId: cbf3e0b332517194f35d979a631cbbb0121893b4
This commit is contained in:
Georgii Ustinov
2024-06-01 09:25:44 +03:00
committed by intellij-monorepo-bot
parent 4b4a1c5abd
commit 3b50806cf1
24 changed files with 54 additions and 325 deletions

View File

@@ -13,7 +13,8 @@ class Y extends X{
}
}
class Z extends Y {
@NotNull String dontAnnotateBase() {// trigger quick fix for inspection here
@NotNull
String dontAnnotateBase<caret>() {// trigger quick fix for inspection here
return "Z";
}
}

View File

@@ -9,13 +9,15 @@ abstract class P2 {
}
class PPP extends P2 {
@NotNull String foo(P p) {
@NotNull
String foo(P p) {
return super.foo(p);
}
}
class PPP2 extends P2 {
@NotNull String foo(P p) {
@NotNull
String foo(P p) {
return super.foo(p);
}
}

View File

@@ -9,7 +9,8 @@ import org.jetbrains.annotations.*;
}
}
class XC extends XEM {
@NotNull String f() {
@NotNull
String f() {
return "";
}
}