Provide toString() implementation for PrepareDepsOfPatternsValue#TargetPatternSequence
RELNOTES: None
// limitations under the License.
package com.google.devtools.build.lib.skyframe;
+import com.google.common.base.MoreObjects;
import com.google.common.collect.ImmutableList;
import com.google.devtools.build.lib.concurrent.ThreadSafety.Immutable;
import com.google.devtools.build.lib.concurrent.ThreadSafety.ThreadSafe;
@@ -94,6 +95,14 @@ public final class PrepareDepsOfPatternsValue implements SkyValue {
public int hashCode() {
return Objects.hash(patterns, offset);
}
+
+ @Override
+ public String toString() {
+ return MoreObjects.toStringHelper(this)
+ .add("patterns", patterns)
+ .add("offset", offset)
+ .toString();
+ }
}
@Override
