Fix a potential bug for override args of static method. Feedback from @YunaiV @ascrutae
This commit is contained in:
parent
ea37839950
commit
03d4d31a84
|
|
@ -210,7 +210,7 @@ public abstract class ClassEnhancePluginDefine extends AbstractClassEnhancePlugi
|
|||
.withBinders(
|
||||
Morph.Binder.install(OverrideCallable.class)
|
||||
)
|
||||
.to(new StaticMethodsInter(interceptor))
|
||||
.to(new StaticMethodsInterWithOverrideArgs(interceptor))
|
||||
);
|
||||
} else {
|
||||
newClassBuilder = newClassBuilder.method(isStatic().and(staticMethodsInterceptPoint.getMethodsMatcher()))
|
||||
|
|
|
|||
Loading…
Reference in New Issue