code: public void setAccess(String access) {
          if ("public".equals(access)) publicScope = true;
          else if ("protected".equals(access)) protectedScope = true;
          else if ("package".equals(access)) packageScope = true;
          else if ("private".equals(access)) privateScope = true;
      }
docs: Indicates the access mode or scope of interest: one of public, protected, package, or private.
  Package scoped access is ignored for fields of Groovy classes where they correspond to properties.
  
  @param access one of public, protected, package, or private