diff options
Diffstat (limited to 'weaver')
-rw-r--r-- | weaver/src/org/aspectj/weaver/AsmRelationshipProvider.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/weaver/src/org/aspectj/weaver/AsmRelationshipProvider.java b/weaver/src/org/aspectj/weaver/AsmRelationshipProvider.java index b6ce56445..d2c837c65 100644 --- a/weaver/src/org/aspectj/weaver/AsmRelationshipProvider.java +++ b/weaver/src/org/aspectj/weaver/AsmRelationshipProvider.java @@ -31,7 +31,7 @@ public class AsmRelationshipProvider { public static final String MATCHES_DECLARE = "matches declare"; public static void checkerMunger(IHierarchy model, Shadow shadow, Checker checker) { - if (shadow.getSourceLocation() == null || checker == null) return; + if (shadow.getSourceLocation() == null || checker.getSourceLocation() == null) return; String sourceHandle = ProgramElement.createHandleIdentifier( checker.getSourceLocation().getSourceFile(), |