]> source.dussan.org Git - aspectj.git/commitdiff
246125: new abstraction of structure model without the weight of the asm module
authoraclement <aclement>
Mon, 20 Oct 2008 23:35:24 +0000 (23:35 +0000)
committeraclement <aclement>
Mon, 20 Oct 2008 23:35:24 +0000 (23:35 +0000)
asm/src/org/aspectj/asm/AsmManager.java

index 2d2f8285525f32a57e8a629a16538f066203f90e..b67cfb4f404ea37afaa3a2d0637f175a12b38207 100644 (file)
@@ -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;
        }