code: public boolean shouldDocument(VarSymbol sym) {
          long mod = sym.flags();
  
          if ((mod & Flags.SYNTHETIC) != 0) {
              return false;
          }
  
          return showAccess.checkModifier(translateModifiers(mod));
      }
docs: Check whether this member should be documented.