Visibility adjustments
--
MOS_MIGRATED_REVID=106444993
diff --git a/src/main/java/com/google/devtools/build/lib/skyframe/FileValue.java b/src/main/java/com/google/devtools/build/lib/skyframe/FileValue.java
index 0c45cf1..804171d 100644
--- a/src/main/java/com/google/devtools/build/lib/skyframe/FileValue.java
+++ b/src/main/java/com/google/devtools/build/lib/skyframe/FileValue.java
@@ -90,7 +90,7 @@
*/
public abstract RootedPath realRootedPath();
- abstract FileStateValue realFileStateValue();
+ public abstract FileStateValue realFileStateValue();
/**
* Returns the unresolved link target if {@link #isSymlink()}.
@@ -147,12 +147,12 @@
* requested path. For example, this is the case for the path "foo/bar/baz" if neither 'foo' nor
* 'foo/bar' nor 'foo/bar/baz' are symlinks.
*/
- private static final class RegularFileValue extends FileValue {
+ public static final class RegularFileValue extends FileValue {
private final RootedPath rootedPath;
private final FileStateValue fileStateValue;
- private RegularFileValue(RootedPath rootedPath, FileStateValue fileState) {
+ public RegularFileValue(RootedPath rootedPath, FileStateValue fileState) {
this.rootedPath = Preconditions.checkNotNull(rootedPath);
this.fileStateValue = Preconditions.checkNotNull(fileState);
}
@@ -163,7 +163,7 @@
}
@Override
- FileStateValue realFileStateValue() {
+ public FileStateValue realFileStateValue() {
return fileStateValue;
}
@@ -195,12 +195,12 @@
* requested path. For example, this is the case for the path "foo/bar/baz" if at least one of
* 'foo', 'foo/bar', or 'foo/bar/baz' is a symlink.
*/
- private static class DifferentRealPathFileValue extends FileValue {
+ public static class DifferentRealPathFileValue extends FileValue {
protected final RootedPath realRootedPath;
protected final FileStateValue realFileStateValue;
- private DifferentRealPathFileValue(RootedPath realRootedPath,
+ public DifferentRealPathFileValue(RootedPath realRootedPath,
FileStateValue realFileStateValue) {
this.realRootedPath = Preconditions.checkNotNull(realRootedPath);
this.realFileStateValue = Preconditions.checkNotNull(realFileStateValue);
@@ -212,7 +212,7 @@
}
@Override
- FileStateValue realFileStateValue() {
+ public FileStateValue realFileStateValue() {
return realFileStateValue;
}
@@ -241,10 +241,10 @@
}
/** Implementation of {@link FileValue} for files that are symlinks. */
- private static final class SymlinkFileValue extends DifferentRealPathFileValue {
+ public static final class SymlinkFileValue extends DifferentRealPathFileValue {
private final PathFragment linkValue;
- private SymlinkFileValue(RootedPath realRootedPath, FileStateValue realFileState,
+ public SymlinkFileValue(RootedPath realRootedPath, FileStateValue realFileState,
PathFragment linkTarget) {
super(realRootedPath, realFileState);
this.linkValue = linkTarget;