Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to get class Constructor parameteres using Apache BCEL?

Tags:

java

bcel

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

like image 556
Feras Odeh Avatar asked Aug 18 '26 08:08

Feras Odeh


1 Answers

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

like image 144
Amanda S Avatar answered Aug 20 '26 23:08

Amanda S