mercredi 23 juin 2021

Custom annotation processor VS processing annotation via reflection api

I want to write simple custom validation annotation and can't find proper info on difference between two ways, that i know, of processing them, which are:

  • Reflection API
  • Custom processor extending javax.annotation.processing.AbstractProcessor

Can please someone tell me the difference between these options and which is better for which scenario, any help would be appreciated





Aucun commentaire:

Enregistrer un commentaire