Commit 09525bc3 authored by Alex Villazón's avatar Alex Villazón

Fix skip instrumenting native methods

parent 8c1a3a4b
......@@ -131,6 +131,11 @@ public class DiSL implements Instrumentation {
return;
}
// skip native methods
if ((methodNode.access & Opcodes.ACC_NATIVE) != 0) {
return;
}
// *** match snippet scope ***
List<Snippet> matchedSnippets = new LinkedList<Snippet>();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment