You are viewing a plain text version of this content. The canonical link for it is here.
Posted to bcel-dev@jakarta.apache.org by Stephen Kolaroff <xc...@netscape.net> on 2003/05/17 10:00:16 UTC
How to make a method Synthetic
Hello
1. Can somebody explain me how to mark a method as synthetic: how (with
wich constructor/parameters) to create the Synthetic attribute.
Thanks
---------------------------------------------------------------------
To unsubscribe, e-mail: bcel-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: bcel-dev-help@jakarta.apache.org
Re: How to make a method Synthetic
Posted by Juozas Baliuka <ba...@centras.lt>.
see javadoc for org.apache.bcel.classfile.Synthetic.
----- Original Message -----
From: "Niklas Mehner" <wo...@uni.de>
To: <xc...@netscape.net>; <bc...@jakarta.apache.org>
Sent: Monday, May 19, 2003 7:47 PM
Subject: Re: How to make a method Synthetic
> Stephen Kolaroff wrote:
>
> > 1. Can somebody explain me how to mark a method as synthetic: how (with
> > wich constructor/parameters) to create the Synthetic attribute.
>
> Probably
> MethodGen.setFlag(Constants.ACC_SYNCHRONIZED, true);
> should work....
>
> Niklas
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: bcel-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: bcel-dev-help@jakarta.apache.org
>
---------------------------------------------------------------------
To unsubscribe, e-mail: bcel-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: bcel-dev-help@jakarta.apache.org
Re: How to make a method Synthetic
Posted by Niklas Mehner <wo...@uni.de>.
Stephen Kolaroff wrote:
> 1. Can somebody explain me how to mark a method as synthetic: how (with
> wich constructor/parameters) to create the Synthetic attribute.
Probably
MethodGen.setFlag(Constants.ACC_SYNCHRONIZED, true);
should work....
Niklas
---------------------------------------------------------------------
To unsubscribe, e-mail: bcel-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: bcel-dev-help@jakarta.apache.org