Here my case: I code a function which will check for any object in each property (for any deep level) if there is a specific annotation and if yes it'll set the property to null. But I'm facing a problem: how to check if a property is a collection, i'll need to check for each element of the collection if there is the annotation and if yes i remove the object from the collection and set
the collection with the new checked collection.
My question: how to modify this collection content using reflection?
Aucun commentaire:
Enregistrer un commentaire