public static Object getAAHintForSwingComponent() {
    UISettings uiSettings = UISettings.getInstanceOrNull();
    if (uiSettings == null) {
      return GREYSCALE.getTextInfo();
    }
    return uiSettings.getIdeAAType().getTextInfo();
  }
public static Object getAAHintForSwingComponent()