private static SimpleTextAttributes maybeGrayOut(SimpleTextAttributes attr, boolean greyOut) {
    return greyOut ? attr.derive(attr.getStyle(), JBColor.GRAY, attr.getBgColor(), attr.getWaveColor()) : attr;
  }
private static SimpleTextAttributes maybeGrayOut(SimpleTextAttributes attr, boolean greyOut)