private @Nullable Object getNameObject(DomElement element) {
    return myNameValueGetter == null ? null : myNameValueGetter.invoke(element);
  }
private @Nullable Object getNameObject(DomElement element)