private AspectValue[] convertAVO(Object o) {
private static AspectValue[] convertAVO(Object o) {
  private AspectValue[] convertAVO(Object o) {    if (o instanceof AspectValue[]) {      return (AspectValue[]) o;    } else if (o instanceof Collection) {      return (AspectValue[]) ((Collection)o).toArray(new AspectValue[((Collection)o).size()]);    } else {      throw new IllegalArgumentException("Each element of a PhaseResult must be in the form of an AspectValue[] or a Collection of AspectValues, but got: "+o);    }  }