// "Create class 'MyCollection'" "true-preview"
import java.util.*;

public class Test {
    public static void main() {
        Collection c = new MyCollection(1, "test");
    }
}

public class MyCollection implements Collection {
    public MyCollection(int i, String test) {<caret>
    }
}