From: aclement Date: Sat, 31 May 2008 22:29:37 +0000 (+0000) Subject: 234943: depend on the right interface X-Git-Tag: V1_6_1rc1~168 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=23cb4d65b0adce8f62d03a62d057d5921026c1b1;p=aspectj.git 234943: depend on the right interface --- diff --git a/weaver/src/org/aspectj/weaver/bcel/BcelWeaver.java b/weaver/src/org/aspectj/weaver/bcel/BcelWeaver.java index 4103d0231..10dbe02b7 100644 --- a/weaver/src/org/aspectj/weaver/bcel/BcelWeaver.java +++ b/weaver/src/org/aspectj/weaver/bcel/BcelWeaver.java @@ -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]) {