Well, main methods are static, so there is no object available before
the main method executes.

call(*.new) should work in most cases, however.

On Tue, Aug 4, 2009 at 9:25 AM, Nikolas
Nehmer<[email protected]> wrote:
> Hi,
>
> I have a follow up question. Is there any chance to capture the result of a
> "new" call to the class containing the main method? staticinitialization
> does a good job in capturing this specific constructor-call itself, but is
> incapabe of capturing the result (aka reference to the object just
> instantiated). Any ideas?
>
> Best Nikolas
>
_______________________________________________
aspectj-users mailing list
[email protected]
https://dev.eclipse.org/mailman/listinfo/aspectj-users

Reply via email to