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);