Reputation: 9306
I 'm able to get methods using BCEL but is it possible to get constructors of a class using the same library?
Upvotes: 3
Views: 419
Reputation: 3294
Yes; the constructors are considered methods by BCEL. They are named <init>
instead of the class's name.
Upvotes: 4