code: public void setInjectionClassType(Method method) throws InjectionException
      {
          Class<?>[] parameterTypes = method.getParameterTypes();
  
          // -----------------------------------------------------------------------
          // Per Specification - an injection method must have exactly 1 parameter
          // -----------------------------------------------------------------------
          if (parameterTypes.length != 1) // d660818.1
          {
              Tr.error(tc, "INJECTION_METHOD_MUST_HAVE_ONE_PARAM_CWNEN0069E",
                       method.getDeclaringClass().getName(),
                       method.getName(),
                       method.getParameterTypes().length);
              InjectionConfigurationException icex = new InjectionConfigurationException
                              ("The injection method " + method.getDeclaringClass().getName() +
                               "." + method.getName() + " must have exactly one parameter" +
                               ", not " + method.getParameterTypes().length + " parameters.");
              throw icex;
          }
  
          setInjectionClassType(parameterTypes[0]);
      }
docs: F743-32637