protected boolean hasSources() { for (LanguageSourceSet sourceSet : getSource()) { if (!sourceSet.getSource().isEmpty()) { return true; } if (sourceSet.hasBuildDependencies()) { return true; } } return false; }