// "Create constructor" "true-preview"
public class Test {
    public void main2() {
        new MyCollection(this);
    }
}

class MyCollection {
    public MyCollection(Test test) {
        
    }
}