Click here to Skip to main content
15,895,370 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi can anyone help me in this problem

I need to invoke a method using BCEL.Just like we invoke a method using Reflection in Java.If any piece of code is given then it would be really helpful.


thanks in advance
Posted

1 solution

On the manual page of Apache's BCEL project[^] there is memorable quote you should take to heart:

"If you want to learn how certain things are generated using BCEL you can do the following: Write your program with the needed features in Java and compile it as usual. Then use BCELifier[^] to create a class that creates that very input class using BCEL.

(Think about this sentence for a while, or just try it ...)
"


If you had read that documentation you'd have found it too. I suspect though that we can not with any reason expect anybody to read such a small document in it's entirety.

Regards,

-MRB
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900