Extend list of annotations ignored in parameter info (KT-24911, KT-25622)

#KT-24911 Fixed
This commit is contained in:
Nikolay Krasko
2018-08-01 19:11:20 +03:00
parent 10b2229a27
commit ceeeffd814
4 changed files with 19 additions and 5 deletions
@@ -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
View File
@@ -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
*/