RE: Passing "this" as an argument to a method

"Irving, Dave" <[email protected]>
Newsgroups gmane.comp.jakarta.bcel.user
Message-ID <[email protected]>
As far as I understand it, "this" is passed in to methods at runtime as the
first argument.
You can therefore put "this" on the stack with something like:

InstructionFactory.createLoad(Type.OBJECT, 0)


-----Original Message-----
From: Koduru, Rajendra Kumar Reddy
[mailto:[email protected]]
Sent: Friday, February 04, 2005 1:16 PM
To: BCEL Users List
Subject: Passing "this" as an argument to a method


Hi All,

	could you please let me know how could I pass "this"

	methodA(this) // passing reference of the invoking object

	using bcel

Thank you
Reddy

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

This e-mail and any attachment is for authorised use by the intended recipient(s) only. It may contain proprietary material, confidential information and/or be subject to legal privilege. It should not be copied, disclosed to, retained or used by, any other party. If you are not an intended recipient then please promptly delete this e-mail and any attachment and all copies and inform the sender. Thank you.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.