class CausedFocusEventWrapper {

  public static boolean isFocusEventWithCause(AWTEvent e) {
    if (SystemInfoRt.IS_AT_LEAST_JAVA9) {
      // On Java9+ all the FocusEvents have cause.
      return e instanceof FocusEvent;
    }
    else {
      return e instanceof FocusEvent;
    }
  }

  public  CausedFocusEventWrapper(FocusEvent e);
  @VisibleForTesting  CausedFocusEventWrapper(Enum<?> cause);

}