This content has been marked as final. Show 2 replies
Force early return you can specify the return value. Will this help?
i do not see any other way.
Thanks this will work. But unfortunatly only for java 6+.
My First idea was to inject my mocks (see mockinject.dev.java.net) via JVMTI instead of AspectJ
I think that i can create this features for java 6+ only.
And for java 5 i must use my existing AspectJ funtionality for early returning values.