@Nullable
  @Override
  public JpsJavaProjectExtension getProjectExtension(@NotNull JpsProject project) {
    return project.getContainer().getChild(JavaProjectExtensionRole.INSTANCE);
  }
@Nullable
  @Override
  public JpsJavaProjectExtension getProjectExtension(@NotNull JpsProject project)