@Override
  public void registerExternalReference(@NotNull JpsElementReference<?> reference) {
    myProject.addExternalReference(reference);
  }
@Override
  public void registerExternalReference(@NotNull JpsElementReference<?> reference)