]> source.dussan.org Git - aspectj.git/commitdiff
from branch: perclause support necessary for @AJ
authoraclement <aclement>
Tue, 19 Apr 2005 12:35:52 +0000 (12:35 +0000)
committeraclement <aclement>
Tue, 19 Apr 2005 12:35:52 +0000 (12:35 +0000)
weaver/src/org/aspectj/weaver/World.java

index a21414538a5542dfc6ffab6965b03cb006b66a0b..ca7e0a211a2d523897341c39f98816282a2f7c3e 100644 (file)
@@ -29,6 +29,7 @@ import org.aspectj.bridge.MessageUtil;
 import org.aspectj.bridge.IMessage.Kind;
 import org.aspectj.weaver.patterns.DeclarePrecedence;
 import org.aspectj.weaver.patterns.Pointcut;
+import org.aspectj.weaver.patterns.PerClause;
 
 public abstract class World implements Dump.INode {
        protected IMessageHandler messageHandler = IMessageHandler.SYSTEM_ERR;
@@ -284,6 +285,18 @@ public abstract class World implements Dump.INode {
                throw new RuntimeException("unimplemented");
        }
 
+    /**
+     * Register a munger for perclause @AJ aspect so that we add aspectOf(..) to them as needed
+     * @see org.aspectj.weaver.bcel.BcelWorld#makePerClauseAspect(ResolvedTypeX, org.aspectj.weaver.patterns.PerClause.Kind)
+     * 
+     * @param aspect
+     * @param kind
+     * @return
+     */
+    public ConcreteTypeMunger makePerClauseAspect(ResolvedTypeX aspect, PerClause.Kind kind) {
+        throw new RuntimeException("unimplemented");
+    }
+
     public abstract ConcreteTypeMunger concreteTypeMunger(ResolvedTypeMunger munger, ResolvedTypeX aspectType);
 
        /**