Rafael Winterhalter

Results 738 comments of Rafael Winterhalter

Delegation is not the right approach for this, it normally uses a few methods - often just one - to intercept many methods. You want to invoke methods directly, and...

There should be something, indeed. I will leave this ticket open as a reminder to add some form of callback mechanism at some point in time.

The latter interception overrides the former. You can only have one `Implementation` per method. With method delegation, you can however stack multiple delegations via: MethodDelegation.to(delegationA).andThen(MethodDelegation.to(delegationB)).andThen(SuperMethodCall.INSTANCE) This way, the super method...

Inner classes are just syntactic sugar. You can intercept them by intercepting by their name that also the reflection API provides.

You probably need to annotate the method with `@RuntimeType`.

I assume that you loaded the class somewhere in `com.diguage.cafe.jiadao.Test6.main`. There's a unit test to check that this works in Byte Buddy.

I commented on your PR also. The test is different to keep it repeatable on the same VM. That's probably why this glitched through. Try the system loader with the...

You are right, module-info should be skipped. I changed this on master and will release the fix with the next version.

Its a "plugin-plugin" and documented in the readme for the subproject.