code: private void setMethodsAttribute(List<String> mList, boolean omission, int attribute, String value) {
          Map<String, MethodConstraint> mapWork = null;
          if (mList == null || mList.isEmpty()) {
              mList = new ArrayList<String>();
              mList.add(ALL_METHODS);
              if (mapAllMethods == null) {
                  mapAllMethods = new HashMap<String, MethodConstraint>();
              }
              mapWork = mapAllMethods;
              if (tc.isDebugEnabled())
                  Tr.debug(tc, "all methods");
          } else if (!omission) {
              // http method
              if (mapMethod == null) {
                  mapMethod = new HashMap<String, MethodConstraint>();
              }
              mapWork = mapMethod;
              if (tc.isDebugEnabled())
                  Tr.debug(tc, "http methods");
          } else {
              // http method omission
              if (mapMethodOmission == null) {
                  mapMethodOmission = new HashMap<String, MethodConstraint>();
              }
              mapWork = mapMethodOmission;
              if (tc.isDebugEnabled())
                  Tr.debug(tc, "http methods omission");
          }
  
          for (String httpMethod : mList) {
              httpMethod = httpMethod.toUpperCase();
              MethodConstraint mc = null;
              if (mapWork.containsKey(httpMethod)) {
                  mc = (mapWork.get(httpMethod));
                  if (tc.isDebugEnabled())
                      Tr.debug(tc, "method exists : " + httpMethod);
              } else {
                  mc = new MethodConstraint();
                  mapWork.put(httpMethod, mc);
                  if (tc.isDebugEnabled())
                      Tr.debug(tc, "method created : " + httpMethod);
              }
              switch (attribute) {
                  case UNCHECKED:
                      mc.setUnchecked();
                      break;
                  case EXCLUDED:
                      mc.setExcluded();
                      break;
                  case ROLE:
                      mc.setRole(value);
                      break;
                  case USERDATA:
                      mc.setUserData(value);
                      break;
                  default:
                      break;
  
              }
          }
      }
docs: --------- private methods ---------