pe.getEstimatedResult().getAspectTypes (), pe.getEstimatedResult().getResult ());
pe.getEstimatedResult().getAspectValueResults());
  public void showExpansion(Expansion exp) {    logger.info("--------------- exp " + exp.getUID () + " ----------------");    Workflow wf = exp.getWorkflow ();    int i = 0;    for (Enumeration enum = wf.getTasks (); enum.hasMoreElements (); ) {      showPlanElement((Task) enum.nextElement (), i++);    }  }  public void showPlanElement (Task subTask) {    showPlanElement (subTask, -1);  }  protected void showPlanElement (Task subTask, int taskNum) {    PlanElement pe = subTask.getPlanElement ();    String extra = "";    if (prepHelper.hasPrepNamed (subTask, "TASKEDTO"))       extra = " TASKEDTO " + prepHelper.getIndirectObject (subTask, "TASKEDTO");     // 	logger.debug ("\t" + ((taskNum != -1) ? "#" + taskNum : "") +     // 			    " FROM " + prepHelper.getFromLocation (subTask) +     // 			    " TO "    + prepHelper.getToLocation   (subTask) + extra);    if (pe == null) {      logger.warn ("\t no PE yet.");      showPreferences (subTask);    }    else {      if (pe.getEstimatedResult () == null)	logger.warn ("\t" + " NULL EST AR");      else	showPreferences (subTask, 			 pe.getEstimatedResult().getAspectTypes (),			 pe.getEstimatedResult().getResult ());    }  }  public void showPreferences (Task t,			       int [] aspectTypes,			       double [] aspectValues) {    boolean prefExceeded = false;    Enumeration prefs;    synchronized (t) { prefs = t.getPreferences ();} // bug #2125    Map map = new HashMap ();    int aspectType = -1;    for (; prefs.hasMoreElements (); ) {      Preference pref = (Preference) prefs.nextElement ();      map.put (new Integer (pref.getAspectType ()), pref);    }