see this project http://attrib4j.sourceforge.net/ it uses BCEL to add attributes to class file.
----- Original Message ----- From: "pete.cant" <[EMAIL PROTECTED]> To: "BCEL Users List" <[EMAIL PROTECTED]> Sent: Thursday, March 06, 2003 1:11 PM Subject: Re: Comments in class files? > Does anyone have any smaple code to show the addition of string based > comments > as attributes to existing class files and read them back again. > > I think this would be a neat way of digitally tagging compiled classes with > various information. > > I recently created a similar BCEL application that adds watermarks as fields > to existing classes > and reads them back again for a project I am working on. > > Thanks in adavance, > > > Pete Cant > Unity Software Engineer > Digital Bridges > Dunfermline > Scotland. > > > ----- Original Message ----- > From: "Juozas Baliuka" <[EMAIL PROTECTED]> > To: "BCEL Users List" <[EMAIL PROTECTED]> > Sent: Thursday, March 06, 2003 1:11 PM > Subject: Re: Comments in class files? > > > > > > Yes, it is possible to store them as attributes in class file, but javac > > stores "@depricated" attribute only. > > > > > Hi, > > > > > > Though a very vague idea, it is possible to keep comments in your class > > > files??.. > > > ------------------------------------ > > > Sapan Shah > > > Software Engineer > > > Patni Computer Systems Limited > > > A 78/9 GIDC Electronics Estate, > > > Sector 25, > > > Gandhinagar > > > mob: (+91)98240 59280 > > > http://www.patni.com > > > World-Wide Partnerships. World-Class Solutions > > > > > > This e-mail message may contain proprietary, confidential or legally > > > privileged information for the sole use of the person or entity to whom > > this > > > message was originally addressed. Any review, e-transmission > dissemination > > > or other use of or taking of any action in reliance upon this > information > > by > > > persons or entities other than the intended recipient is prohibited. If > > you > > > have received this e-mail in error kindly delete this e-mail from your > > > records. If it appears that this mail has been forwarded to you without > > > proper authority, please notify us immediately at [EMAIL PROTECTED] and > > > delete this mail. > > > > > > > > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > ________________________________________________________________________ > > E-mail is an informal method of communication and may be subject to data corruption, interception and unauthorised amendment for which Digital Bridges Ltd will accept no liability. Therefore, it will normally be inappropriate to rely on information contained on e-mail without obtaining written confirmation. > > This e-mail may contain confidential and/or privileged information. If you are not the intended recipient (or have received this e-mail in error) please notify the sender immediately and destroy this e-mail. Any unauthorized copying, disclosure or distribution of the material in this e-mail is strictly forbidden. > > ________________________________________________________________________ > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
