// "Replace 'ts' with existing pattern variable 'i1'" "true" import java.util.*; class Test { interface T {} HashSet test(Iterable i) { if (i instanceof Collection i1) { return new HashSet<>(i1); } return null; } }