Package soj.transformer

Examples of soj.transformer.TransformationContext


* @author mischael
*/
public class RCLPreMain {

  public static void premain(String agentArgs, Instrumentation inst) {
    TransformationContext context = new TransformationContext();
    String[] patterns = agentArgs.split(",");
    int i = 0;
    for (String p: patterns) {
      p = p.replace(".", "/");
      p = p.replace("*", ".*");
      p = p.replace("?", ".?");

      context.addCheckedClassPattern(Pattern.compile(p));
    }
   
    inst.addTransformer(new Transformer(context));
 
View Full Code Here

TOP

Related Classes of soj.transformer.TransformationContext

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.