here's my example code:
how to get the instance of Map methodProperty and List list using the reflection??
public void method1(){
Map methodProperty = new HashMap();
methodProperty.put("name","unknown");
List<Map> list = new ArrayList<>();
list.add( methodProperty );
}
Aucun commentaire:
Enregistrer un commentaire