diff options
author | wisberg <wisberg> | 2003-04-29 00:25:15 +0000 |
---|---|---|
committer | wisberg <wisberg> | 2003-04-29 00:25:15 +0000 |
commit | b20deaa24367bed3d3a245455be5cb039e425594 (patch) | |
tree | fb0f8909162637ad3cb35d14ddffa3aba981dcfa /org.aspectj.ajdt.core/src | |
parent | bddbc72c4d68028ace7d643ef4f6d6881f1f190f (diff) | |
download | aspectj-b20deaa24367bed3d3a245455be5cb039e425594.tar.gz aspectj-b20deaa24367bed3d3a245455be5cb039e425594.zip |
boolean hasSources() to validate after parsing
Diffstat (limited to 'org.aspectj.ajdt.core/src')
-rw-r--r-- | org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/core/builder/AjBuildConfig.java | 9 |
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()) + ); + } } |