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.file: node_modules/react-native/ReactAndroid/src/test/java/com/facebook/react/views/view/ColorUtilTest.java
test_class.identifier: ColorUtilTest
test_case.body: @Test
    public void testMultiplyColorAlpha() {
      assertEquals(0x00123456, ColorUtil.multiplyColorAlpha(0xC0123456, 0));
      assertEquals(0x07123456, ColorUtil.multiplyColorAlpha(0xC0123456, 10));
      assertEquals(0x96123456, ColorUtil.multiplyColorAlpha(0xC0123456, 200));
      assertEquals(0xC0123456, ColorUtil.multiplyColorAlpha(0xC0123456, 255));
    }
test_case.class_method_signature: ColorUtilTest.testMultiplyColorAlpha()
test_case.full_signature: @Test public void testMultiplyColorAlpha()
test_case.identifier: testMultiplyColorAlpha
test_case.invocations: assertEquals multiplyColorAlpha assertEquals multiplyColorAlpha assertEquals multiplyColorAlpha assertEquals multiplyColorAlpha
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testMultiplyColorAlpha()
focal_class.file: node_modules/react-native/ReactAndroid/src/main/java/com/facebook/react/views/view/ColorUtil.java
focal_class.identifier: ColorUtil
focal_class.class_method_signature: ColorUtil.multiplyColorAlpha(int color, int alpha)
focal_class.full_signature: public static int multiplyColorAlpha(int color, int alpha)
focal_class.identifier: multiplyColorAlpha
focal_class.modifiers: public static
focal_class.parameters: (int color, int alpha)
focal_class.return: int
focal_class.signature: int multiplyColorAlpha(int color, int alpha)
focal_class.class_method_signature: ColorUtil.getOpacityFromColor(int color)
focal_class.full_signature: public static int getOpacityFromColor(int color)
focal_class.identifier: getOpacityFromColor
focal_class.modifiers: public static
focal_class.parameters: (int color)
focal_class.return: int
focal_class.signature: int getOpacityFromColor(int color)
focal_method.body: public static int multiplyColorAlpha(int color, int alpha) {
      if (alpha == 255) {
        return color;
      }
      if (alpha == 0) {
        return color & 0x00FFFFFF;
      }
      alpha = alpha + (alpha >> 7); // make it 0..256
      int colorAlpha = color >>> 24;
      int multipliedAlpha = colorAlpha * alpha >> 8;
      return (multipliedAlpha << 24) | (color & 0x00FFFFFF);
    }
focal_method.class_method_signature: ColorUtil.multiplyColorAlpha(int color, int alpha)
focal_method.full_signature: public static int multiplyColorAlpha(int color, int alpha)
focal_method.identifier: multiplyColorAlpha
focal_method.modifiers: public static
focal_method.parameters: (int color, int alpha)
focal_method.return: int
focal_method.signature: int multiplyColorAlpha(int color, int alpha)