Files
openide/java/java-tests/testData/codeInsight/daemonCodeAnalyzer/quickFix/createClassFromUsage/afterEnumInstanceofCapture.java
Tagir Valeev a952ee5872 [intention-preview] CreateClassFromUsageFix: preview; tests for preview
GitOrigin-RevId: 2eb36ee066743ffcacf4fae2968ba9d6d9c8bcff
2022-08-12 09:31:04 +00:00

8 lines
177 B
Java

// "Create enum 'Foo'" "true-preview"
public interface Test {
default void foo(java.util.List<? extends Test> l){
if (l.get(0) instanceof Foo) {}
}
}
public enum Foo {}