code: private OperationAndParamType extractOperationTypes(MBeanServerConnection pServer, JmxExecRequest pRequest)
              throws ReflectionException, InstanceNotFoundException, IOException {
          if (pRequest.getOperation() == null) {
              throw new IllegalArgumentException("No operation given for exec Request on MBean " + pRequest.getObjectName());
          }
          List<String> opArgs = splitOperation(pRequest.getOperation());
          String operation = opArgs.get(0);
          List<String> types;
          if (opArgs.size() > 1) {
              if (opArgs.size() == 2 && opArgs.get(1) == null) {
                  // Empty signature requested
                  types = Collections.emptyList();
              } else {
                  types = opArgs.subList(1,opArgs.size());
              }
          } else {
              List<MBeanParameterInfo[]> paramInfos = extractMBeanParameterInfos(pServer, pRequest, operation);
              if (paramInfos.size() == 1) {
                  return new OperationAndParamType(operation,paramInfos.get(0));
              } else {
                  // type requested from the operation
                  throw new IllegalArgumentException(
                          getErrorMessageForMissingSignature(pRequest, operation, paramInfos));
              }
          }
  
          List<MBeanParameterInfo[]> paramInfos = extractMBeanParameterInfos(pServer, pRequest, operation);
          MBeanParameterInfo[] matchingSignature = getMatchingSignature(types, paramInfos);
          if (matchingSignature == null) {
              throw new IllegalArgumentException(
                      "No operation " + pRequest.getOperation() + " on MBean " + pRequest.getObjectNameAsString() + " exists. " +
                              "Known signatures: " + signatureToString(paramInfos));
          }
          return new OperationAndParamType(operation, matchingSignature);
      }
docs: Extract the operation and type list from a given request
  
  @param pServer server from which obtain the MBean type info
  @param pRequest the exec request
  @return combined object containing the operation name and parameter classes