test_class.declarator: rule = new PowerMockRule()
test_class.modifier: @Rule
    public
test_class.original_string: @Rule
    public PowerMockRule rule = new PowerMockRule();
test_class.type: PowerMockRule
test_class.var_name: rule
test_class.declarator: mReactContext
test_class.modifier: private
test_class.original_string: private ReactApplicationContext mReactContext;
test_class.type: ReactApplicationContext
test_class.var_name: mReactContext
test_class.declarator: mCatalystInstanceMock
test_class.modifier: private
test_class.original_string: private CatalystInstance mCatalystInstanceMock;
test_class.type: CatalystInstance
test_class.var_name: mCatalystInstanceMock
test_class.declarator: mPendingChoreographerCallbacks
test_class.modifier: private
test_class.original_string: private ArrayList<Choreographer.FrameCallback> mPendingChoreographerCallbacks;
test_class.type: ArrayList<Choreographer.FrameCallback>
test_class.var_name: mPendingChoreographerCallbacks
test_class.file: node_modules/react-native/ReactAndroid/src/test/java/com/facebook/react/uimanager/UIManagerModuleTest.java
test_class.identifier: UIManagerModuleTest
test_case.body: @Test
    public void testRemoveSubviewsFromContainerWithID() {
      UIManagerModule uiManager = getUIManagerModule();
      ReactRootView rootView =
          new ReactRootView(RuntimeEnvironment.application.getApplicationContext());
      int rootTag = uiManager.addMeasuredRootView(rootView);
  
      final int containerTag = rootTag + 1;
      final int containerSiblingTag = containerTag + 1;
  
      uiManager.createView(
          containerTag,
          ReactViewManager.REACT_CLASS,
          rootTag,
          JavaOnlyMap.of("collapsable", false));
      uiManager.createView(
          containerSiblingTag,
          ReactViewManager.REACT_CLASS,
          rootTag,
          JavaOnlyMap.of("collapsable", false));
      addChild(uiManager, rootTag, containerTag, 0);
      addChild(uiManager, rootTag, containerSiblingTag, 1);
  
      uiManager.createView(
          containerTag + 2,
          ReactTextViewManager.REACT_CLASS,
          rootTag,
          JavaOnlyMap.of("collapsable", false));
      uiManager.createView(
          containerTag + 3,
          ReactTextViewManager.REACT_CLASS,
          rootTag,
          JavaOnlyMap.of("collapsable", false));
      addChild(uiManager, containerTag, containerTag + 2, 0);
      addChild(uiManager, containerTag, containerTag + 3, 1);
  
      uiManager.onBatchComplete();
      executePendingChoreographerCallbacks();
  
      assertThat(rootView.getChildCount()).isEqualTo(2);
      assertThat(((ViewGroup)rootView.getChildAt(0)).getChildCount()).isEqualTo(2);
  
      uiManager.removeSubviewsFromContainerWithID(containerTag);
  
      uiManager.onBatchComplete();
      executePendingChoreographerCallbacks();
  
      assertThat(rootView.getChildCount()).isEqualTo(2);
      assertThat(((ViewGroup)rootView.getChildAt(0)).getChildCount()).isEqualTo(0);
    }
test_case.class_method_signature: UIManagerModuleTest.testRemoveSubviewsFromContainerWithID()
test_case.full_signature: @Test public void testRemoveSubviewsFromContainerWithID()
test_case.identifier: testRemoveSubviewsFromContainerWithID
test_case.invocations: getUIManagerModule getApplicationContext addMeasuredRootView createView of createView of addChild addChild createView of createView of addChild addChild onBatchComplete executePendingChoreographerCallbacks isEqualTo assertThat getChildCount isEqualTo assertThat getChildCount getChildAt removeSubviewsFromContainerWithID onBatchComplete executePendingChoreographerCallbacks isEqualTo assertThat getChildCount isEqualTo assertThat getChildCount getChildAt
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testRemoveSubviewsFromContainerWithID()
focal_class.declarator: ROOT_VIEW_TAG_INCREMENT = 10
focal_class.modifier: private static final
focal_class.original_string: private static final int ROOT_VIEW_TAG_INCREMENT = 10;
focal_class.type: int
focal_class.var_name: ROOT_VIEW_TAG_INCREMENT
focal_class.declarator: mEventDispatcher
focal_class.modifier: private final
focal_class.original_string: private final EventDispatcher mEventDispatcher;
focal_class.type: EventDispatcher
focal_class.var_name: mEventDispatcher
focal_class.declarator: mModuleConstants
focal_class.modifier: private final
focal_class.original_string: private final Map<String, Object> mModuleConstants;
focal_class.type: Map<String, Object>
focal_class.var_name: mModuleConstants
focal_class.declarator: mUIImplementation
focal_class.modifier: private final
focal_class.original_string: private final UIImplementation mUIImplementation;
focal_class.type: UIImplementation
focal_class.var_name: mUIImplementation
focal_class.declarator: mNextRootViewTag = 1
focal_class.modifier: private
focal_class.original_string: private int mNextRootViewTag = 1;
focal_class.type: int
focal_class.var_name: mNextRootViewTag
focal_class.declarator: mBatchId = 0
focal_class.modifier: private
focal_class.original_string: private int mBatchId = 0;
focal_class.type: int
focal_class.var_name: mBatchId
focal_class.file: node_modules/react-native/ReactAndroid/src/main/java/com/facebook/react/uimanager/UIManagerModule.java
focal_class.identifier: UIManagerModule
focal_class.interfaces: implements
      OnBatchCompleteListener, LifecycleEventListener
focal_class.class_method_signature: UIManagerModule.UIManagerModule(
        ReactApplicationContext reactContext,
        List<ViewManager> viewManagerList,
        UIImplementation uiImplementation)
focal_class.full_signature: public  UIManagerModule(
        ReactApplicationContext reactContext,
        List<ViewManager> viewManagerList,
        UIImplementation uiImplementation)
focal_class.identifier: UIManagerModule
focal_class.modifiers: public
focal_class.parameters: (
        ReactApplicationContext reactContext,
        List<ViewManager> viewManagerList,
        UIImplementation uiImplementation)
focal_class.signature:  UIManagerModule(
        ReactApplicationContext reactContext,
        List<ViewManager> viewManagerList,
        UIImplementation uiImplementation)
focal_class.class_method_signature: UIManagerModule.getName()
focal_class.full_signature: @Override public String getName()
focal_class.identifier: getName
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: String
focal_class.signature: String getName()
focal_class.class_method_signature: UIManagerModule.getConstants()
focal_class.full_signature: @Override public Map<String, Object> getConstants()
focal_class.identifier: getConstants
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: Map<String, Object>
focal_class.signature: Map<String, Object> getConstants()
focal_class.class_method_signature: UIManagerModule.onHostResume()
focal_class.full_signature: @Override public void onHostResume()
focal_class.identifier: onHostResume
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void onHostResume()
focal_class.class_method_signature: UIManagerModule.onHostPause()
focal_class.full_signature: @Override public void onHostPause()
focal_class.identifier: onHostPause
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void onHostPause()
focal_class.class_method_signature: UIManagerModule.onHostDestroy()
focal_class.full_signature: @Override public void onHostDestroy()
focal_class.identifier: onHostDestroy
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void onHostDestroy()
focal_class.class_method_signature: UIManagerModule.onCatalystInstanceDestroy()
focal_class.full_signature: @Override public void onCatalystInstanceDestroy()
focal_class.identifier: onCatalystInstanceDestroy
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void onCatalystInstanceDestroy()
focal_class.class_method_signature: UIManagerModule.createConstants(List<ViewManager> viewManagerList)
focal_class.full_signature: private static Map<String, Object> createConstants(List<ViewManager> viewManagerList)
focal_class.identifier: createConstants
focal_class.modifiers: private static
focal_class.parameters: (List<ViewManager> viewManagerList)
focal_class.return: Map<String, Object>
focal_class.signature: Map<String, Object> createConstants(List<ViewManager> viewManagerList)
focal_class.class_method_signature: UIManagerModule.addMeasuredRootView(final SizeMonitoringFrameLayout rootView)
focal_class.full_signature: public int addMeasuredRootView(final SizeMonitoringFrameLayout rootView)
focal_class.identifier: addMeasuredRootView
focal_class.modifiers: public
focal_class.parameters: (final SizeMonitoringFrameLayout rootView)
focal_class.return: int
focal_class.signature: int addMeasuredRootView(final SizeMonitoringFrameLayout rootView)
focal_class.class_method_signature: UIManagerModule.removeRootView(int rootViewTag)
focal_class.full_signature: @ReactMethod public void removeRootView(int rootViewTag)
focal_class.identifier: removeRootView
focal_class.modifiers: @ReactMethod public
focal_class.parameters: (int rootViewTag)
focal_class.return: void
focal_class.signature: void removeRootView(int rootViewTag)
focal_class.class_method_signature: UIManagerModule.updateRootNodeSize(int rootViewTag, int newWidth, int newHeight)
focal_class.full_signature: private void updateRootNodeSize(int rootViewTag, int newWidth, int newHeight)
focal_class.identifier: updateRootNodeSize
focal_class.modifiers: private
focal_class.parameters: (int rootViewTag, int newWidth, int newHeight)
focal_class.return: void
focal_class.signature: void updateRootNodeSize(int rootViewTag, int newWidth, int newHeight)
focal_class.class_method_signature: UIManagerModule.createView(int tag, String className, int rootViewTag, ReadableMap props)
focal_class.full_signature: @ReactMethod public void createView(int tag, String className, int rootViewTag, ReadableMap props)
focal_class.identifier: createView
focal_class.modifiers: @ReactMethod public
focal_class.parameters: (int tag, String className, int rootViewTag, ReadableMap props)
focal_class.return: void
focal_class.signature: void createView(int tag, String className, int rootViewTag, ReadableMap props)
focal_class.class_method_signature: UIManagerModule.updateView(int tag, String className, ReadableMap props)
focal_class.full_signature: @ReactMethod public void updateView(int tag, String className, ReadableMap props)
focal_class.identifier: updateView
focal_class.modifiers: @ReactMethod public
focal_class.parameters: (int tag, String className, ReadableMap props)
focal_class.return: void
focal_class.signature: void updateView(int tag, String className, ReadableMap props)
focal_class.class_method_signature: UIManagerModule.manageChildren(
        int viewTag,
        @Nullable ReadableArray moveFrom,
        @Nullable ReadableArray moveTo,
        @Nullable ReadableArray addChildTags,
        @Nullable ReadableArray addAtIndices,
        @Nullable ReadableArray removeFrom)
focal_class.full_signature: @ReactMethod public void manageChildren(
        int viewTag,
        @Nullable ReadableArray moveFrom,
        @Nullable ReadableArray moveTo,
        @Nullable ReadableArray addChildTags,
        @Nullable ReadableArray addAtIndices,
        @Nullable ReadableArray removeFrom)
focal_class.identifier: manageChildren
focal_class.modifiers: @ReactMethod public
focal_class.parameters: (
        int viewTag,
        @Nullable ReadableArray moveFrom,
        @Nullable ReadableArray moveTo,
        @Nullable ReadableArray addChildTags,
        @Nullable ReadableArray addAtIndices,
        @Nullable ReadableArray removeFrom)
focal_class.return: void
focal_class.signature: void manageChildren(
        int viewTag,
        @Nullable ReadableArray moveFrom,
        @Nullable ReadableArray moveTo,
        @Nullable ReadableArray addChildTags,
        @Nullable ReadableArray addAtIndices,
        @Nullable ReadableArray removeFrom)
focal_class.class_method_signature: UIManagerModule.replaceExistingNonRootView(int oldTag, int newTag)
focal_class.full_signature: @ReactMethod public void replaceExistingNonRootView(int oldTag, int newTag)
focal_class.identifier: replaceExistingNonRootView
focal_class.modifiers: @ReactMethod public
focal_class.parameters: (int oldTag, int newTag)
focal_class.return: void
focal_class.signature: void replaceExistingNonRootView(int oldTag, int newTag)
focal_class.class_method_signature: UIManagerModule.removeSubviewsFromContainerWithID(int containerTag)
focal_class.full_signature: @ReactMethod public void removeSubviewsFromContainerWithID(int containerTag)
focal_class.identifier: removeSubviewsFromContainerWithID
focal_class.modifiers: @ReactMethod public
focal_class.parameters: (int containerTag)
focal_class.return: void
focal_class.signature: void removeSubviewsFromContainerWithID(int containerTag)
focal_class.class_method_signature: UIManagerModule.measure(int reactTag, Callback callback)
focal_class.full_signature: @ReactMethod public void measure(int reactTag, Callback callback)
focal_class.identifier: measure
focal_class.modifiers: @ReactMethod public
focal_class.parameters: (int reactTag, Callback callback)
focal_class.return: void
focal_class.signature: void measure(int reactTag, Callback callback)
focal_class.class_method_signature: UIManagerModule.measureInWindow(int reactTag, Callback callback)
focal_class.full_signature: @ReactMethod public void measureInWindow(int reactTag, Callback callback)
focal_class.identifier: measureInWindow
focal_class.modifiers: @ReactMethod public
focal_class.parameters: (int reactTag, Callback callback)
focal_class.return: void
focal_class.signature: void measureInWindow(int reactTag, Callback callback)
focal_class.class_method_signature: UIManagerModule.measureLayout(
        int tag,
        int ancestorTag,
        Callback errorCallback,
        Callback successCallback)
focal_class.full_signature: @ReactMethod public void measureLayout(
        int tag,
        int ancestorTag,
        Callback errorCallback,
        Callback successCallback)
focal_class.identifier: measureLayout
focal_class.modifiers: @ReactMethod public
focal_class.parameters: (
        int tag,
        int ancestorTag,
        Callback errorCallback,
        Callback successCallback)
focal_class.return: void
focal_class.signature: void measureLayout(
        int tag,
        int ancestorTag,
        Callback errorCallback,
        Callback successCallback)
focal_class.class_method_signature: UIManagerModule.measureLayoutRelativeToParent(
        int tag,
        Callback errorCallback,
        Callback successCallback)
focal_class.full_signature: @ReactMethod public void measureLayoutRelativeToParent(
        int tag,
        Callback errorCallback,
        Callback successCallback)
focal_class.identifier: measureLayoutRelativeToParent
focal_class.modifiers: @ReactMethod public
focal_class.parameters: (
        int tag,
        Callback errorCallback,
        Callback successCallback)
focal_class.return: void
focal_class.signature: void measureLayoutRelativeToParent(
        int tag,
        Callback errorCallback,
        Callback successCallback)
focal_class.class_method_signature: UIManagerModule.findSubviewIn(
        final int reactTag,
        final ReadableArray point,
        final Callback callback)
focal_class.full_signature: @ReactMethod public void findSubviewIn(
        final int reactTag,
        final ReadableArray point,
        final Callback callback)
focal_class.identifier: findSubviewIn
focal_class.modifiers: @ReactMethod public
focal_class.parameters: (
        final int reactTag,
        final ReadableArray point,
        final Callback callback)
focal_class.return: void
focal_class.signature: void findSubviewIn(
        final int reactTag,
        final ReadableArray point,
        final Callback callback)
focal_class.class_method_signature: UIManagerModule.registerAnimation(Animation animation)
focal_class.full_signature: public void registerAnimation(Animation animation)
focal_class.identifier: registerAnimation
focal_class.modifiers: public
focal_class.parameters: (Animation animation)
focal_class.return: void
focal_class.signature: void registerAnimation(Animation animation)
focal_class.class_method_signature: UIManagerModule.addAnimation(int reactTag, int animationID, Callback onSuccess)
focal_class.full_signature: public void addAnimation(int reactTag, int animationID, Callback onSuccess)
focal_class.identifier: addAnimation
focal_class.modifiers: public
focal_class.parameters: (int reactTag, int animationID, Callback onSuccess)
focal_class.return: void
focal_class.signature: void addAnimation(int reactTag, int animationID, Callback onSuccess)
focal_class.class_method_signature: UIManagerModule.removeAnimation(int reactTag, int animationID)
focal_class.full_signature: public void removeAnimation(int reactTag, int animationID)
focal_class.identifier: removeAnimation
focal_class.modifiers: public
focal_class.parameters: (int reactTag, int animationID)
focal_class.return: void
focal_class.signature: void removeAnimation(int reactTag, int animationID)
focal_class.class_method_signature: UIManagerModule.setJSResponder(int reactTag, boolean blockNativeResponder)
focal_class.full_signature: @ReactMethod public void setJSResponder(int reactTag, boolean blockNativeResponder)
focal_class.identifier: setJSResponder
focal_class.modifiers: @ReactMethod public
focal_class.parameters: (int reactTag, boolean blockNativeResponder)
focal_class.return: void
focal_class.signature: void setJSResponder(int reactTag, boolean blockNativeResponder)
focal_class.class_method_signature: UIManagerModule.clearJSResponder()
focal_class.full_signature: @ReactMethod public void clearJSResponder()
focal_class.identifier: clearJSResponder
focal_class.modifiers: @ReactMethod public
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void clearJSResponder()
focal_class.class_method_signature: UIManagerModule.dispatchViewManagerCommand(int reactTag, int commandId, ReadableArray commandArgs)
focal_class.full_signature: @ReactMethod public void dispatchViewManagerCommand(int reactTag, int commandId, ReadableArray commandArgs)
focal_class.identifier: dispatchViewManagerCommand
focal_class.modifiers: @ReactMethod public
focal_class.parameters: (int reactTag, int commandId, ReadableArray commandArgs)
focal_class.return: void
focal_class.signature: void dispatchViewManagerCommand(int reactTag, int commandId, ReadableArray commandArgs)
focal_class.class_method_signature: UIManagerModule.showPopupMenu(int reactTag, ReadableArray items, Callback error, Callback success)
focal_class.full_signature: @ReactMethod public void showPopupMenu(int reactTag, ReadableArray items, Callback error, Callback success)
focal_class.identifier: showPopupMenu
focal_class.modifiers: @ReactMethod public
focal_class.parameters: (int reactTag, ReadableArray items, Callback error, Callback success)
focal_class.return: void
focal_class.signature: void showPopupMenu(int reactTag, ReadableArray items, Callback error, Callback success)
focal_class.class_method_signature: UIManagerModule.setLayoutAnimationEnabledExperimental(boolean enabled)
focal_class.full_signature: @ReactMethod public void setLayoutAnimationEnabledExperimental(boolean enabled)
focal_class.identifier: setLayoutAnimationEnabledExperimental
focal_class.modifiers: @ReactMethod public
focal_class.parameters: (boolean enabled)
focal_class.return: void
focal_class.signature: void setLayoutAnimationEnabledExperimental(boolean enabled)
focal_class.class_method_signature: UIManagerModule.configureNextLayoutAnimation(
        ReadableMap config,
        Callback success,
        Callback error)
focal_class.full_signature: @ReactMethod public void configureNextLayoutAnimation(
        ReadableMap config,
        Callback success,
        Callback error)
focal_class.identifier: configureNextLayoutAnimation
focal_class.modifiers: @ReactMethod public
focal_class.parameters: (
        ReadableMap config,
        Callback success,
        Callback error)
focal_class.return: void
focal_class.signature: void configureNextLayoutAnimation(
        ReadableMap config,
        Callback success,
        Callback error)
focal_class.class_method_signature: UIManagerModule.onBatchComplete()
focal_class.full_signature: @Override public void onBatchComplete()
focal_class.identifier: onBatchComplete
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void onBatchComplete()
focal_class.class_method_signature: UIManagerModule.setViewHierarchyUpdateDebugListener(
        @Nullable NotThreadSafeViewHierarchyUpdateDebugListener listener)
focal_class.full_signature: public void setViewHierarchyUpdateDebugListener(
        @Nullable NotThreadSafeViewHierarchyUpdateDebugListener listener)
focal_class.identifier: setViewHierarchyUpdateDebugListener
focal_class.modifiers: public
focal_class.parameters: (
        @Nullable NotThreadSafeViewHierarchyUpdateDebugListener listener)
focal_class.return: void
focal_class.signature: void setViewHierarchyUpdateDebugListener(
        @Nullable NotThreadSafeViewHierarchyUpdateDebugListener listener)
focal_class.class_method_signature: UIManagerModule.getEventDispatcher()
focal_class.full_signature: public EventDispatcher getEventDispatcher()
focal_class.identifier: getEventDispatcher
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: EventDispatcher
focal_class.signature: EventDispatcher getEventDispatcher()
focal_class.class_method_signature: UIManagerModule.sendAccessibilityEvent(int tag, int eventType)
focal_class.full_signature: @ReactMethod public void sendAccessibilityEvent(int tag, int eventType)
focal_class.identifier: sendAccessibilityEvent
focal_class.modifiers: @ReactMethod public
focal_class.parameters: (int tag, int eventType)
focal_class.return: void
focal_class.signature: void sendAccessibilityEvent(int tag, int eventType)
focal_class.superclass: extends ReactContextBaseJavaModule
focal_method.body: @ReactMethod
    public void removeSubviewsFromContainerWithID(int containerTag) {
      mUIImplementation.removeSubviewsFromContainerWithID(containerTag);
    }
focal_method.class_method_signature: UIManagerModule.removeSubviewsFromContainerWithID(int containerTag)
focal_method.full_signature: @ReactMethod public void removeSubviewsFromContainerWithID(int containerTag)
focal_method.identifier: removeSubviewsFromContainerWithID
focal_method.invocations: removeSubviewsFromContainerWithID
focal_method.modifiers: @ReactMethod public
focal_method.parameters: (int containerTag)
focal_method.return: void
focal_method.signature: void removeSubviewsFromContainerWithID(int containerTag)