Example usage for org.apache.commons.javaflow.bytecode.transformation.bcel BcelClassTransformer BcelClassTransformer

List of usage examples for org.apache.commons.javaflow.bytecode.transformation.bcel BcelClassTransformer BcelClassTransformer

Introduction

In this page you can find the example usage for org.apache.commons.javaflow.bytecode.transformation.bcel BcelClassTransformer BcelClassTransformer.

Prototype

public BcelClassTransformer() 

Source Link

Usage

From source file:com.facebook.infrastructure.continuations.ContinuationAgent.java

public static void premain(String agentArguments, Instrumentation instrumentation) {
    System.out.println("Inside the ContinuationAgent");
    instrumentation//  w  w w .j a  v a2 s  .  com
            .addTransformer(new ContinuationClassTransformer(agentArguments, new BcelClassTransformer()));
}

From source file:org.apache.cassandra.continuations.CAgent.java

public static void premain(String agentArguments, Instrumentation instrumentation) {
    instrumentation// ww w .  j  a  va 2s.c o  m
            .addTransformer(new ContinuationClassTransformer(agentArguments, new BcelClassTransformer()));
}