You are viewing a plain text version of this content. The canonical link for it is here.
Posted to bcel-user@jakarta.apache.org by Camila Rocha <ca...@hotmail.com> on 2004/02/09 01:16:02 UTC

Reading a private attribute's value

Hello,

I'm building a ClassLoader using Javassist to insert assertions into a class. The problem is that, when I'm writing pos conditions, I have to read the value of a private attribute, and Javassist doesn't have this function. 
Can I do this using BCEL? Do I have to use the class AttributeReader? I didn't understand how it works. 

Thank you!

Camila Rocha
------------------------------------------------------------------------
Master Student in Computer Science
Institute of Computing - UNICAMP - Brazil
www.ic.unicamp.br/~ra022247