test_class.declarator: WITH_FLOURISH = true
test_class.modifier: static final
test_class.original_string: static final boolean WITH_FLOURISH = true;
test_class.type: boolean
test_class.var_name: WITH_FLOURISH
test_class.declarator: WITHOUT_FLOURISH = false
test_class.modifier: static final
test_class.original_string: static final boolean WITHOUT_FLOURISH = false;
test_class.type: boolean
test_class.var_name: WITHOUT_FLOURISH
test_class.declarator: view
test_class.modifier: @Mock
test_class.original_string: @Mock Popup<Parcelable, String> view;
test_class.type: Popup<Parcelable, String>
test_class.var_name: view
test_class.declarator: context
test_class.modifier: @Mock
test_class.original_string: @Mock Context context;
test_class.type: Context
test_class.var_name: context
test_class.declarator: root
test_class.original_string: MortarScope root;
test_class.type: MortarScope
test_class.var_name: root
test_class.declarator: activityScope
test_class.original_string: MortarScope activityScope;
test_class.type: MortarScope
test_class.var_name: activityScope
test_class.declarator: presenter
test_class.original_string: TestPopupPresenter presenter;
test_class.type: TestPopupPresenter
test_class.var_name: presenter
test_class.file: mortar/src/test/java/mortar/PopupPresenterTest.java
test_class.identifier: PopupPresenterTest
test_case.body: @Test public void showAfterTakeViewShowsView() {
      presenter.takeView(view);
      Parcelable info = mock(Parcelable.class);
      presenter.show(info);
      verify(view).show(same(info), eq(WITH_FLOURISH), same(presenter));
    }
test_case.class_method_signature: PopupPresenterTest.showAfterTakeViewShowsView()
test_case.full_signature: @Test public void showAfterTakeViewShowsView()
test_case.identifier: showAfterTakeViewShowsView
test_case.invocations: takeView mock show show verify same eq same
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void showAfterTakeViewShowsView()
focal_class.declarator: WITH_FLOURISH = true
focal_class.modifier: private static final
focal_class.original_string: private static final boolean WITH_FLOURISH = true;
focal_class.type: boolean
focal_class.var_name: WITH_FLOURISH
focal_class.declarator: whatToShowKey
focal_class.modifier: private final
focal_class.original_string: private final String whatToShowKey;
focal_class.type: String
focal_class.var_name: whatToShowKey
focal_class.declarator: whatToShow
focal_class.modifier: private
focal_class.original_string: private D whatToShow;
focal_class.type: D
focal_class.var_name: whatToShow
focal_class.file: mortar/src/main/java/mortar/PopupPresenter.java
focal_class.identifier: PopupPresenter
focal_class.class_method_signature: PopupPresenter.PopupPresenter(String customStateKey)
focal_class.full_signature: protected  PopupPresenter(String customStateKey)
focal_class.identifier: PopupPresenter
focal_class.modifiers: protected
focal_class.parameters: (String customStateKey)
focal_class.signature:  PopupPresenter(String customStateKey)
focal_class.class_method_signature: PopupPresenter.PopupPresenter()
focal_class.full_signature: protected  PopupPresenter()
focal_class.identifier: PopupPresenter
focal_class.modifiers: protected
focal_class.parameters: ()
focal_class.signature:  PopupPresenter()
focal_class.class_method_signature: PopupPresenter.showing()
focal_class.full_signature: public D showing()
focal_class.identifier: showing
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: D
focal_class.signature: D showing()
focal_class.class_method_signature: PopupPresenter.show(D info)
focal_class.full_signature: public void show(D info)
focal_class.identifier: show
focal_class.modifiers: public
focal_class.parameters: (D info)
focal_class.return: void
focal_class.signature: void show(D info)
focal_class.class_method_signature: PopupPresenter.dismiss()
focal_class.full_signature: public void dismiss()
focal_class.identifier: dismiss
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void dismiss()
focal_class.class_method_signature: PopupPresenter.onDismissed(R result)
focal_class.full_signature: public final void onDismissed(R result)
focal_class.identifier: onDismissed
focal_class.modifiers: public final
focal_class.parameters: (R result)
focal_class.return: void
focal_class.signature: void onDismissed(R result)
focal_class.class_method_signature: PopupPresenter.onPopupResult(R result)
focal_class.full_signature: abstract protected void onPopupResult(R result)
focal_class.identifier: onPopupResult
focal_class.modifiers: abstract protected
focal_class.parameters: (R result)
focal_class.return: void
focal_class.signature: void onPopupResult(R result)
focal_class.class_method_signature: PopupPresenter.extractBundleService(Popup<D, R> view)
focal_class.full_signature: @Override protected BundleService extractBundleService(Popup<D, R> view)
focal_class.identifier: extractBundleService
focal_class.modifiers: @Override protected
focal_class.parameters: (Popup<D, R> view)
focal_class.return: BundleService
focal_class.signature: BundleService extractBundleService(Popup<D, R> view)
focal_class.class_method_signature: PopupPresenter.dropView(Popup<D, R> view)
focal_class.full_signature: @Override public void dropView(Popup<D, R> view)
focal_class.identifier: dropView
focal_class.modifiers: @Override public
focal_class.parameters: (Popup<D, R> view)
focal_class.return: void
focal_class.signature: void dropView(Popup<D, R> view)
focal_class.class_method_signature: PopupPresenter.onLoad(Bundle savedInstanceState)
focal_class.full_signature: @Override public void onLoad(Bundle savedInstanceState)
focal_class.identifier: onLoad
focal_class.modifiers: @Override public
focal_class.parameters: (Bundle savedInstanceState)
focal_class.return: void
focal_class.signature: void onLoad(Bundle savedInstanceState)
focal_class.class_method_signature: PopupPresenter.onSave(Bundle outState)
focal_class.full_signature: @Override public void onSave(Bundle outState)
focal_class.identifier: onSave
focal_class.modifiers: @Override public
focal_class.parameters: (Bundle outState)
focal_class.return: void
focal_class.signature: void onSave(Bundle outState)
focal_class.class_method_signature: PopupPresenter.onExitScope()
focal_class.full_signature: @Override public void onExitScope()
focal_class.identifier: onExitScope
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void onExitScope()
focal_class.superclass: extends Presenter<Popup<D, R>>
focal_method.body: public void show(D info) {
      if (whatToShow == info || whatToShow != null && whatToShow.equals(info)) {
        // It's very likely this is a button bounce
        // http://stackoverflow.com/questions/2886407/dealing-with-rapid-tapping-on-buttons
        return;
      }
  
      whatToShow = info;
      if (!hasView()) return;
      getView().show(whatToShow, WITH_FLOURISH, this);
    }
focal_method.class_method_signature: PopupPresenter.show(D info)
focal_method.full_signature: public void show(D info)
focal_method.identifier: show
focal_method.invocations: equals hasView show getView
focal_method.modifiers: public
focal_method.parameters: (D info)
focal_method.return: void
focal_method.signature: void show(D info)