summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/core/builder/AjBuildConfig.java9
1 files changed, 9 insertions, 0 deletions
diff --git a/org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/core/builder/AjBuildConfig.java b/org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/core/builder/AjBuildConfig.java
index 089389c1b..8d1a3f9f3 100644
--- a/org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/core/builder/AjBuildConfig.java
+++ b/org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/core/builder/AjBuildConfig.java
@@ -308,5 +308,14 @@ public class AjBuildConfig {
public void setXnoInline(boolean xnoInline) {
XnoInline = xnoInline;
}
+
+ /** @return true if any config file, sourceroots, sourcefiles, or injars */
+ public boolean hasSources() {
+ return ((null != configFile)
+ || (0 < sourceRoots.size())
+ || (0 < files.size())
+ || (0 < inJars.size())
+ );
+ }
}