[LC] fix signature of 'Enum.valueOf()'
* drop @NotNull annotation from parameter * add NullPointerException to throws ^KT-55497 Fixed
This commit is contained in:
committed by
Space Team
parent
7d0c093da7
commit
e39dc9b768
@@ -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()
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user