docs: private boolean isSynthetic(Method m) {
          if ((m.getAccessFlags() & Const.ACC_SYNTHETIC) != 0) {
              return true;
          }
          Attribute[] attrs = m.getAttributes();
          for (Attribute attr : attrs) {
              if (attr instanceof Synthetic) {
                  return true;
              }
          }
          return false;
      }