diff options
Diffstat (limited to 'src/main/javassist/convert/TransformAfter.java')
-rw-r--r-- | src/main/javassist/convert/TransformAfter.java | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/main/javassist/convert/TransformAfter.java b/src/main/javassist/convert/TransformAfter.java index 141fe7bd..30086099 100644 --- a/src/main/javassist/convert/TransformAfter.java +++ b/src/main/javassist/convert/TransformAfter.java @@ -18,7 +18,8 @@ package javassist.convert; import javassist.CtMethod; import javassist.NotFoundException; -import javassist.bytecode.*; +import javassist.bytecode.BadBytecode; +import javassist.bytecode.CodeIterator; public class TransformAfter extends TransformBefore { public TransformAfter(Transformer next, @@ -28,6 +29,7 @@ public class TransformAfter extends TransformBefore { super(next, origMethod, afterMethod); } + @Override protected int match2(int pos, CodeIterator iterator) throws BadBytecode { iterator.move(pos); iterator.insert(saveCode); |