class ModalStack {

    ViewController peek() {
        if (modals.isEmpty()) throw new EmptyStackException();
        return modals.get(modals.size() - 1);
    }

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

}