Package org.jboss.byteman.agent.adapter

Examples of org.jboss.byteman.agent.adapter.JSRInliner


            }
            cr = new ClassReader(targetClassBytes);
            ClassWriter cw = getNonLoadingClassWriter(ClassWriter.COMPUTE_MAXS|ClassWriter.COMPUTE_FRAMES);
            RuleTriggerAdapter adapter = handlerLocation.getRuleAdapter(cw, transformContext);
            // insert a JSR inliner between the reader and the adapter so we don't see JSR/RET sequences
            JSRInliner jsrInliner = new JSRInliner(adapter);
            try {
                cr.accept(jsrInliner, ClassReader.EXPAND_FRAMES);
            } catch (Throwable th) {
                if (isVerbose()) {
                    System.out.println("org.jboss.byteman.agent.Transformer : error injecting trigger for rule " + ruleScript.getName() + " into class " + className + "\n" +  th);
View Full Code Here

TOP

Related Classes of org.jboss.byteman.agent.adapter.JSRInliner

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.