]> source.dussan.org Git - aspectj.git/commitdiff
refactor
authoraclement <aclement>
Wed, 27 Apr 2011 20:40:59 +0000 (20:40 +0000)
committeraclement <aclement>
Wed, 27 Apr 2011 20:40:59 +0000 (20:40 +0000)
org.aspectj.matcher/src/org/aspectj/weaver/patterns/ExactTypePattern.java

index 0e0997962a357d8c285e2471f5ae505434e4702f..bf3ac901830e46ec771b12d85c39df2cf2fb2936 100644 (file)
@@ -196,7 +196,8 @@ public class ExactTypePattern extends TypePattern {
                        return FuzzyBoolean.YES.and(annotationPattern.matches(matchType));
                }
 
-               if (type.resolve(matchType.getWorld()).isAssignableFrom(matchType)) {
+               ResolvedType resolvedType = type.resolve(matchType.getWorld());
+               if (resolvedType.isAssignableFrom(matchType)) {
                        return FuzzyBoolean.YES.and(annotationPattern.matches(matchType));
                }