Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [aspectj-dev] Use AspectJ to trace 'FileInputStream fstream = new FileInputStream("test.tmp")'

Hongfei Zhu schrieb:
Hi,

How can I trace this sentence ' FileInputStream fstream = new FileInputStream("test.tmp") ' in the program, I have tried call(* *(..)) and execution(* *(..)), but they can not catch that join point. Please help me and thank you very much!
You have to use the designator for ctors.
call(new.*(..))
execution(new.*(..))


zuhoo

------------------------------------------------------------------------
Invite your mail contacts to join your friends list with Windows Live Spaces. It's easy! Try it! <http://spaces.live.com/spacesapi.aspx?wx_action=create&wx_url=/friends.aspx&mkt=en-us>
------------------------------------------------------------------------

_______________________________________________
aspectj-dev mailing list
aspectj-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/aspectj-dev



Back to the top