mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-08-30 18:13:36 +07:00
- use PsiStatement as scope instead of PsiIfStatement - more tests GitOrigin-RevId: 2602190296988a80d54520c7a0f15fd0f8e3d942
6 lines
232 B
Java
6 lines
232 B
Java
// "Replace cast expressions with pattern variable" "true"
|
|
public final class A {
|
|
private static boolean foo2(Number o, Number n) {
|
|
return o instanceof Integer integer && o != n && integer.describeConstable().get() == 1;
|
|
}
|
|
} |