void (final Class selectedClass, final ClientProperty enteredProperty) { List<ClientProperty> list = myPropertyMap.get(selectedClass.getName()); if (list == null) { list = new ArrayList<>(); myPropertyMap.put(selectedClass.getName(), list); } list.add(enteredProperty); }