summaryrefslogtreecommitdiffstats
path: root/org.aspectj.matcher
diff options
context:
space:
mode:
authoraclement <aclement>2011-04-27 20:40:59 +0000
committeraclement <aclement>2011-04-27 20:40:59 +0000
commitd1ad6dc8e8291d7f9c7277cad206a3e57eb5cd59 (patch)
treeee600c38aab2c739f3c847167a9450f421e51dcd /org.aspectj.matcher
parent2d9e07c042e5e64506fe85e38546b302bb14423e (diff)
downloadaspectj-d1ad6dc8e8291d7f9c7277cad206a3e57eb5cd59.tar.gz
aspectj-d1ad6dc8e8291d7f9c7277cad206a3e57eb5cd59.zip
refactor
Diffstat (limited to 'org.aspectj.matcher')
-rw-r--r--org.aspectj.matcher/src/org/aspectj/weaver/patterns/ExactTypePattern.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/org.aspectj.matcher/src/org/aspectj/weaver/patterns/ExactTypePattern.java b/org.aspectj.matcher/src/org/aspectj/weaver/patterns/ExactTypePattern.java
index 0e0997962..bf3ac9018 100644
--- a/org.aspectj.matcher/src/org/aspectj/weaver/patterns/ExactTypePattern.java
+++ b/org.aspectj.matcher/src/org/aspectj/weaver/patterns/ExactTypePattern.java
@@ -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));
}