aboutsummaryrefslogtreecommitdiffstats
path: root/ajde.core
diff options
context:
space:
mode:
authoraclement <aclement>2010-10-26 19:25:16 +0000
committeraclement <aclement>2010-10-26 19:25:16 +0000
commit9ab4df758611740cb2f20467a80a6a66e7e5228a (patch)
treeb74afa93334162c6e5eecf24053902149cd2369b /ajde.core
parent3ab5a5a1dc6073e5d9451df87a8184b54bd79ca9 (diff)
downloadaspectj-9ab4df758611740cb2f20467a80a6a66e7e5228a.tar.gz
aspectj-9ab4df758611740cb2f20467a80a6a66e7e5228a.zip
328649: addDependencies for Compilation Participants
Diffstat (limited to 'ajde.core')
-rw-r--r--ajde.core/src/org/aspectj/ajde/core/AjCompiler.java7
1 files changed, 4 insertions, 3 deletions
diff --git a/ajde.core/src/org/aspectj/ajde/core/AjCompiler.java b/ajde.core/src/org/aspectj/ajde/core/AjCompiler.java
index 13cda32f3..d6231a05f 100644
--- a/ajde.core/src/org/aspectj/ajde/core/AjCompiler.java
+++ b/ajde.core/src/org/aspectj/ajde/core/AjCompiler.java
@@ -10,13 +10,14 @@
*******************************************************************/
package org.aspectj.ajde.core;
+import java.io.File;
+
import org.aspectj.ajde.core.internal.AjdeCoreBuildManager;
import org.aspectj.ajdt.internal.core.builder.AjState;
import org.aspectj.ajdt.internal.core.builder.IncrementalStateManager;
import org.aspectj.asm.AsmManager;
import org.aspectj.bridge.IMessage;
import org.aspectj.bridge.Message;
-import org.aspectj.org.eclipse.jdt.internal.compiler.CompilationResult;
import org.aspectj.org.eclipse.jdt.internal.compiler.impl.CompilerOptions;
/**
@@ -110,9 +111,9 @@ public class AjCompiler {
buildManager.cleanupEnvironment();
}
- public void addDependencies(CompilationResult result, String[] typeNameDependencies) {
+ public boolean addDependencies(File file, String[] typeNameDependencies) {
AjState state = IncrementalStateManager.retrieveStateFor(compilerId);
- state.recordDependencies(result, typeNameDependencies);
+ return state.recordDependencies(file, typeNameDependencies);
}
/**