Extend list of annotations ignored in parameter info (KT-24911, KT-25622)
#KT-24911 Fixed
This commit is contained in:
@@ -1,8 +1,10 @@
|
||||
import org.jetbrains.annotations.Nullable
|
||||
import org.jetbrains.annotations.NotNull
|
||||
import androidx.annotation.RecentlyNonNull;
|
||||
import androidx.annotation.RecentlyNullable;
|
||||
|
||||
class J {
|
||||
static void foo(@Nullable String s1, @NotNull String s2, String s3) {
|
||||
static void foo(@Nullable String s1, @NotNull String s2, @RecentlyNullable String a, @RecentlyNonNull String b, String s3) {
|
||||
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,5 @@
|
||||
package androidx.annotation
|
||||
|
||||
annotation class RecentlyNonNull
|
||||
|
||||
annotation class RecentlyNullable
|
||||
+2
-2
@@ -1,7 +1,7 @@
|
||||
fun test() {
|
||||
J.foo(<caret>"1", "2", "3")
|
||||
J.foo(<caret>"1", "2", "3", "4", "5")
|
||||
}
|
||||
|
||||
/*
|
||||
Text: (<highlight>s1: String?</highlight>, s2: String, s3: String!), Disabled: false, Strikeout: false, Green: true
|
||||
Text: (<highlight>s1: String?</highlight>, s2: String, a: String!, b: String!, s3: String!), Disabled: false, Strikeout: false, Green: true
|
||||
*/
|
||||
Reference in New Issue
Block a user