Feras Odeh
Feras Odeh

Reputation: 9306

How to get class Constructor parameteres using Apache BCEL?

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

Answers (1)

Amanda S
Amanda S

Reputation: 3294

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

Upvotes: 4

Related Questions