Performance and Debug improvements
A huge improvement to stability, performance added. Level of hard magic reduced.
AspectMock dropped Go Aop proxy classes, and now tries to affect your code in very minimal way.
Instead of creating A_AspectProxy for class A (as Go Aop does), AspectMock places its tiny beacons directly into A methods, in very beginning of method definition.
Changes:
- you can freely use debugger, as your classes left practically unchanged.
- stacktrace look much more cleaner and more natural.
- performance dramatically improved. Still, AOP magic takes about 15% of overall execution.
- remved MethodProxy class. You can't verify result of method calls anymore.
test::nsmethod added to api, for prepending a namespace name to class.debugis enabled by default