]> source.dussan.org Git - aspectj.git/commitdiff
Fix for "staticinitialization(@Blah *)"
authoraclement <aclement>
Fri, 14 Jan 2005 09:26:00 +0000 (09:26 +0000)
committeraclement <aclement>
Fri, 14 Jan 2005 09:26:00 +0000 (09:26 +0000)
weaver/src/org/aspectj/weaver/patterns/WildTypePattern.java

index 8e631c09b38c46db9fe741d5644ba561203d4fb5..ab1f5237cc703689ab96ce88a16acdcecfd03296 100644 (file)
@@ -114,6 +114,8 @@ public class WildTypePattern extends TypePattern {
                String targetTypeName = type.getName();
                
                //System.err.println("match: " + targetTypeName + ", " + knownMatches); //Arrays.asList(importedPrefixes));
+               // Ensure the annotation pattern is resolved
+               annotationPattern.resolve(type.getWorld());
                
                return matchesExactlyByName(targetTypeName) &&
                       annotationPattern.matches(type).alwaysTrue();