summaryrefslogtreecommitdiffstats
path: root/ajde.core
diff options
context:
space:
mode:
authoraclement <aclement>2010-10-25 20:04:54 +0000
committeraclement <aclement>2010-10-25 20:04:54 +0000
commita0f5ba865e9eb1affcd83d04bb36fc6a2e066cad (patch)
tree8dc21a2b438f45533316403e526d21f43becb100 /ajde.core
parente56f7c4fb6847e624dc2dc63b3e3c6bedaf3b7be (diff)
downloadaspectj-a0f5ba865e9eb1affcd83d04bb36fc6a2e066cad.tar.gz
aspectj-a0f5ba865e9eb1affcd83d04bb36fc6a2e066cad.zip
328649
Diffstat (limited to 'ajde.core')
-rw-r--r--ajde.core/src/org/aspectj/ajde/core/AjCompiler.java7
1 files changed, 7 insertions, 0 deletions
diff --git a/ajde.core/src/org/aspectj/ajde/core/AjCompiler.java b/ajde.core/src/org/aspectj/ajde/core/AjCompiler.java
index a27f48e43..13cda32f3 100644
--- a/ajde.core/src/org/aspectj/ajde/core/AjCompiler.java
+++ b/ajde.core/src/org/aspectj/ajde/core/AjCompiler.java
@@ -11,10 +11,12 @@
package org.aspectj.ajde.core;
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;
/**
@@ -108,6 +110,11 @@ public class AjCompiler {
buildManager.cleanupEnvironment();
}
+ public void addDependencies(CompilationResult result, String[] typeNameDependencies) {
+ AjState state = IncrementalStateManager.retrieveStateFor(compilerId);
+ state.recordDependencies(result, typeNameDependencies);
+ }
+
/**
* @return true if the underlying version of the compiler is compatible with Java 6, returns false otherwise.
*/