@Override
    public int hashCode() {
        int hash = 3;
        hash = 97 * hash + (this.qualifyingNames != null ? this.qualifyingNames.hashCode() : 0);
        hash = 97 * hash + (this.resultType != null ? this.resultType.toString().hashCode() : 0);
        return hash;
    }
@Test
    public void testHashCodeWithNullResultType() {
        List<String> qualifyingNames = Collections.singletonList( "mapstruct" );
        SelectionParameters params = new SelectionParameters( null, qualifyingNames, null, null );

        assertThat( params.hashCode() )
            .as( "ResultType nulls hashCode" )
            .isEqualTo( ( 3 * 97 + qualifyingNames.hashCode() ) * 97 );
    }