Loosen visibility of ASTFileLookupValue.
MOS_MIGRATED_REVID=147559691
@@ -21,11 +21,11 @@ import com.google.devtools.build.skyframe.SkyKey;
import com.google.devtools.build.skyframe.SkyValue;
/**
- * A value that represents an AST file lookup result. There are two subclasses: one for the
- * case where the file is found, and another for the case where the file is missing (but there
- * are no other errors).
+ * A value that represents an AST file lookup result. There are two subclasses: one for the case
+ * where the file is found, and another for the case where the file is missing (but there are no
+ * other errors).
*/
-abstract class ASTFileLookupValue implements SkyValue {
+public abstract class ASTFileLookupValue implements SkyValue {
public abstract boolean lookupSuccessful();
public abstract BuildFileAST getAST();
public abstract String getErrorMsg();
@@ -94,7 +94,7 @@ abstract class ASTFileLookupValue implements SkyValue {
return new ASTLookupWithFile(ast);
}
- static SkyKey key(Label astFileLabel) {
+ public static SkyKey key(Label astFileLabel) {
return SkyKey.create(SkyFunctions.AST_FILE_LOOKUP, astFileLabel);
}
}
