vendredi 16 octobre 2015

How to prevent renaming of identifiers that are used in reflection

Is it possible to prevent accidental renaming of a class, method, field, etc. that needs to be accessed per reflection? Maybe a special annotation or metacomment that would instruct Eclipse (or a different editor) to raise a warning when a developer inadvertently attempts to change the name?





Aucun commentaire:

Enregistrer un commentaire