Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [aspectj-users] Replace void with return this

Well with modifying the bytecode anything is possible. But whether it fits into the remit of AspectJ I'm not sure.  What is your use case?

Andy


On 4 June 2013 09:10, Matthew Adams <matthew@xxxxxxxxxxxxxxx> wrote:
Can AspectJ replace void return types with 'return this' capability?
Basically, for any class T, change
void doStuff() {}
to
T doStuff() { return this; }

This has been requested over in pure java land and got deferred.

-Matthew

Sent from my iPhone
_______________________________________________
aspectj-users mailing list
aspectj-users@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/aspectj-users


Back to the top