boolean (@NotNull V extVal) { try { T value = fromExternal(extVal); if (value != null) { myField.set(myObject, value); return true; } } catch (IllegalAccessException e) { // Ignore and skip } return false; }