IDEA-191500 Inappropriate 'Enum.valueOf()' Smart Type suggestion

This commit is contained in:
peter
2018-05-08 17:52:11 +02:00
parent 58fddd8d75
commit 0c70c63d0a
4 changed files with 36 additions and 2 deletions
@@ -0,0 +1,8 @@
class Foo {
{
Foo m = <caret>x;
}
static <TX extends Enum<TX>> TX valueOf(Class<TX> enumType, String name);
}