docs: protected static int getScopeAsInt(String scope) {
  
          int scopeValue;
          switch (SCOPES_LIST.indexOf(scope)) {
              case 3:
                  // application
                  scopeValue = PageContext.APPLICATION_SCOPE;
                  break;
              case 2:
                  // session
                  scopeValue = PageContext.SESSION_SCOPE;
                  break;
              case 1:
                  // request
                  scopeValue = PageContext.REQUEST_SCOPE;
                  break;
              default:
                  // page
                  scopeValue = PageContext.PAGE_SCOPE;
                  break;
          }
          return scopeValue;
      }