code: private JSONObject getAttributesForObjectNameWithPatternRequest(ObjectName pObjectName) {
          ObjectName pMBeanFromRequest = getRequest().getObjectName();
          ObjectName objectName = pObjectName == null ? pMBeanFromRequest : pObjectName;
          JSONObject values = getValue();
          JSONObject attributes = (JSONObject) values.get(objectName.getCanonicalName());
          if (attributes == null) {
              throw new IllegalArgumentException("No ObjectName " + objectName + " found in the set of returned " +
                      " ObjectNames for requested pattern " + pMBeanFromRequest);
          }
          return attributes;
      }
docs: ============================================================================================================