mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-18 09:34:34 +07:00
Enum.values() is not-null (IDEA-161644)
This commit is contained in:
@@ -23,4 +23,14 @@ class Test {
|
||||
|
||||
@NotNull
|
||||
native Object knownObject();
|
||||
}
|
||||
|
||||
enum DemoEnum {
|
||||
TEST, DEMO, DEMO_1;
|
||||
|
||||
public static DemoEnum testMethod(String value){
|
||||
for (DemoEnum demoEnum : DemoEnum.values()) {
|
||||
}
|
||||
return null;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user