Exemple #1
0
  public void removeCaptureTransformers(int previousTransformerCount) {
    int currentTransformerCount = captureTransformers.size();

    for (int i = currentTransformerCount - 1; i >= previousTransformerCount; i--) {
      CaptureTransformer<?> transformer = captureTransformers.get(i);
      transformer.deactivate();
      Startup.instrumentation().removeTransformer(transformer);
      captureTransformers.remove(i);
    }
  }
 static {
   Startup.verifyInitialization();
 }