Is it possible to find out, if the parameter of method is final? I have tried this:
final
int modifiers = method.getParameters()[0].getModifiers() // modifiers == 0
But even if first parameter has final modifier, modifiers is set to zero.
modifiers
Aucun commentaire:
Enregistrer un commentaire