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

public class Test {
    public static void main() {
        ArrayList list = new MyArrayList(1, "test");
    }
}

public class MyArrayList extends ArrayList {
    public MyArrayList(int i, String test) {<caret>
    }
}