I hope my reply is not too late.
anonymous wrote : The question is: How can I get such static information about
"someObj" using javassist?
The real static information of the target object is quite restricted
probably more than you expect. The only information is the static
type of the target object, which is the class declaring the method.
For example,
String s = "foo";
int s = s.concat("bar").length();
In this example, the target expression of length() is s.concat("bar")
and it does not have a name. The only static information is the type
of the target expression is String.
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3867592#3867592
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3867592
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user