// "Replace with a null check" "true-preview" class Test { void test(String s) { Object object = s; if(object instanceof String s1) { System.out.println("always"); } } }