public boolean hasSource() { if (!sourcePaths.isEmpty()) { return true; } for (ReadableCopySpec spec : childSpecs) { if (spec.hasSource()) { return true; } } return false; }
public boolean hasSource() { return spec.hasSource(); }