Esempio n. 1
0
 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);
 }
Esempio n. 2
0
 /**
  * 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));
 }
Esempio n. 3
0
 /** @see NodeEntry#removeReverseDep(SkyKey) */
 void removeReverseDepToSignal(SkyKey reverseDep) {
   REVERSE_DEPS_UTIL.removeReverseDep(this, reverseDep);
 }
Esempio n. 4
0
 /**
  * Returns reverse deps to signal that have been registered this build.
  *
  * @see NodeEntry#getReverseDeps()
  */
 ImmutableSet<SkyKey> getReverseDepsToSignal() {
   return REVERSE_DEPS_UTIL.getReverseDeps(this);
 }