initializing injected variables

Nikolas Nehmer <[email protected]>
Newsgroups gmane.comp.java.objectweb.asm
Organization FB Informatik, TU Kaiserslautern, GERMANY
Message-ID <33440105.1288254488804.OPEN-XCHANGE.WebMail.tomcat@groupmail.informatik.uni-kl.de>
Hi,

I'm currently trying to initialize injected variables (static and
instance). Of course, I coud do that by extending an object's
constructor. But obviously asm offers a possibility by adding a value to
the FieldNode. I follow your advice adding the new variables in
visitEnd(). On the bytecode level the new variables show up at the very
end of the class file containing the init value information but
obviously the init is not computed. Any hints to solve that problem.
Thanks in advance.

Cheers
Nikolas
message-footer.txt (text/plain, 238 B)
-- 
You receive this message as a subscriber of the [email protected] mailing list.
To unsubscribe: mailto:[email protected]
For general help: mailto:[email protected]?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws
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.