@Test public void testMutateIfNotNull() { assertThat((PMessage) mutateIfNotNull(null), is(nullValue())); }
@SuppressWarnings("unchecked") public static <M extends PMessage<M,F>, F extends PField, B extends PMessageBuilder<M,F>> B mutateIfNotNull(M message) { if (message == null) { return null; } return (B) message.mutate(); }
MessageStoreUtils { @SuppressWarnings("unchecked") public static <M extends PMessage<M,F>, F extends PField, B extends PMessageBuilder<M,F>> B mutateIfNotNull(M message) { if (message == null) { return null; } return (B) message.mutate(); } }
MessageStoreUtils { @SuppressWarnings("unchecked") public static <M extends PMessage<M,F>, F extends PField, B extends PMessageBuilder<M,F>> B mutateIfNotNull(M message) { if (message == null) { return null; } return (B) message.mutate(); }  }
MessageStoreUtils { @SuppressWarnings("unchecked") public static <M extends PMessage<M,F>, F extends PField, B extends PMessageBuilder<M,F>> B mutateIfNotNull(M message) { if (message == null) { return null; } return (B) message.mutate(); }  static List<M> buildAll(Collection<B> builders); @SuppressWarnings("unchecked") static List<B> mutateAll(Collection<M> messages); static M buildIfNotNull(B builder); @SuppressWarnings("unchecked") static B mutateIfNotNull(M message); }
MessageStoreUtils { @SuppressWarnings("unchecked") public static <M extends PMessage<M,F>, F extends PField, B extends PMessageBuilder<M,F>> B mutateIfNotNull(M message) { if (message == null) { return null; } return (B) message.mutate(); }  static List<M> buildAll(Collection<B> builders); @SuppressWarnings("unchecked") static List<B> mutateAll(Collection<M> messages); static M buildIfNotNull(B builder); @SuppressWarnings("unchecked") static B mutateIfNotNull(M message);  }