@Override
    public void dispose() {
      try {
        dispose.invoke(instance);
      }
      catch (Exception exception) {
        LOG.error("Exception on XWindowAttributes instance dispose", exception);
      }
    }
@Override
    public void dispose()