@Override
  public <T extends JpsElement> T getChild(@NotNull JpsElementChildRole<T> role) {
    synchronized (myDataLock) {
      //noinspection unchecked
      return (T)myElements.get(role);
    }
  }
@Override
  public <T extends JpsElement> T getChild(@NotNull JpsElementChildRole<T> role)