java create class from usage: disable for expected array type or expected super class while enum/record can't have any

GitOrigin-RevId: 042aed924d9fc35e1ca86ae8660a7a75fe45bd25
This commit is contained in:
Anna Kozlova
2020-10-27 13:27:22 +00:00
committed by intellij-monorepo-bot
parent b1e8b301ee
commit 48a0c3c03c
5 changed files with 54 additions and 1 deletions
@@ -0,0 +1,6 @@
// "Create inner class 'Foo'" "false"
public class Test {
boolean foo(int[] o) {
return o instanceof F<caret>oo;
}
}