From: aclement Date: Mon, 20 Oct 2008 23:35:24 +0000 (+0000) Subject: 246125: new abstraction of structure model without the weight of the asm module X-Git-Tag: V1_6_3rc1~159 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=9a159ec17b32405981587472a7965ba0fc5de581;p=aspectj.git 246125: new abstraction of structure model without the weight of the asm module --- diff --git a/asm/src/org/aspectj/asm/AsmManager.java b/asm/src/org/aspectj/asm/AsmManager.java index 2d2f82855..b67cfb4f4 100644 --- a/asm/src/org/aspectj/asm/AsmManager.java +++ b/asm/src/org/aspectj/asm/AsmManager.java @@ -40,6 +40,7 @@ import org.aspectj.asm.internal.AspectJElementHierarchy; import org.aspectj.asm.internal.JDTLikeHandleProvider; import org.aspectj.asm.internal.RelationshipMap; import org.aspectj.bridge.ISourceLocation; +import org.aspectj.util.IStructureModel; /** * The Abstract Structure Model (ASM) represents the containment hierarchy and crosscutting structure map for AspectJ programs. It @@ -49,7 +50,7 @@ import org.aspectj.bridge.ISourceLocation; * @author Mik Kersten * @author Andy Clement */ -public class AsmManager { +public class AsmManager implements IStructureModel { // For testing ONLY public static boolean recordingLastActiveStructureModel = true; @@ -119,7 +120,6 @@ public class AsmManager { return hierarchy; } - public IRelationshipMap getRelationshipMap() { return mapper; }