test_class.declarator: adapter = new FrameAdapter()
test_class.modifier: private
test_class.original_string: private FrameAdapter adapter = new FrameAdapter();
test_class.type: FrameAdapter
test_class.var_name: adapter
test_class.file: subprojects/griffon-pivot/src/test/java/griffon/pivot/support/adapters/FrameAdapterTest.java
test_class.identifier: FrameAdapterTest
test_case.body: @Test
      public void testMenuBarChanged() {
          final boolean[] invoked = new boolean[1];
          CallableWithArgs<Void> callable = new CallableWithArgs<Void>() {
              public Void call(Object... args) {
                  invoked[0] = true;
                  return null;
              } 
          };
  
          assertNull(adapter.getMenuBarChanged());
          adapter.menuBarChanged(null, null);
          assertFalse(invoked[0]);
  
          adapter.setMenuBarChanged(callable);
          adapter.menuBarChanged(null, null);
          assertTrue(invoked[0]);
      }
test_case.class_method_signature: FrameAdapterTest.testMenuBarChanged()
test_case.full_signature: @Test public void testMenuBarChanged()
test_case.identifier: testMenuBarChanged
test_case.invocations: assertNull getMenuBarChanged menuBarChanged assertFalse setMenuBarChanged menuBarChanged assertTrue
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testMenuBarChanged()
focal_class.declarator: menuBarChanged
focal_class.modifier: private
focal_class.original_string: private CallableWithArgs<Void> menuBarChanged;
focal_class.type: CallableWithArgs<Void>
focal_class.var_name: menuBarChanged
focal_class.file: subprojects/griffon-pivot/src/main/java/griffon/pivot/support/adapters/FrameAdapter.java
focal_class.identifier: FrameAdapter
focal_class.interfaces: implements GriffonPivotAdapter, org.apache.pivot.wtk.FrameListener
focal_class.class_method_signature: FrameAdapter.getMenuBarChanged()
focal_class.full_signature: public CallableWithArgs<Void> getMenuBarChanged()
focal_class.identifier: getMenuBarChanged
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: CallableWithArgs<Void>
focal_class.signature: CallableWithArgs<Void> getMenuBarChanged()
focal_class.class_method_signature: FrameAdapter.setMenuBarChanged(CallableWithArgs<Void> menuBarChanged)
focal_class.full_signature: public void setMenuBarChanged(CallableWithArgs<Void> menuBarChanged)
focal_class.identifier: setMenuBarChanged
focal_class.modifiers: public
focal_class.parameters: (CallableWithArgs<Void> menuBarChanged)
focal_class.return: void
focal_class.signature: void setMenuBarChanged(CallableWithArgs<Void> menuBarChanged)
focal_class.class_method_signature: FrameAdapter.menuBarChanged(org.apache.pivot.wtk.Frame arg0, org.apache.pivot.wtk.MenuBar arg1)
focal_class.full_signature: public void menuBarChanged(org.apache.pivot.wtk.Frame arg0, org.apache.pivot.wtk.MenuBar arg1)
focal_class.identifier: menuBarChanged
focal_class.modifiers: public
focal_class.parameters: (org.apache.pivot.wtk.Frame arg0, org.apache.pivot.wtk.MenuBar arg1)
focal_class.return: void
focal_class.signature: void menuBarChanged(org.apache.pivot.wtk.Frame arg0, org.apache.pivot.wtk.MenuBar arg1)
focal_method.body: public void menuBarChanged(org.apache.pivot.wtk.Frame arg0, org.apache.pivot.wtk.MenuBar arg1) {
          if (menuBarChanged != null) {
              menuBarChanged.call(arg0, arg1);
          }
      }
focal_method.class_method_signature: FrameAdapter.menuBarChanged(org.apache.pivot.wtk.Frame arg0, org.apache.pivot.wtk.MenuBar arg1)
focal_method.full_signature: public void menuBarChanged(org.apache.pivot.wtk.Frame arg0, org.apache.pivot.wtk.MenuBar arg1)
focal_method.identifier: menuBarChanged
focal_method.invocations: call
focal_method.modifiers: public
focal_method.parameters: (org.apache.pivot.wtk.Frame arg0, org.apache.pivot.wtk.MenuBar arg1)
focal_method.return: void
focal_method.signature: void menuBarChanged(org.apache.pivot.wtk.Frame arg0, org.apache.pivot.wtk.MenuBar arg1)