Question

I 'm able to get methods using BCEL but is it possible to get constructors of a class using the same library?

Était-ce utile?

La solution

Yes; the constructors are considered methods by BCEL. They are named <init> instead of the class's name.

Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top