Remove nullability annotations attached to TYPE_USE position in tests

They do not work anyway by many reasons:
- 'org.jetbrains.annotations.*' are not TYPE_USE targeted
- raw type with annotated arguments is something very weird and should be
investigated
This commit is contained in:
Denis Zharkov
2016-03-16 12:59:39 +03:00
parent e96024017f
commit 85329e59ca
2 changed files with 2 additions and 2 deletions
@@ -5,7 +5,7 @@ import java.util.*;
class A<T> {
@NotNull
List<@Nullable String> foo(@NotNull T x, @Nullable List<@NotNull String> y) {}
List<String> foo(@NotNull T x, @Nullable List<String> y) {}
}
// FILE: Test.java
@@ -6,7 +6,7 @@ public fun main(): kotlin.Unit
public/*package*/ open class A</*0*/ T : kotlin.Any!> {
public/*package*/ constructor A</*0*/ T : kotlin.Any!>()
public open override /*1*/ /*fake_override*/ fun equals(/*0*/ other: kotlin.Any?): kotlin.Boolean
@org.jetbrains.annotations.NotNull() public/*package*/ open fun foo(/*0*/ @org.jetbrains.annotations.NotNull() x: T, /*1*/ @org.jetbrains.annotations.Nullable() y: kotlin.collections.(Mutable)List<kotlin.String>?): kotlin.collections.(Mutable)List<kotlin.String?>
@org.jetbrains.annotations.NotNull() public/*package*/ open fun foo(/*0*/ @org.jetbrains.annotations.NotNull() x: T, /*1*/ @org.jetbrains.annotations.Nullable() y: kotlin.collections.(Mutable)List<kotlin.String!>?): kotlin.collections.(Mutable)List<kotlin.String!>
public open override /*1*/ /*fake_override*/ fun hashCode(): kotlin.Int
public open override /*1*/ /*fake_override*/ fun toString(): kotlin.String
}