void (@Nullable String projectPath, @Nullable String buildDirPath, @Nullable Set<? extends JpsSdk<?>> javaSdks) { String normalizedProjectPath = projectPath != null ? normalizePath(projectPath) : null; String normalizedBuildDirPath = buildDirPath != null ? normalizePath(buildDirPath) : null; myRelativizers.add(new SubPathRelativizer(normalizedBuildDirPath, BUILD_DIR_IDENTIFIER)); myRelativizers.add(new SubPathRelativizer(normalizedProjectPath, PROJECT_DIR_FOR_SUB_PATH_IDENTIFIER)); myRelativizers.add(new JavaSdkPathRelativizer(javaSdks)); myRelativizers.add(new MavenPathRelativizer()); myRelativizers.add(new GradlePathRelativizer()); myRelativizers.add(new AnyPathRelativizer(normalizedProjectPath, PROJECT_DIR_FOR_ANY_PATH_IDENTIFIER)); }