boolean (BuildTarget<?> target) { // optimization, since we know here that all targets of types JavaModuleBuildTargetType are affected return allTargetsAffected.contains(target.getTargetType()) || scope.isAffected(target); }