public void setPaintCallback(@Nullable Consumer<? super Graphics> paintCallback) {
    myPaintCallback = paintCallback;
  }
public void setPaintCallback(@Nullable Consumer<? super Graphics> paintCallback)