KT-56842 [SLC] Don't mark primitive context receiver parameters with @NotNull
This commit is contained in:
committed by
Space Team
parent
de1927abb6
commit
492a161d2c
+1
-1
@@ -73,7 +73,7 @@ internal class SymbolLightParameterForReceiver private constructor(
|
|||||||
),
|
),
|
||||||
additionalAnnotationsProvider = NullabilityAnnotationsProvider {
|
additionalAnnotationsProvider = NullabilityAnnotationsProvider {
|
||||||
withReceiverSymbol { receiver ->
|
withReceiverSymbol { receiver ->
|
||||||
receiver.type.nullabilityType
|
receiver.type.let { if (it.isPrimitiveBacked) NullabilityType.Unknown else it.nullabilityType }
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
|
|||||||
Vendored
+3
-3
@@ -11,13 +11,13 @@ public final class Test /* Test*/ {
|
|||||||
public final void setBar(@MyAnnotation3() @org.jetbrains.annotations.NotNull() java.lang.String);// setBar(java.lang.String)
|
public final void setBar(@MyAnnotation3() @org.jetbrains.annotations.NotNull() java.lang.String);// setBar(java.lang.String)
|
||||||
|
|
||||||
@org.jetbrains.annotations.NotNull()
|
@org.jetbrains.annotations.NotNull()
|
||||||
public final kotlin.Unit getFooP(@MyAnnotation7() @org.jetbrains.annotations.NotNull() int);// getFooP(int)
|
public final kotlin.Unit getFooP(@MyAnnotation7() int);// getFooP(int)
|
||||||
|
|
||||||
public Test(@MyAnnotation6() @org.jetbrains.annotations.NotNull() java.lang.String);// .ctor(java.lang.String)
|
public Test(@MyAnnotation6() @org.jetbrains.annotations.NotNull() java.lang.String);// .ctor(java.lang.String)
|
||||||
|
|
||||||
public final void fooF(@MyAnnotation7() @org.jetbrains.annotations.NotNull() int);// fooF(int)
|
public final void fooF(@MyAnnotation7() int);// fooF(int)
|
||||||
|
|
||||||
public final void fooWithNullableReceiver(@MyAnnotation7() @org.jetbrains.annotations.Nullable() java.lang.Integer, long);// fooWithNullableReceiver(java.lang.Integer, long)
|
public final void fooWithNullableReceiver(@MyAnnotation7() @org.jetbrains.annotations.Nullable() java.lang.Integer, long);// fooWithNullableReceiver(java.lang.Integer, long)
|
||||||
|
|
||||||
public final void setFooP(@MyAnnotation7() @org.jetbrains.annotations.NotNull() int, @org.jetbrains.annotations.NotNull() kotlin.Unit);// setFooP(int, kotlin.Unit)
|
public final void setFooP(@MyAnnotation7() int, @org.jetbrains.annotations.NotNull() kotlin.Unit);// setFooP(int, kotlin.Unit)
|
||||||
}
|
}
|
||||||
|
|||||||
+1
-1
@@ -139,7 +139,7 @@ public final class PropertiesKt /* PropertiesKt*/ {
|
|||||||
|
|
||||||
public static final int getInt2();// getInt2()
|
public static final int getInt2();// getInt2()
|
||||||
|
|
||||||
public static final int getIntProp(@org.jetbrains.annotations.NotNull() int);// getIntProp(int)
|
public static final int getIntProp(int);// getIntProp(int)
|
||||||
|
|
||||||
public static final int getInternalWithPrivateSet();// getInternalWithPrivateSet()
|
public static final int getInternalWithPrivateSet();// getInternalWithPrivateSet()
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user