protected ToStringHelper getStringHelper() { return MoreObjects.toStringHelper(this) .add("hash", System.identityHashCode(this)) .add("evaluating", evaluating) .add("dirtyState", dirtyState) .add("signaledDeps", signaledDeps) .add("directDeps", directDeps) .add("reverseDepsToSignal", REVERSE_DEPS_UTIL.toString(this)) .add("lastBuildDirectDeps", lastBuildDirectDeps) .add("dirtyDirectDepIterator", dirtyDirectDepIterator); }
/** * Adds a reverse dependency that should be notified when this entry is done. * * @see NodeEntry#addReverseDepAndCheckIfDone(SkyKey) */ void addReverseDepToSignal(SkyKey newReverseDep) { REVERSE_DEPS_UTIL.addReverseDeps(this, Collections.singleton(newReverseDep)); }
/** @see NodeEntry#removeReverseDep(SkyKey) */ void removeReverseDepToSignal(SkyKey reverseDep) { REVERSE_DEPS_UTIL.removeReverseDep(this, reverseDep); }
/** * Returns reverse deps to signal that have been registered this build. * * @see NodeEntry#getReverseDeps() */ ImmutableSet<SkyKey> getReverseDepsToSignal() { return REVERSE_DEPS_UTIL.getReverseDeps(this); }