public boolean adjustTool(IResourceInfo info, ITool tool, boolean extensionAdjustment) {
    boolean adjusted = false;
    AdjustmentContext context = extensionAdjustment ? null : new AdjustmentContext();
    for (int i = 0; i < fExpressions.length; i++) {
      if (fExpressions[i].adjustTool(info, tool, context, extensionAdjustment)) adjusted = true;
    }

    if (context != null) {
      String unadjusted[] = context.getUnadjusted();
      for (int i = 0; i < unadjusted.length; i++) {
        OptionEnablementExpression.adjustTool(info, tool, unadjusted[i], null, extensionAdjustment);
      }
    }

    return adjusted;
  }
  public boolean adjustConfiguration(IConfiguration cfg, boolean extensionAdjustment) {
    boolean adjusted = false;
    AdjustmentContext context = extensionAdjustment ? null : new AdjustmentContext();
    for (int i = 0; i < fExpressions.length; i++) {
      if (fExpressions[i].adjustConfiguration(cfg, context, extensionAdjustment)) adjusted = true;
    }

    if (context != null) {
      String unadjusted[] = context.getUnadjusted();
      for (int i = 0; i < unadjusted.length; i++) {
        OptionEnablementExpression.adjustConfiguration(
            cfg, unadjusted[i], null, extensionAdjustment);
      }
    }

    return adjusted;
  }
  /*	public boolean performAdjustment(IBuildObject configuration,
  			IHoldsOptions holder, IOption option, boolean extensionAdjustment){
  		boolean adjusted = false;
  		for(int i = 0; i < fExpressions.length; i++){
  			if(fExpressions[i].performAdjustment(configuration, holder, option, extensionAdjustment))
  				adjusted = true;
  		}
  		return adjusted;
  	}
  */
  public boolean adjustOption(
      IResourceInfo rcInfo, IHoldsOptions holder, IOption option, boolean extensionAdjustment) {
    boolean adjusted = false;
    AdjustmentContext context = extensionAdjustment ? null : new AdjustmentContext();
    for (int i = 0; i < fExpressions.length; i++) {
      if (fExpressions[i].adjustOption(rcInfo, holder, option, context, extensionAdjustment))
        adjusted = true;
    }

    if (context != null) {
      String unadjusted[] = context.getUnadjusted();
      for (int i = 0; i < unadjusted.length; i++) {
        OptionEnablementExpression.adjustOption(
            rcInfo, holder, option, unadjusted[i], null, extensionAdjustment);
      }
    }
    return adjusted;
  }