void () { PyConfigurableInterpreterList myInterpreterList = PyConfigurableInterpreterList.getInstance(myProject); ProjectSdksModel myProjectSdksModel = myInterpreterList.getModel(); myProjectSdksModel.addListener(new MyListener(this, myInterpreterList)); updateSdkList(true, myInterpreterList); }