code: public static synchronized void setInstrumentation(Instrumentation inst) {
          if (tc.isEntryEnabled())
              Tr.entry(tc, "setInstrumentation", inst);
  
          instrumentation = inst;
  
          if (instrumentation == null) {
          } else if (isJava8TraceEnabled) {
          	setInjectAtTransform(true); //We always inject at transform in this workaround transformer. Either all or nothing here.
          }
  
          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