code: public void setPainters(Painter<T>... painters)
      {
          List<? extends Painter<T>> l;
  
          if (painters == null)
              l = Collections.emptyList();
          else
              l = Arrays.asList(painters);
  
          setPainters(l);
      }
docs: Sets the array of Painters to use. These painters will be executed in
  order. A null value will be treated as an empty array. To prevent unexpected
  behavior all values in provided array are copied to internally held array.
  Any changes to the original array will not be reflected.
  
  @param painters array of painters, which will be painted in order