This content has been marked as final.
Show 3 replies
-
1. Re: How to get the value in switch case ?
chiba Aug 25, 2005 6:07 AM (in response to ericmacau)Javassist does not provide direct support for that.
You must use the javassist.bytecode package and
parse a swtich instruction by hand. -
2. Re: How to get the value in switch case ?
ericmacau Aug 26, 2005 2:58 AM (in response to ericmacau)Would you please to give me a simple example to do that ?
Eric -
3. Re: How to get the value in switch case ?
chiba Aug 26, 2005 10:48 AM (in response to ericmacau)Unfortunately, it is not simple at all.
Section 5.3 of Tutorial would help you but you must be an expert of Java bytecode.