public RefactoringStatus checkVarargOrder(){
  for (Iterator<ParameterInfo> iter=fParameterInfos.iterator(); iter.hasNext(); ) {
    ParameterInfo info=iter.next();
    if (info.isOldVarargs() && iter.hasNext()) {
      return RefactoringStatus.createFatalErrorStatus(Messages.format(RefactoringCoreMessages.ExtractMethodRefactoring_error_vararg_ordering,BasicElementLabels.getJavaElementName(info.getOldName())));
    }
  }
  return new RefactoringStatus();
}

public RefactoringStatus checkVarargOrder ( ) { for ( Iterator < ParameterInfo > iter = fParameterInfos . iterator ( ) ; iter . hasNext ( ) ; ) { ParameterInfo info = iter . next ( ) ; if ( info . isOldVarargs ( ) && iter . hasNext ( ) ) { return RefactoringStatus . createFatalErrorStatus ( Messages . format ( RefactoringCoreMessages . ExtractMethodRefactoring_error_vararg_ordering , BasicElementLabels . getJavaElementName ( info . getOldName ( ) ) ) ) ; } } return new RefactoringStatus ( ) ; }
checks if varargs are ordered correctly .
