class ModalStack {

    public void destroy() {
        for (ViewController modal : modals) {
            modal.destroy();
        }
        modals.clear();
    }

    public  ModalStack(Activity activity);
    @RestrictTo(RestrictTo.Scope.TESTS)  ModalStack(ModalPresenter presenter);

}