As a follow up to #33222, I noticed that MapAccessor#canWrite should only return true for a target that is an instance of java.util.Map.