[LC] fix signature of 'Enum.valueOf()'

* drop @NotNull annotation from parameter
* add NullPointerException to throws

^KT-55497 Fixed
This commit is contained in:
Dmitrii Gridin
2022-12-15 13:49:03 +01:00
committed by Space Team
parent 7d0c093da7
commit e39dc9b768
15 changed files with 26 additions and 25 deletions
@@ -5,7 +5,7 @@ public enum Foo /* Foo*/ {
;
@org.jetbrains.annotations.NotNull()
public static Foo valueOf(@org.jetbrains.annotations.NotNull() java.lang.String) throws java.lang.IllegalArgumentException;// valueOf(java.lang.String)
public static Foo valueOf(java.lang.String) throws java.lang.IllegalArgumentException, java.lang.NullPointerException;// valueOf(java.lang.String)
@org.jetbrains.annotations.NotNull()
public static Foo[] values();// values()
@@ -26,4 +26,4 @@ public final class InlineInheritance /* InlineInheritance*/ {
public int y();// y()
}
}