@ 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 ( ) ; }
Mutate the message if it is not null .