Commit 39bdce72 authored by swift_gan's avatar swift_gan Committed by swift_gan

fix error logic

parent 70a3a01a
......@@ -158,7 +158,7 @@ public class HookWrapper {
return pars;
} else if (getParsCount(method) > 0) {
if (getParsCount(method) == 1) {
if (hasThisObject(method) || Modifier.isStatic(method.getModifiers())) {
if (hasThisObject(method)) {
return parseMethodParsNew(classLoader, method);
} else {
return null;
......
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