سؤال

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

هل كانت مفيدة؟

المحلول

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

مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top