You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Yeah, I have been experimenting a bit with better DSLs but the complexity quickly explodes, so I am always wondering if a custom built StackManipulation is not an easier option in many of the more complex cases. Often, a MethodDelegation can also be a good substitute as it is easier to debug.
I'll review this another time, though, to see if there are some common patterns that are not supported. I cannot promise you a time-line for now, though, so I'd recommend you a custom stack manipulation or delegation for now.
Exactly. It really depends on how dynamic you want those things to be. You can create a custom implementation and resolve names and properties from each instrumented method. Or you can hardcode it in the stack manipulations using Implementation.Simple.
Currently, there is no way to do a chain of field accesses. Like it is possible with method calls e.g.
So for instance, if I want to do something like
or
There is an option to provide a
FieldLocator.Factory
but it only operates within the current class.There is one way it can be done in my mind, it's by using
FieldAccessor
e.g. likeand hence it can be chained as any other MethodCall.
But the problem is that
FieldAccessor
is anImplementation
, notMethodCall
:)The text was updated successfully, but these errors were encountered: