From a0f5ba865e9eb1affcd83d04bb36fc6a2e066cad Mon Sep 17 00:00:00 2001 From: aclement Date: Mon, 25 Oct 2010 20:04:54 +0000 Subject: [PATCH] 328649 --- ajde.core/src/org/aspectj/ajde/core/AjCompiler.java | 7 +++++++ 1 file changed, 7 insertions(+) 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. */ -- 2.39.5