mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-20 03:20:56 +07:00
8 lines
185 B
Java
8 lines
185 B
Java
// "Replace with 'instanceof Integer'" "true-preview"
|
|
class X {
|
|
void test(Object obj) {
|
|
if(Integer.class.isIns<caret>tance(obj)) {
|
|
System.out.println("Integer");
|
|
}
|
|
}
|
|
} |