Domanda

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

È stato utile?

Soluzione

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

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top