boolean (CompileContext context, BuildRootDescriptor rd) { if (context == null) { return false; } Set<? extends BuildTarget<?>> targets = CONTEXT_TARGETS_KEY.get(context, Collections.emptySet()); return targets.contains(rd.getTarget()); }