ColorRGB8 { @Nonnull public Integer toIntegerRGB() { final Integer colorRGB = (r << 16) + (g << 8) + b; return colorRGB; } ColorRGB8(
            final int r,
            final int g,
            final int b);  ColorRGB8(@Nonnull final Integer intRGB); @SuppressWarnings("UnusedDeclaration") @Deprecated private  ColorRGB8(); int getR(); int getG(); int getB(); @Nonnull ColorRGB8 withR(final int r); @Nonnull ColorRGB8 withG(final int g); @Nonnull ColorRGB8 withB(final int b); @Nonnull Integer toIntegerRGB(); boolean canEqual(@Nonnull final Object obj); @Override boolean equals(@Nullable final Object obj); @Override int hashCode(); @Override String toString();  }
@Test public void testInteger() { LOG.info("testInteger"); final int i1 = 0x00010203; final ColorRGB8 c1 = new ColorRGB8(i1); final ColorRGB8 c2 = new ColorRGB8(1, 2, 3); Assert.assertEquals(c1, c2); Assert.assertEquals((Integer) i1, c2.toIntegerRGB()); }