I am trying to get the name of variable in android using java.
The variable has a annotation, and I want to get the variable's name with the annotation's name. is this possible?
just like this,
@getnameofthisfield
private String name;
use getnameofthisfield
and get name
Aucun commentaire:
Enregistrer un commentaire