]> source.dussan.org Git - aspectj.git/commitdiff
234943: depend on the right interface
authoraclement <aclement>
Sat, 31 May 2008 22:29:37 +0000 (22:29 +0000)
committeraclement <aclement>
Sat, 31 May 2008 22:29:37 +0000 (22:29 +0000)
weaver/src/org/aspectj/weaver/bcel/BcelWeaver.java

index 4103d0231b884c5f080592ea5d23d5146bec2b2d..10dbe02b75f8ef5027e721a7859808af6219b281 100644 (file)
@@ -80,7 +80,7 @@ import org.aspectj.weaver.WeaverMessages;
 import org.aspectj.weaver.WeaverStateInfo;
 import org.aspectj.weaver.World;
 import org.aspectj.weaver.patterns.AndPointcut;
-import org.aspectj.weaver.patterns.BindingAnnotationTypePattern;
+import org.aspectj.weaver.patterns.BindingPattern;
 import org.aspectj.weaver.patterns.BindingTypePattern;
 import org.aspectj.weaver.patterns.ConcreteCflowPointcut;
 import org.aspectj.weaver.patterns.DeclareAnnotation;
@@ -756,9 +756,9 @@ public class BcelWeaver implements IWeaver {
                                        foundFormals[index] = true;
                                }
                        }
-               List/*BindingAnnotationTypePattern*/ baps = ((NameBindingPointcut)pc).getBindingAnnotationTypePatterns();
+               List/* BindingPattern */baps = ((NameBindingPointcut) pc).getBindingAnnotationTypePatterns();
                for (Iterator iter = baps.iterator(); iter.hasNext();) {
-                               BindingAnnotationTypePattern bap = (BindingAnnotationTypePattern) iter.next();
+                   BindingPattern bap = (BindingPattern) iter.next();
                                int index = bap.getFormalIndex();
                                bindings[index] = pc;
                                if (foundFormals[index]) {