private boolean hasNoDefaultValueAndNoValuePassedOnAlternativeName ( Option o , Map < String , String > data ) throws RequiredParametersException { if ( o . hasAlt ( ) && data . containsKey ( o . getAlt ( ) ) ) { data . put ( o . getName ( ) , data . get ( o . getAlt ( ) ) ) ; } else { if ( o . hasDefaultValue ( ) ) { data . put ( o . getName ( ) , o . getDefaultValue ( ) ) ; if ( o . hasAlt ( ) ) { data . put ( o . getAlt ( ) , o . getDefaultValue ( ) ) ; } } else { return true ; } } return false ; }
else return true to indicate parameter is really missing