I can get all constructors(private, protected and public) using Java Reflection:
public Constructor<?>[] getDeclaredConstructors();
How can I get only protected and public constructors of a java class ?
Aucun commentaire:
Enregistrer un commentaire