code: public static synchronized void setInstrumentation(Instrumentation inst) {
          if (tc.isEntryEnabled())
              Tr.entry(tc, "setInstrumentation", inst);
  
          instrumentation = inst;
  
          if (instrumentation == null) {
              // TODO: Investigate using attach API to acquire instrumentation - in which case
              // change logic to warn when instrumentation isn't available
              // reference when one wasn't made available by the bootstrap agent
              //  Tr.warning(tc, "INSTRUMENTATION_SERVICE_UNAVAILABLE");
          } else {
              if (Boolean.getBoolean("com.ibm.websphere.ras.inject.at.transform")) {
                  setInjectAtTransform(true);
              } else if (!instrumentation.isRetransformClassesSupported()) {
                  Tr.info(tc, "INSTRUMENTATION_RETRANSFORM_NOT_SUPPORTED");
                  setInjectAtTransform(true);
              }
          }
  
          if (tc.isEntryEnabled())
              Tr.exit(tc, "setInstrumentation");
      }
docs: Set the {@link java.lang.instrument.Instrumenation} instance to use for
  for trace injection.
  
  @param inst the {@code Instrumentation} reference obtained by RAS