public boolean isAllParametersHaveNoModifier ( ) { for ( List < List < IQueryParameterType > > nextParamName : values ( ) ) { for ( List < IQueryParameterType > nextAnd : nextParamName ) { for ( IQueryParameterType nextOr : nextAnd ) { if ( isNotBlank ( nextOr . getQueryParameterQualifier ( ) ) ) { return false ; } } } } return true ; }
This will only return true if all parameters have no modifier of any kind