@Override
    public List<ValidationEvent> getEvents() {
        return events == null ? Collections.emptyList() : events;
    }
Sets member targets based on referenced resource identifiers.

<p>Structures can elide the targets of members if they're bound to a resource
and that resource has an identifier with a matching name. Here we set the
target based on that information.
smithy-model/src/main/java/software/amazon/smithy/model/loader/ApplyResourceBasedTargets.java