From 0c70f74bee916b86f9b871d2587b68fa998da681 Mon Sep 17 00:00:00 2001 From: Yuriy Artamonov Date: Mon, 20 Apr 2020 21:36:41 +0300 Subject: [PATCH] SEM: @NotNull for SemKey subKey GitOrigin-RevId: 741dd032c7edf5a7c3151a00eaca4c4f329020b2 --- platform/lang-api/src/com/intellij/semantic/SemKey.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/platform/lang-api/src/com/intellij/semantic/SemKey.java b/platform/lang-api/src/com/intellij/semantic/SemKey.java index a60741c2da66..c06597ada830 100644 --- a/platform/lang-api/src/com/intellij/semantic/SemKey.java +++ b/platform/lang-api/src/com/intellij/semantic/SemKey.java @@ -64,6 +64,7 @@ public class SemKey { } @SafeVarargs + @NotNull public static SemKey createKey(String debugName, SemKey @NotNull ... supers) { return new SemKey<>(debugName, supers); } @@ -78,6 +79,7 @@ public class SemKey { } @SafeVarargs + @NotNull public final SemKey subKey(@NonNls String debugName, SemKey @NotNull ... otherSupers) { if (otherSupers.length == 0) { return new SemKey<>(debugName, this);