protected boolean isFiltered ( AbstractElement canddiate , Param param ) { if ( canddiate instanceof Group ) { Group group = ( Group ) canddiate ; if ( group . getGuardCondition ( ) != null ) { Set < Parameter > context = param . getAssignedParametes ( ) ; ConditionEvaluator evaluator = new ConditionEvaluator ( context ) ; if ( ! evaluator . evaluate ( group . getGuardCondition ( ) ) ) { return true ; } } } return false ; }
Returns true if the given candidate is a group that is filtered due to rule parameters in the current call graph .