mardi 14 avril 2015

change java class in runtime

I've got a class with number of fields.



class MyClass {
private String field1;
private String field2;
}


Is it possible to change the name of the field using reflection? (for example to transform field1 into field0 and etc.)






Aucun commentaire:

Enregistrer un commentaire