protected boolean joinsWith(final BS bs,final IKeyBuilder keyBuilder,final HTree rightSolutions,final HTree rightSolutionsWithoutSubqueryResult){
  return joinsWith(bs,keyBuilder,rightSolutions) || joinsWith(bs,keyBuilder,rightSolutionsWithoutSubqueryResult);
}

protected boolean joinsWith ( final BS bs , final IKeyBuilder keyBuilder , final HTree rightSolutions , final HTree rightSolutionsWithoutSubqueryResult ) { return joinsWith ( bs , keyBuilder , rightSolutions ) || joinsWith ( bs , keyBuilder , rightSolutionsWithoutSubqueryResult ) ; }
checks whether bs joins with rightsolutions or rightsolutionswithoutsubqueryresult . returns false if and only if joins neither with the one nor with the other .
