code: private EJBMethodInfoImpl mapMethodInfo(EJSDeployedSupport s,
                                              EJSWrapperBase wrapper, int methodId,
                                              String methodSignature) {
          final boolean isTraceOn = TraceComponent.isAnyTracingEnabled(); // d532639.2
  
          if (isTraceOn && tc.isEntryEnabled())
              Tr.entry(tc, "mapMethodInfo(" + methodId + "," + methodSignature + ")");
  
          EJBMethodInfoImpl rtnInfo = null; // d122418-1 //d140003.20
  
          s.methodId = methodId; //130230 d140003.19
          s.ivWrapper = wrapper; // d366807.1
  
          if (methodId < 0) {
              if (methodId == MID_BUSINESS_REMOVE) {
                  // Internal remove method for business interfaces.        F743-29185
                  rtnInfo = s.ivThreadData.getEJBMethodInfoStack().get(
                                                                       "$remove:", null, wrapper,
                                                                       wrapper.ivInterface == WrapperInterface.BUSINESS_LOCAL ? MethodInterface.LOCAL : MethodInterface.REMOTE,
                                                                       wrapper.bmd.usesBeanManagedTx ? TransactionAttribute.TX_BEAN_MANAGED : TransactionAttribute.TX_NOT_SUPPORTED);
                  rtnInfo.setClassLoader = true; // d661827
              } else {
                  rtnInfo = ivEntityHelper.getPMMethodInfo(s, wrapper, methodId, methodSignature);
              }
          } else // d122418-1
          { // d122418-1
            // d206696 - Account for case where
            // methodInfos array is null (which occurs if WS invocation
            // API is used on an SLSB with no service endpoint interface defined)
              if (wrapper.methodInfos == null)
                  throw new IllegalStateException("An attempt was made to invoke a method on a bean interface that is not defined.");
              rtnInfo = wrapper.methodInfos[methodId]; // d122418-1
          }
  
          if (isTraceOn && tc.isEntryEnabled())
              Tr.exit(tc, "mapMethodInfo");
  
          return rtnInfo; // d122418-1
      }
docs: d140003.20 return signature change